Documentation

19.9 Mixing, autocorrelation, and difficult posteriors

Mixing describes how well chains explore their conditional target. Consecutive random-walk samples are correlated; many iterations can contain far less independent information. Multimodal, funnel-shaped, bounded or strongly correlated posteriors are especially difficult.

Acceptance is only one diagnostic. Plot traces, compare chains and seeds, inspect movement relative to OMEGA, and examine autocorrelation/effective information where available. Subject-level difficulties can be hidden in population averages.

Sparse subjects can mix broadly near the prior while rich subjects have narrow posteriors requiring small scales. One global interpretation of rates is therefore inadequate. Model reparameterization or better scaling may help more than simply increasing iterations.

Practical interpretation

Rank subjects by mode iterations, importance ESS and chain movement, then inspect extremes. A small set of problematic subjects may reveal dose-history errors, outlying profiles, likelihood underflow or genuine multimodality. Removing them without scientific/data justification changes the estimand. Instead, document the cause, test robust model/data corrections, and keep a sensitivity analysis.

Repeated seeds should reproduce population conclusions within Monte Carlo tolerance even though paths differ. Large seed-to-seed shifts signal inadequate mixing or accumulation.

For rare multimodality, compare how often chains cross modes and whether global prior proposals enable transitions. A pooled trace that averages chains in different modes can look stable while no individual chain mixes; inspect chains separately.

Simulation-based calibration and posterior predictive behavior can expose persistent conditional sampling failures that acceptance summaries miss.

Test them routinely.

Common mistakes

Do not call a stationary-looking short trace mixed, thin chains automatically, or discard difficult subjects. Thinning reduces storage but does not create information.

Checklist

  • Inspect representative and worst subject traces.
  • Compare independent seeds/chains.
  • Look beyond acceptance rate.
  • Diagnose multimodality/correlation.
  • Extend runs only after identifying the problem.

Further reading

Continue to sufficient statistics and stationarity test.