Effective Sample Size With Autocorrelated Observations
When consecutive observations are correlated, a series of N data points carries less independent information than N. This page gives the formula for how many "effective" independent observations you actually have.
Prerequisites: Autocorrelation and Serial Correlation
Every standard error formula you meet in an introductory statistics course divides by and quietly assumes the observations are independent. Daily P&L, daily prices, anything measured close together in time rarely obeys that assumption — today's number is a partial echo of yesterday's. When that happens, overstates how much independent evidence you actually have, and every confidence interval built on it is too narrow.
An analogy
Ask 100 strangers on a street their opinion and you get something close to 100 independent data points. Ask the same question to 100 members of one large family and you get something much closer to one opinion, echoed with small variations, because family members influence each other. The headcount is identical; the information is not. Autocorrelated time series are the second case: each new observation is partly an echo of the ones just before it, so the run of numbers behaves like a smaller number of genuinely fresh observations.
The formula
For a series with correlation only between neighbours (an AR(1) process with correlation between one observation and the next), the effective sample size has a clean closed form:
In words: start with the raw count and multiply by a shrinkage factor that depends only on how strongly each observation echoes the last one. At the factor is 1 and nothing is lost. As — each observation almost identical to its predecessor — the factor collapses toward zero, because a highly persistent series of any length is carrying only a little genuinely new information. For dependence that stretches across more than one lag, the general version sums over all the autocorrelations :
The AR(1) formula above is the special case where only is nonzero. This is the same quantity that a Newey-West HAC Standard Errors correction is implicitly restoring: instead of shrinking directly, Newey-West widens the standard error by the equivalent amount.
Effective sample size is the number of independent observations a correlated series is worth. It can be a small fraction of the raw count, and it never exceeds it.
Worked example
A strategy's daily P&L over one trading year, days, has lag-one autocorrelation — plausible for a book with some overnight carry-over in its positions or marks.
A standard error computed as if would be too small by a factor of — every -statistic on that P&L series is overstated by roughly 36%. Push the autocorrelation to , plausible for smoothed or stale marks in an illiquid book, and — barely a fifth of the raw day count, and the naive -statistic is inflated by -fold.
Why weekly resampling isn't a free fix
A tempting shortcut is to resample the series to a lower frequency — weekly instead of daily — on the theory that widely spaced observations must be less correlated. That helps, but it isn't free: you also discard information every time you resample. Going from 252 daily points to 52 weekly points at trades a raw count of 252 (worth 135.7 effective observations, computed above) for a raw count of 52 at whatever residual weekly autocorrelation remains, typically well under 52 once the weekly series' own smaller correlation is applied. In this example resampling roughly breaks even at best and can leave you worse off; the honest fix is correcting the standard error at the native frequency, not changing the frequency and hoping the problem disappears.
In practice
- This is why smoothed or stale-marked return series look deceptively good. Illiquid credit, private-market, or lightly-traded book marks that only partially update each day inherit high autocorrelation, which mechanically inflates -blind Sharpe ratios and -statistics.
- Check autocorrelation before trusting any daily-frequency significance test. A quick lag-1 autocorrelation of the return series tells you roughly how much to discount the raw day count.
- The same shrinkage, viewed cross-sectionally rather than across time, is exactly what Estimating Breadth With Correlated Bets computes — correlated bets and correlated time periods both waste headcount in the same mathematical way.
- Overlapping-window regressions are a manufactured, extreme case of this problem; see Overlapping Returns and the Hansen-Hodrick Correction for the version where you built the correlation in yourself by sampling overlapping windows.
Do not apply the AR(1) formula to a series you have not checked for autocorrelation first, and do not assume from one asset class transfers to another. Daily equity index returns are close to ; daily hedge-fund or private-equity marks are routinely . Using the wrong produces a false sense of precision in either direction.
Related concepts
Practice in interviews
Further reading
- Kish (1965), Survey Sampling (design effect)
- Newey & West (1987), A Simple, Positive Semi-Definite Heteroskedasticity and Autocorrelation Consistent Covariance Matrix