For the Metropolis–Hastings algorithm, choose a proposal transition and initialize at a state with . From current , propose and accept it with probability
Otherwise stay at . The accepted off-diagonal transition satisfies detailed balance, since is symmetric in . Thus is stationary. For convergence from arbitrary starting states in the support, choose the proposal so the resulting chain is irreducible and aperiodic. Only ratios of target probabilities are needed, so an unknown normalizing constant cancels.
Start at any integer , for example two. Propose or with probability each; if the proposal is one, reject it immediately. Between distinct valid neighboring states the proposal is symmetric. The Metropolis–Hastings acceptance probability for an upward proposal is
For a downward proposal from , it is
These are exactly the ratios of the supplied negative binomial distribution probabilities; the factor cancels. The rejection at the boundary supplies a self-loop at two. All neighboring positive states communicate, so the chain is irreducible and aperiodic. Detailed balance gives the desired stationary law. Rejecting the invalid move, rather than forcing an upward move at two, preserves the proposal symmetry used in these ratios.

Articles by others on the same topic (0)

There are currently no matching articles.