Autocorrelation
- Category
- Quantitative Finance
- Level
- Expert
Simple definition
How much a series resembles its own recent past. Positive means moves tend to continue, negative means they tend to alternate, near zero means today tells you little about tomorrow.
Professional definition
The correlation of a series with a lagged copy of itself, reported as a function of the lag. On return series it is usually small and statistically fragile; on squared or absolute returns it is large and persistent, which is the signature of volatility clustering.
Technical definition
For a weakly stationary series, the autocorrelation at lag h is the autocovariance at that lag divided by the variance, so it is bounded between minus one and one and equals one at lag zero. Sample estimates are compared with the Bartlett band of plus or minus 1.96 over the square root of n under a white-noise null. Testing many lags without correcting for multiplicity manufactures apparent structure.
Academic definition
The normalised autocovariance function of a stationary stochastic process, expressing linear dependence between observations separated by a fixed lag.
Mechanism
Dependence between neighbouring observations breaks the independence that ordinary estimators assume. Positive autocorrelation makes each new observation partly redundant, so the effective sample is smaller than n and standard errors computed with root-n are too small. That is why an autocorrelated backtest reports a t-statistic larger than the data deserve.
In practice
- Who uses it
- Time-series modellers choosing a lag structure, risk teams correcting standard errors, and strategy developers checking whether returns are independent.
- Why it matters
- It is the direct test of whether a series carries exploitable memory, and the correction factor for every significance test run on that series.
- Limitations
- It measures linear dependence only. A series with zero autocorrelation can still be strongly dependent, which is exactly the case for financial returns.
Common mistakes
- Scanning forty lags and reporting the one that breached the band.
- Concluding independence from a zero first-lag coefficient.
- Ignoring that overlapping windows create autocorrelation by construction.
Examples
Take a hypothetical sample of 500 daily returns. Lag-one autocorrelation of the returns is -0.04, inside the Bartlett band of plus or minus 0.088, so indistinguishable from zero. Lag-one autocorrelation of squared returns is 0.21, far outside it.
- n = 500 observations
- illustrative figures, not a market measurement
- white-noise null hypothesis
- Bartlett band = 1.96 / sqrt(500) = 1.96 / 22.36 = 0.0877
- returns: |-0.04| < 0.0877, so inside the band
- squared returns: |0.21| > 0.0877, so outside the band
This is the standard empirical picture behind GARCH modelling: the level of returns carries little linear memory while their magnitude carries a great deal.
The six-period series +1, -1, +1, -1, +1, -1 has lag-one autocorrelation -0.833 and lag-two +0.667. But with only six observations the Bartlett band is plus or minus 0.80, so even -0.833 is barely outside it.
- series = [1, -1, 1, -1, 1, -1]
- n = 6
- sample mean = 0
- denominator: sum of squared deviations = 6
- lag 1 numerator = (-1)(1)+(1)(-1)+(-1)(1)+(1)(-1)+(-1)(1) = -5, so rho(1) = -5/6 = -0.8333
- lag 2 numerator = (1)(1)+(-1)(-1)+(1)(1)+(-1)(-1) = 4, so rho(2) = 4/6 = 0.6667
- Bartlett band = 1.96 / sqrt(6) = 0.800
Perfect alternation produces the largest negative coefficient a short series can show, and it is still only marginally significant. Short samples cannot establish autocorrelation.
Mathematical foundation
Variables
| \rho(h) | Autocorrelation at lag h, between -1 and 1 | ratio (dimensionless) |
| \gamma(h) | Sample autocovariance at lag h | squared units of r |
| r_t | Observation at time t, usually a return | % or ratio |
| \bar{r} | Sample mean of the series | % or ratio |
| h | Lag in periods | periods |
Procedure
Demean the series once, using the full-sample mean for every lag. For each lag, multiply each observation by the one h periods earlier, sum those products, and divide by the total sum of squared deviations. Plot the result against the lag and overlay the Bartlett band of plus or minus 1.96 over root n.
Worked example
- series = [1, -1, 1, -1, 1, -1]
- n = 6
- mean = 0 so deviations equal the values
- gamma(0) scaled: sum of squares = 1+1+1+1+1+1 = 6
- lag 1: sum of r_t * r_t-1 over t = 2..6 = -1-1-1-1-1 = -5
- rho(1) = -5 / 6 = -0.8333
- lag 2: sum of r_t * r_t-2 over t = 3..6 = 1+1+1+1 = 4
- rho(2) = 4 / 6 = 0.6667
Interpretation
A coefficient outside the band is weak evidence of linear memory at that lag. Inside the band means the data cannot distinguish the series from white noise — which is not the same as proving independence.
Assumptions
- The series is treated as weakly stationary; on a non-stationary series the coefficient measures the trend, not memory.
- The Bartlett band assumes a white-noise null and holds only approximately; different conventions divide the autocovariance by n or by n minus h.
- Significance at one lag among many requires a multiplicity correction or a joint test such as a portmanteau statistic.
- Only linear dependence is captured; non-linear dependence such as volatility clustering shows up in squared returns, not in the returns themselves.
- Overlapping or smoothed observations induce autocorrelation mechanically, independently of any market behaviour.
- Estimates at long lags use few effective pairs and are correspondingly unreliable.
Related terminology
- related
- Stationarity GARCH Volatility Clustering Mean Reversion Random Walk Correlation Covariance Moving Window Cointegration Hypothesis Testing
Correlation
Correlation relates two different series at the same time. Autocorrelation relates one series to its own earlier values.
Volatility Clustering
Volatility clustering is the empirical pattern; autocorrelation of squared returns is the statistic that measures it.
Sources
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
