Autocorrelation Function (ACF)
The autocorrelation function of a stationary time series is the normalized autocovariance, measuring the linear dependence between and on a unitless scale:
where is the autocovariance at lag and . This is the time series analogue of the correlation coefficient , applied to a single series at two different times.For non-stationary processes, the general form uses two time indices:
The ACF is one of the most important diagnostic tools in time series analysis: its shape reveals the memory structure and guides model selection (e.g., AR vs. MA vs. ARMA).
ACF Measures Linear Dependence Only correlation, means and are linearly uncorrelated, but they may still be dependent in nonlinear ways. For Gaussian processes, uncorrelatedness implies independence; in general, it does not.
Like
Intuition
The ACF answers: how strongly does the value at time predict the value steps into the future, on a scale from to ? A slowly decaying ACF signals persistence: the series drifts for long stretches above or below its mean. A sharply truncating ACF (dropping to zero after lag ) is the signature of a moving average MA process. An ACF that decays geometrically suggests an autoregressive AR process.
In practice, the sample ACF is plotted as a correlogram, with confidence bands at (under the null of white noise). Lags where exceeds these bands indicate statistically significant serial dependence.
Properties
(Normalization) always.
(Boundedness) for all , by the Cauchy–Schwarz bound.
(Symmetry) .
(Positive Semi-Definiteness) The function is positive semi-definite: for any , times , and constants , .
(White Noise) If , then
(MA(q) Cutoff) If , then for all . This sharp cutoff is the defining ACF signature of MA processes.
(AR(1) Decay) If with , then , which decays geometrically.
Examples
ACF of MA(1)
Let with .
Derive the ACF. autocovariance of MA(1): Note that for all , since is maximized at giving . This means an MA(1) process can never have lag-1 correlation exceeding in absolute value.
From the
ACF of AR(1)
Let with and .
Derive the ACF and describe its behavior. and (by recursive substitution), the ACF is If , the ACF decays monotonically toward zero, indicating positive persistence. If , the ACF alternates in sign while decaying in magnitude, indicating oscillatory mean-reversion. The closer is to , the slower the decay and the longer the memory.
Since