Math 2.0

Statistics Definition

Autocorrelation function

Builds on Time seriesStationary processCovarianceCorrelation coefficient

Definition

Let (Xt)t∈ℤ(X_t)_{t \in \Z} be a real weakly stationary process: E[Xt2]<∞E[X_t^2] < \infty, the mean E[Xt]=μE[X_t] = \mu does not depend on tt, and the covariance Cov⁡(Xt+h,Xt)\operatorname{Cov}(X_{t+h}, X_t) depends only on hh. The autocovariance function is γ(h)=Cov⁡(Xt+h,Xt)\gamma(h) = \operatorname{Cov}(X_{t+h}, X_t) for h∈ℤh \in \Z. If γ(0)>0\gamma(0) > 0, the autocorrelation function is ρ(h)=γ(h)γ(0),h∈ℤ.\rho(h) = \frac{\gamma(h)}{\gamma(0)}, \qquad h \in \Z. It is the correlation coefficient of Xt+hX_{t+h} and XtX_t. For observations x1,…,xnx_1, \dots, x_n of a time series with mean xˉ\bar x, the sample autocovariance and sample autocorrelation at lag ∣h∣<n\abs{h} < n are γ^(h)=1n∑t=1n−∣h∣(xt+∣h∣−xˉ)(xt−xˉ),ρ^(h)=γ^(h)γ^(0).\hat\gamma(h) = \frac1n \sum_{t=1}^{n - \abs{h}} (x_{t + \abs{h}} - \bar x)(x_t - \bar x), \qquad \hat\rho(h) = \frac{\hat\gamma(h)}{\hat\gamma(0)}.

Remarks

Every autocorrelation function satisfies ρ(0)=1\rho(0) = 1, ρ(−h)=ρ(h)\rho(-h) = \rho(h) and ∣ρ(h)∣≤1\abs{\rho(h)} \le 1. It is nonnegative definite: ∑i,jaiajρ(ti−tj)≥0\sum_{i,j} a_i a_j \rho(t_i - t_j) \ge 0 for all real aia_i and integers tit_i, since this sum is Var⁡(∑iaiXti)/γ(0)\operatorname{Var}(\sum_i a_i X_{t_i}) / \gamma(0).

Example: let (εt)(\varepsilon_t) be uncorrelated with mean 00 and variance σ2>0\sigma^2 > 0, and let Xt=εt+εt−1X_t = \varepsilon_t + \varepsilon_{t-1}. Then γ(0)=2σ2\gamma(0) = 2\sigma^2, γ(±1)=σ2\gamma(\pm 1) = \sigma^2 and γ(h)=0\gamma(h) = 0 for ∣h∣≥2\abs{h} \ge 2, so ρ(±1)=1/2\rho(\pm 1) = 1/2 and ρ(h)=0\rho(h) = 0 for ∣h∣≥2\abs{h} \ge 2.

Non-example: for a random walk St=ε1+⋯+εtS_t = \varepsilon_1 + \cdots + \varepsilon_t, the variance tσ2t \sigma^2 depends on tt, so the process is not weakly stationary and ρ\rho is not defined.

The divisor nn in γ^\hat\gamma, rather than n−∣h∣n - \abs{h}, makes the sample autocovariance nonnegative definite. In signal processing, autocorrelation often means the unnormalized E[Xt+hXt]E[X_{t+h} X_t].

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Correlation coefficient concept
  2. Covariance concept
  3. Stationary process concept
  4. Time series concept
  5. Autocorrelation function definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Autocorrelation
About this page
TagK0KF9KMF5W
URIm2://K0KF9KMF5W
Kinddefinition
WritingW0 stub
MSC62M10, 60G10
DefinesAutocorrelation function
UsesTime series, Stationary process, Covariance, Correlation coefficient

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.