For a bivariate Gaussian with zero means, unit variances and correlation ρ, derive the Gibbs conditionals. Show that the sequence of x1 values from a Gibbs sampler is an AR(1) process with coefficient ρ2. How many Gibbs steps per effectively independent sample are needed for ρ=0.9?

Probabilistic models, MCMC
Level L3 Intermediate. Length Long. Nature Mat Mathematical.

What's being asked

Whether you can derive Gaussian conditionals, see Gibbs sampling as a linear stochastic recursion, and quantify slow mixing under strong correlation.

Key idea

Conditionals are x1∣x2∼N(ρx2, 1−ρ2) and x2∣x1∼N(ρx1, 1−ρ2). Combining one full sweep gives x1′=ρ2x1+noise.

Steps

  1. From the conditioning formula, x1∣x2 has mean ρx2 and variance 1−ρ2. By symmetry the same holds for x2∣x1.
  2. One sweep: draw x2=ρx1+1−ρ2 ε1, then draw x1′=ρx2+1−ρ2 ε2. Substituting, x1′=ρ2x1+ρ1−ρ2 ε1+1−ρ2 ε2.
  3. The noise variance is ρ2(1−ρ2)+(1−ρ2)=(1−ρ2)(1+ρ2)=1−ρ4. So x1′=ρ2x1+N(0,1−ρ4), an AR(1) process. Its stationary variance is (1−ρ4)/(1−ρ4)=1, as it should be.
  4. The autocorrelation at lag k is ρ2k. The integrated autocorrelation time is τ=(1+ρ2)/(1−ρ2).
  5. For ρ=0.9: ρ2=0.81 and τ=1.81/0.19≈9.5. So about 9–10 Gibbs sweeps give one effectively independent sample. As ρ→1, τ→∞.
  6. The reason is that Gibbs moves parallel to the axes, while the density is a thin ridge along the diagonal, so each step is tiny.

Common mistakes

How long your answer should be

A page. About 6 minutes.

Last checked on 4 December 2026.

Read this

Previous in Probabilistic models: A target distribution on three states is π=(0.5,0.3,0.2). A Metropolis sampler proposes one of the two other states with probability 12 each, and accepts with probability min⁡(1,πj/πi). What is the transition matrix, and how do you check that π is stationary and that detailed balance holds?
Next in Probabilistic models: In collapsed Gibbs sampling for LDA, the topic zi of a word is resampled from p(zi=k∣z−i,w)∝(ndk−i+α) nkw−i+βnk−i+Vβ. Where does each factor come from? What is its value for K=2, V=3, α=0.1, β=0.5, with nd⋅−i=(3,1), n⋅w−i=(4,0) and n⋅−i=(10,6)?