📈  Temporal autocorrelation (Serial Correlation)

Temporal autocorrelation (Serial Correlation)#

Correlation of a time series with its own past values.

Important

✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.

What it is#

Temporal autocorrelation (or serial correlation) is when the values of a time series correlate with their own past — the value at time \(t\) depends partly on \(t-1, t-2, \dots\). It is the defining property of time-series data and the most common way the IID assumption breaks.

The measure#

The autocorrelation function (ACF) at lag \(k\) is

\[\rho_k = \frac{\operatorname{Cov}(X_t, X_{t-k})}{\sigma^2},\]

the correlation between the series and its own lag-\(k\) copy, where \(\sigma^2\) is the series variance. Stock prices (today near yesterday), temperature and weekly website traffic all show it.

Why it matters#

First, it violates IID — past strongly influences future, so models that assume independence are wrong. Second, it drives forecasting: ARIMA and SARIMA explicitly model autocorrelation, and ACF/PACF plots reveal the AR and MA orders. Third, it is a diagnostic: the Durbin-Watson test checks regression residuals, and autocorrelated residuals signal a misspecified model.

Positive, negative, and reading the plot#

Positive autocorrelation means high tends to follow high (momentum); negative means high tends to follow low (mean-reversion). On an ACF plot, strong spikes at lags 1, 2 and 7 would suggest weekly seasonality.


Theme: Signal Processing & Time Series  ·  All terminology



See also

Source article Adapted (context, re-expressed) in our own words from: Temporal autocorrelation (Serial Correlation) (insightful-data-lab.com).

Tags: purpose: reference topic: terminology level: advanced