Standard inference assumes independent observations. For \(n\) i.i.d. draws:
\[\text{SE}(\bar{X}) = \frac{\sigma}{\sqrt{n}}\]
Time series data violates this. When observations are positively autocorrelated, each new value carries less new information than an independent draw would.
Treating \(n\) autocorrelated observations as \(n\) independent ones leads to:
Standard errors that are too small
Confidence intervals that are too narrow
\(p\)-values that are too optimistic
Intuition
Consider a slowly meandering series — say, daily average temperature.
High autocorrelation
If \(\rho_1 = 0.95\), tomorrow is nearly predictable from today.
Collecting 365 observations gives far less than 365 “bits” of information.
Low autocorrelation
If \(\rho_1 \approx 0\), each observation is essentially fresh. \(n_\text{eff} \approx n\).
The effective sample size (ESS) quantifies how many independent observations your autocorrelated series is actually worth.
Finite-Sample Correction
The exact variance of \(\bar{X}\) for a stationary series of length \(n\) is:
The weights \(\bigl(1 - k/n\bigr)\) are Bartlett weights — they arise directly from the overlapping structure of the sample mean and shrink toward zero as lag \(k\) approaches \(n\).
Setting \(\text{Var}(\bar{X}) = \sigma^2 / n_{\text{eff}}\) gives the finite-sample ESS:
This is exact under stationarity — no approximation yet.
Asymptotic Correction
As \(n \to \infty\), the Bartlett weights all \(\to 1\) and the upper limit of the sum extends to \(\infty\), giving the integrated autocorrelation time:
Summability condition. This limit exists and is finite if and only if \(\sum_{k=1}^{\infty}|\rho_k| < \infty\) — satisfied by ARMA processes and short-memory series generally, but not by long-memory (fractionally integrated) processes, where \(\tau_{\text{int}} = \infty\).
This is the version most software implements and most textbooks quote.
How the Two Relate
For \(\phi > 0\) the Bartlett weights downweight the higher lags, so:
The correction term \(\frac{2\phi(1-\phi^n)}{n(1-\phi)^2}\) is the gap; it is \(O(1/n)\) for fixed \(\phi\) and \(O\!\bigl(n^{-1}(1-\phi)^{-2}\bigr)\) near the unit root — largest precisely when \(\phi \approx 1\) and \(n\) is small.
Comparing the Two: AR(1) Table
\(n_{\text{eff}}^{(n)}\) vs. \(n_{\text{eff}}^{(\infty)}\) for selected \(\phi\) and \(n\)
\(\phi\)
\(n = 30\)
\(n = 200\)
\(n = 1000\)
finite
asymp
finite
asymp
finite
asymp
0.5
10.5
10.0
67.1
66.7
333.8
333.3
0.8
3.9
3.3
22.7
22.2
111.6
111.1
0.9
2.3
1.6
11.0
10.5
53.1
52.6
0.95
1.6
0.8
5.7
5.1
26.2
25.6
Note
The two estimates are close in most practical settings — the gap is only appreciable when \(n\) is small and\(\phi\) is near 1. The asymptotic formula consistently understates \(n_{\text{eff}}\) (is more conservative). The absolute values are genuinely small: \(\phi = 0.9\) with \(n = 200\) really does yield only ~10–11 effective observations.
AR(1) Closed Forms
For \(X_t = \phi X_{t-1} + \varepsilon_t\), \(\rho_k = \phi^k\):
A useful rule of thumb: the two agree to within 5 % when \(n \gtrsim 10\,/\,(1-\phi)\), i.e. when the series is roughly ten times longer than the process’s characteristic decorrelation length. Below that threshold, prefer the finite-sample formula.
Estimation in Practice
Population autocorrelations \(\rho_k\) are unknown; substitute \(\hat\rho_k\).
Finite-sample plug-in (preferred for small \(n\)):
A common mistake: summing Bartlett weights over all\(n-1\) lags without truncation is inconsistent — the accumulated noise in the sample ACF dominates and can produce ESS \(> n\). Always truncate at a principled bandwidth \(K\), or estimate \(\phi\) and use the closed form as above.
Corrected Inference
Once \(n_{\text{eff}}\) is in hand, apply it wherever \(n\) normally appears:
Quantity
Naive (wrong)
Corrected
Standard error of mean
\(\hat\sigma / \sqrt{n}\)
\(\hat\sigma / \sqrt{n_{\text{eff}}}\)
95 % CI half-width
\(1.96\,\hat\sigma / \sqrt{n}\)
\(1.96\,\hat\sigma / \sqrt{n_{\text{eff}}}\)
\(t\)-statistic d.f.
\(n - 1\)
\(n_{\text{eff}} - 1\)
Required sample size
\(n^*\)
\(n^* \cdot \tau\)
Use \(n_{\text{eff}}^{(n)}\) (finite-sample) when \(n\) is small or \(\phi\) is large; \(n_{\text{eff}}^{(\infty)}\) (asymptotic) is a safe default for large \(n\) and is what most software returns.
Key Takeaways
Two distinct corrections exist. The finite-sample formula uses Bartlett weights \((1-k/n)\); the asymptotic formula takes \(n \to \infty\) and drops them. They are not the same thing.
The asymptotic formula is conservative. It underestimates \(n_{\text{eff}}\) relative to the exact formula, especially at high persistence or small \(n\).
The gap is \(O(1/n)\) but can be large when \(\phi \approx 1\), because the correction term scales as \((1-\phi)^{-2}\).
Rule of thumb: use the finite-sample correction when \(n \lesssim 10/(1-\phi)\); otherwise the asymptotic version suffices.
Both versions use \(n_{\text{eff}}\) for all downstream inference — SEs, CIs, \(t\)-tests, power calculations.