Definitioncore
Partial autocorrelation function
Also called PACF.
The correlation of X_t and X_(t+k) after removing the linear effect of the values between them. It cuts off after lag p for an AR(p) process.
The partial autocorrelation function (PACF) of a stationary process gives, for each lag , the correlation between and after the linear effect of the values between them, , is removed from both. It is written , because it is also the last coefficient of the best linear predictor of from its previous values. The autocorrelation counts direct and indirect links: in an AR(1) process and are correlated only through . The PACF counts only the direct link, so it is exactly zero after lag for an AR() process. This makes it the main tool for choosing the order of an autoregression.
Definition
Setting. is weakly stationary with mean , autocovariance and autocorrelation , and with and as . These conditions make every covariance matrix nonsingular (Brockwell and Davis 1991, Section 5.1). Without loss of generality . For a set of times, is the best linear predictor of from , that is the orthogonal projection onto their span, as on the linear prediction page.
Partial autocorrelation. , and for , with ,
It does not depend on , and by convention, so it is enough to give .
Second form. Let be the coefficients of the best linear predictor of from the previous values: . They solve , the Yule-Walker system of order . Then , the coefficient of the most distant value, is the partial autocorrelation at lag .
Proof that the two forms agree. Let . It is orthogonal to the span of , so the span of is that span plus the line through , an orthogonal sum. So the predictor of from all values is with . Since lies in the span of , the coefficient of in this predictor is . Now , because . The process reversed in time, , has the same autocovariance, so . Hence .
Sample PACF. From data , the sample PACF is defined by the second form with the divisor- sample autocovariance in place of . That is positive definite whenever the data are not all equal, so exists for and . The Yule-Walker equations page computes all of them in operations with the Levinson-Durbin recursion.
Basic facts.
- , as a correlation. It is strictly less than 1 when is nonsingular.
- If is the error of the order- predictor, with , then . So is the fraction of the remaining error removed by the -th value. The errors decrease to the one-step error of the Wold decomposition.
- The map from to is one to one between the autocorrelations that make positive definite and the open cube . So any values in are the partial autocorrelations of some stationary process. This follows from the product and the recursion for . The Whittle likelihood code uses this map to search over causal AR models with no constraints.
- For an AR() process, and for : the order- predictor for is , so its last coefficient is 0 when .
- Quenouille's result. For an AR() process with IID noise, the sample values for are asymptotically independent (Quenouille 1949; Brockwell and Davis 1991, Section 8.2). So values outside at lags past are rare under the model, and the usual plot draws these bounds.
Examples and non-examples
- AR(1). with . The best predictor from any past window is , so and for . The autocorrelation never reaches 0. With the exact values are
- AR(2). With : , , and for . Check from the formula with : .
- MA(1). with . The PACF never cuts off: (Brockwell and Davis 1991, Section 3.4). With the exact values are , with alternating signs and a geometric decay.
- ARMA(1, 1). With and : Neither the autocorrelation nor the PACF cuts off.
- A sample by hand. , . The sample autocorrelations are and . So , and
The next value is . The bounds suggest an AR(2) model, but ten points are far too few for this rule.
- Non-example: the autocorrelation. is not except at . In AR(1), while .
- Non-example: a coefficient of a fixed-order fit. In the order- predictor, the coefficient of lag is not . In the sample above, the order-2 fit has lag-1 coefficient , while . Only the last coefficient of each order is a partial autocorrelation.
- Non-example: a deterministic process. For the random sinusoid with , and . Then exactly, is singular, and is not defined for . Here does not tend to 0, so the process is outside the setting.
- Non-example: a random walk. The sample PACF of a random walk path is close to 1 at lag 1 and small after, which looks like AR(1) with near 1. But the random walk is not stationary, is not defined for it, and the sample values do not estimate a fixed function. Difference the series first, as the ARIMA model does.
Related definitions
- Partial correlation. For random variables , and a vector , the partial correlation of and given is the correlation of the residuals of the linear regressions of and on . The PACF is the partial correlation of and given the values between them. For Gaussian processes it equals the conditional correlation.
- Reflection coefficients. In signal processing the partial autocorrelations are the reflection coefficients of the lattice prediction filter, with the opposite sign in the usual convention: the coefficient on the Levinson-Durbin recursion page is . The Burg method estimates them directly from the data.
- Prediction error variances. , the error of the order- predictor, is the quantity that the Akaike-type order selection criteria compare across orders, for example through the term in the Akaike information criterion of an AR() fit.
- Inverse autocorrelation. The autocorrelation of the process whose spectral density is . For an AR() process it cuts off after lag , like the PACF, but it is a different function.
- Autocorrelation function. The ordinary autocorrelation , which cuts off after lag for an MA() process. The pair of plots, autocorrelation and PACF, is the identification step of the Box-Jenkins method.
References
- Peter J. Brockwell and Richard A. Davis, Time Series: Theory and Methods, second edition, Springer, 1991, Section 3.4 (the partial autocorrelation function, pp. 98 to 102), Section 5.2 (the Durbin-Levinson algorithm, pp. 169 to 174) and Section 8.2 (the sample PACF and AR order selection, p. 241)
- Peter J. Brockwell and Richard A. Davis, Introduction to Time Series and Forecasting, third edition, Springer, 2016, Section 2.5.3 (the Durbin-Levinson algorithm, p. 60) and Section 3.2.3 (the partial autocorrelation function, p. 83)
- M. H. Quenouille, Approximate tests of correlation in time-series, Journal of the Royal Statistical Society B 11(1), 1949, pp. 68 to 84 (the sample partial autocorrelations beyond the order of an autoregression are approximately independent with variance 1/n)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag NZ70YH Edit this page History Report an error Markdown