entekhab.netentekhab.nettrilingual encyclopedia

Autocorrelation

ENGLISHAutocorrelationreference
فارسیخودهمبستگیEstablished equivalent
کوردیخۆپەیوەندی ئاماریProposed equivalent — not standard
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

market

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.

Given
  • n = 500 observations
  • illustrative figures, not a market measurement
  • white-noise null hypothesis
Steps
  1. Bartlett band = 1.96 / sqrt(500) = 1.96 / 22.36 = 0.0877
  2. returns: |-0.04| < 0.0877, so inside the band
  3. squared returns: |0.21| > 0.0877, so outside the band
returns look serially uncorrelated; their squares do not

This is the standard empirical picture behind GARCH modelling: the level of returns carries little linear memory while their magnitude carries a great deal.

numeric

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.

Given
  • series = [1, -1, 1, -1, 1, -1]
  • n = 6
  • sample mean = 0
Steps
  1. denominator: sum of squared deviations = 6
  2. lag 1 numerator = (-1)(1)+(1)(-1)+(-1)(1)+(1)(-1)+(-1)(1) = -5, so rho(1) = -5/6 = -0.8333
  3. lag 2 numerator = (1)(1)+(-1)(-1)+(1)(1)+(-1)(-1) = 4, so rho(2) = 4/6 = 0.6667
  4. Bartlett band = 1.96 / sqrt(6) = 0.800
rho(1) = -0.833, rho(2) = +0.667, band = +/- 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

\rho(h) = \frac{\gamma(h)}{\gamma(0)} = \frac{\sum_{t=h+1}^{n} (r_t - \bar{r})(r_{t-h} - \bar{r})}{\sum_{t=1}^{n} (r_t - \bar{r})^2}

Variables

\rho(h)Autocorrelation at lag h, between -1 and 1ratio (dimensionless)
\gamma(h)Sample autocovariance at lag hsquared units of r
r_tObservation at time t, usually a return% or ratio
\bar{r}Sample mean of the series% or ratio
hLag in periodsperiods

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

Given
  • series = [1, -1, 1, -1, 1, -1]
  • n = 6
  • mean = 0 so deviations equal the values
Steps
  1. gamma(0) scaled: sum of squares = 1+1+1+1+1+1 = 6
  2. lag 1: sum of r_t * r_t-1 over t = 2..6 = -1-1-1-1-1 = -5
  3. rho(1) = -5 / 6 = -0.8333
  4. lag 2: sum of r_t * r_t-2 over t = 3..6 = 1+1+1+1 = 4
  5. rho(2) = 4 / 6 = 0.6667
rho(1) = -0.833, rho(2) = +0.667

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.
Limits of the formula
  • 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
Commonly confused with

Correlation

Correlation relates two different series at the same time. Autocorrelation relates one series to its own earlier values.

Commonly confused with

Volatility Clustering

Volatility clustering is the empirical pattern; autocorrelation of squared returns is the statistic that measures it.

Sources

Editorial status

Needs expert reviewconsensusv1.02026-11-05

Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.

The definition and the Bartlett band are textbook consensus, though the autocovariance divisor convention differs between texts, which is stated in math.assumptions. The 500-observation figures are explicitly illustrative, not measured market data. The Kurdish headword خۆپەیوەندی ئاماری is a proposal by this project and needs native-expert review.