mhstep {betel}R Documentation

mhstep calculates the MH alpha

Description

mhstep calculates the MH alpha

Usage

mhstep(
  thetastar = thetastar,
  theta0 = theta0,
  pn = pn,
  pd = pd,
  qn = qn,
  qd = qd
)

Arguments

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

Author(s)

Siddhartha Chib


[Package betel version 1.0 Index]