MCMC Convergence Diagnostics
MCMC convergence diagnostics check whether posterior draws from several Markov chains have mixed, using rank-normalized split R-hat, bulk and tail effective sample sizes, Monte Carlo standard errors and Geweke tests.
MCMC 수렴 진단은 여러 마르코프 사슬의 사후 표본이 잘 섞였는지 순위 정규화 분할 R-hat, bulk·tail 유효표본수, 몬테카를로 표준오차, Geweke 검정으로 확인하는 방법입니다.
Have my MCMC chains converged, and are there enough effective draws to trust the posterior summaries?
제 MCMC 사슬이 수렴했는지, 사후 요약을 믿을 만큼 유효 표본이 충분한지 알고 싶어요.
Rank-normalized split R-hat compares within-chain and between-chain variance after splitting each chain in half and replacing draws by normal scores of their ranks, and values above 1.01 signal non-convergence. Bulk and tail effective sample sizes estimate how many independent draws the autocorrelated chains are worth for the centre and the 5% and 95% quantiles of the posterior.
When to use MCMC Convergence Diagnostics
- You ran a Bayesian model in any sampler and exported the draws with a chain identifier
- You must report R-hat and effective sample size in a paper
- You suspect slow mixing, heavy tails or a chain stuck in a different mode
When to use something else
- You want to fit the Bayesian model itself: use Bayesian Linear Regression or a Bayesian GLM method
- Your draws are independent Monte Carlo samples: report a plain standard error instead
Assumptions and requirements
- Rows within each chain are in sampling order
- Warmup draws are removed or set with the warmup option
- Several chains with dispersed starting values are available for R-hat to detect disagreement
- At least 20 post-warmup draws per chain and at most 60 parameters per run
What the analysis reports
- Rank-normalized split R-hat (maximum of bulk and folded versions) and the classic Gelman-Rubin R-hat
- Bulk and tail effective sample sizes
- Monte Carlo standard error of the posterior mean
- Geweke z-scores comparing the first 10% and last 50% of each chain
- Trace plot of the first parameter
How to report it
Across [k] parameters from [m] chains of [n] post-warmup draws, the maximum rank-normalized split R-hat was [value], the minimum bulk ESS was [value] and the minimum tail ESS was [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run MCMC Convergence Diagnostics on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items)
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.