update_theta_gamma1: Update a parameter $theta$ based on a gamma distribution
Description
Update a parameter $theta$ based on a gamma distributionUsage
update_theta_gamma1(s, r, a, b, ...)
Arguments
a
shape parameter of the gamma prior for $theta$
b
rate parameter of the gamma prior for $theta$
...
extra arguments (not used)
Value
- updated parameter $theta$