You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to sample a beta distribution with a = n + 44 and b = s + 102, where n and s are constants, scale constant C = 0.01 and starting value p = 0.2 for 1000 iterations.
I'm trying to sample a beta distribution with a = n + 44 and b = s + 102, where n and s are constants, scale constant C = 0.01 and starting value p = 0.2 for 1000 iterations.
My beta looks like
g(p) = Cp^(a-1)*(1-p)^(b-1).
log(g) = log(C) + (a-1)log(p) + (b-1)log(1-p)
d(log(g)) = 0 + (a-1)/p - (b-1)/(1-p)
The text was updated successfully, but these errors were encountered: