= Effective sample size of a Markov chain
{title2=$N_{\mathrm{eff}}$}
For a stationary <Markov chain> observable $h$ with positive <variance> $v$ and absolutely summable <autocorrelation function> $\rho(k)$,
$$
\operatorname{Var}(\overline h_N)=\frac vN\left[1+2\sum_{k=1}^{N-1}\left(1-\frac kN\right)\rho(k)\right].
$$
If the limiting <integrated autocorrelation time> $\tau_{\mathrm{int}}>0$, the leading <variance> is $v\tau_{\mathrm{int}}/N$. Matching this to the sample-mean <variance> $v/N_{\mathrm{eff}}$ of independent observations defines $N_{\mathrm{eff}}\approx N/\tau_{\mathrm{int}}$.
This is an observable-specific variance comparison, not a literal count of independent retained states. Positive serial dependence reduces effective sample size; negative dependence can make it exceed $N$. For a stationary <AR(1)> observable with coefficient $-1/2$, $\tau_{\mathrm{int}}=1/3$ and the asymptotic effective sample size is $3N$. Estimated effective sample size also requires reliable estimation of the long-run covariance; it does not prove that all modes have been explored.
Back to article page