MCMC Chain Autocorrelation Diagnostic
This diagnostic measures how strongly successive MCMC draws depend on each other. It reports the autocorrelation at chosen lags, the integrated autocorrelation time, which says how many draws are worth one independent draw, and the resulting effective sample size.
이 진단은 연속된 MCMC 추출값이 서로 얼마나 강하게 의존하는지 잽니다. 정한 시차의 자기상관, 독립 추출 하나에 해당하는 추출 수를 뜻하는 적분 자기상관시간, 그리고 이로부터 얻는 유효표본크기를 보고합니다.
How slowly is my sampler mixing, how many effectively independent draws do I have, and at what lag do draws become nearly uncorrelated?
표집기가 얼마나 느리게 섞이는지, 실질적으로 독립인 추출이 몇 개인지, 몇 시차부터 추출값이 거의 무상관인지 알고 싶습니다.
For each parameter you get autocorrelations at the requested lags averaged over chains, the integrated autocorrelation time by two standard estimators, the effective sample size and the first lag at which the autocorrelation falls below a threshold.
When to use MCMC Chain Autocorrelation Diagnostic
- You want to judge mixing of saved MCMC draws from any software
- You need an effective sample size with a transparent estimator
- You are deciding on chain length or thinning
When to use something else
- You need R-hat across chains and tail ESS : use MCMC Convergence Diagnostics
- You want a stationarity test and burn-in suggestion : use Heidelberger-Welch Stationarity and Half-Width Diagnostic
- The series is ordinary time-series data rather than MCMC output : use Autocorrelation Analysis (ACF, PACF, Ljung-Box)
Assumptions and requirements
- Rows are draws in sampling order
- Chains are past warm-up
- Chains are long relative to the autocorrelation time
What the analysis reports
- Autocorrelation at chosen lags
- Integrated autocorrelation time (Geyer and Sokal)
- Effective sample size
- Suggested thinning lag
How to report it
The lag-1 autocorrelation was at most [value]; the least efficient parameter had an integrated autocorrelation time of [value] and an effective sample size of [value].
Related methods
- MCMC Convergence Diagnostics
- Heidelberger-Welch Stationarity and Half-Width Diagnostic
- Autocorrelation Analysis (ACF, PACF, Ljung-Box)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-9.
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-9).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run MCMC Chain Autocorrelation Diagnostic on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items)
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.