Gibbs Sampler
Algorithm Gibbs Sampler
Generates a sample from
- Arbitrarily choose
. - For
: - Draw
- Draw
- Draw
- Produces
In general -dimensional case, use the most up-to-date values of each parameter at each stage. Gibbs sampler works in an irreducible and aperiodic Markov chain that converges to a unique limiting distribution. Yet there would be more than one possible limiting distribution in general.
Thrm Hammersley-Clifford Theorem
The following positivity condition is sufficient for the univariate conditionals to uniquely determine the joint distribution:
Prop The rate of convergence of Gibbs sampler depends on the degree of dependence between model parameters.
Assessing Convergence
Algorithm Burn In
If convergence is slow, early chain values will not represent 
Algorithm Multiple Chains
Start multiple chains at over dispersed starting points, and after convergence chains will be indistinguishable.

Convergence Diagnostics
Fact There are many convergence diagnostics, operating the principal that if chains have converged, then diagnostic tests will be passed. However, the reverse is not true. So are necessary, but not sufficient indicators of sampler convergence.
Def Gelman-Rubin Ratio
Denote
Thrm Gelman-Rubin Diagnostic
If chains have converged, then the Gelman-Rubin ratio
Blocking
Fact If parameters 