Astroinformatics / Bayesian Statistics & Posterior Inference

Gibbs Sampling: One Conditional at a Time

One conditional at a time. A joint distribution emerges from simple, one-coordinate draws.

Read the lecture →
The principle Draw one parameter from its full conditional, holding the others fixed. Use its new value immediately in the next update.
Paused

Joint posterior

Horizontal: update 1Vertical: update 2Retained sweepsGrey: burn-in

Full conditional

This is a distribution with the other coordinate fixed, not a marginal.

ParameterBeforeAfterStatus

Contours show relative joint density, not credible regions. Open circle: previous state. Filled circle: current state. Cross: initial state. Plot windows are finite.