update_theta_beta: Update a parameter $theta$ based on a beta distribution
Description
Update a parameter $theta$ based on a beta distributionUsage
update_theta_beta(x, n, a, b)
Arguments
a
shape1 parameter of the beta prior for $theta$
b
shape2 parameter of the beta prior for $theta$
Value
- updated parameter $theta$