mhstep {betel} | R Documentation |
mhstep calculates the MH alpha
mhstep( thetastar = thetastar, theta0 = theta0, pn = pn, pd = pd, qn = qn, qd = qd )
thetastar |
is the proposal value |
theta0 |
is the current value |
pn |
is the lpdf in the numerator of alpha |
pd |
is lpdf denominator of alpha |
qn |
is the numerator of q |
qd |
is the denominator of q |
Siddhartha Chib