Astroinformatics / Bayesian Statistics & Posterior Inference

Metropolis-Hastings MCMC

Propose, compare, accept or stay. A good acceptance rate is not the same as good exploration.

Read the lecture →
The principleProposals are not samples. Accept with the Hastings probability; otherwise record the previous state again. Small moves can be accepted often while exploring very slowly.
Paused

Full joint posterior and chain history

Posterior densityAccepted stateAttempted proposalRejected proposalBurn-in

Cross: proposed point. Open circle: previous state. Filled circle: retained state. Dashed orange path shows the attempted move, including a return on rejection. + marks the data-generating parameters, not the posterior mean. Dense clouds draw at most 1,500 states per chain; diagnostics use every retained state.

The acceptance decision

QuantityValue