Partial autocorrelation function

{{Short description|Partial correlation of a time series with its lagged values}}

File:Partial autocorrelation function.png's depth with confidence interval (in blue, plotted around 0)]]

In time series analysis, the partial autocorrelation function (PACF) gives the partial correlation of a stationary time series with its own lagged values, regressed the values of the time series at all shorter lags. It contrasts with the autocorrelation function, which does not control for other lags.

This function plays an important role in data analysis aimed at identifying the extent of the lag in an autoregressive (AR) model. The use of this function was introduced as part of the Box–Jenkins approach to time series modelling, whereby plotting the partial autocorrelative functions one could determine the appropriate lags p in an AR (p) model or in an extended ARIMA (p,d,q) model.

Definition

Given a time series z_t, the partial autocorrelation of lag k, denoted \phi_{k,k}, is the autocorrelation between z_t and z_{t+k} with the linear dependence of z_t on z_{t+1} through z_{t+k-1} removed. Equivalently, it is the autocorrelation between z_t and z_{t+k} that is not accounted for by lags 1 through k-1, inclusive.{{Cite web |title=6.4.4.6.3. Partial Autocorrelation Plot |url=https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc4463.htm |access-date=2022-07-14 |website=www.itl.nist.gov}}\phi_{1,1} = \operatorname{corr}(z_{t+1}, z_{t}),\text{ for }k= 1,\phi_{k,k} = \operatorname{corr}(z_{t+k} - \hat{z}_{t+k},\, z_{t} - \hat{z}_{t}),\text{ for }k\geq 2,where \hat{z}_{t+k} and \hat{z}_t are linear combinations of \{z_{t+1}, z_{t+2}, ..., z_{t+k-1}\} that minimize the mean squared error of z_{t+k} and z_t respectively. For stationary processes, the coefficients in \hat{z}_{t+k} and \hat{z}_t are the same, but reversed:{{Cite book |last1=Shumway |first1=Robert H. |url=http://link.springer.com/10.1007/978-3-319-52452-8 |title=Time Series Analysis and Its Applications: With R Examples |last2=Stoffer |first2=David S. |date=2017 |publisher=Springer International Publishing |isbn=978-3-319-52451-1 |series=Springer Texts in Statistics |location=Cham |pages=97–99 |language=en |doi=10.1007/978-3-319-52452-8}} \hat{z}_{t+k}=\beta_1z_{t+k-1}+\cdots+\beta_{k-1}z_{t+1}\qquad\text{and}\qquad\hat{z}_t=\beta_1z_{t+1}+\cdots+\beta_{k-1}z_{t+k-1}.

Calculation

The theoretical partial autocorrelation function of a stationary time series can be calculated by using the Durbin–Levinson Algorithm:\phi_{n,n} = \frac{\rho(n) - \sum_{k=1}^{n-1} \phi_{n-1, k} \rho(n - k)}{1 - \sum_{k=1}^{n-1} \phi_{n-1, k} \rho(k) }where \phi_{n,k} = \phi_{n-1, k} - \phi_{n,n} \phi_{n-1,n-k} for 1 \leq k \leq n - 1 and \rho(n) is the autocorrelation function.{{Cite journal |last=Durbin |first=J. |date=1960 |title=The Fitting of Time-Series Models |url=https://www.jstor.org/stable/1401322 |journal=Revue de l'Institut International de Statistique / Review of the International Statistical Institute |volume=28 |issue=3 |pages=233–244 |doi=10.2307/1401322 |jstor=1401322 |issn=0373-1138|url-access=subscription }}{{Cite book |last1=Shumway |first1=Robert H. |url=http://link.springer.com/10.1007/978-3-319-52452-8 |title=Time Series Analysis and Its Applications: With R Examples |last2=Stoffer |first2=David S. |date=2017 |publisher=Springer International Publishing |isbn=978-3-319-52451-1 |series=Springer Texts in Statistics |location=Cham |pages=103–104 |language=en |doi=10.1007/978-3-319-52452-8}}{{Cite book |last=Enders |first=Walter |url=https://www.worldcat.org/oclc/52387978 |title=Applied econometric time series |date=2004 |publisher=J. Wiley |isbn=0-471-23065-0 |edition=2nd |location=Hoboken, NJ |pages=65–67 |language=en |oclc=52387978}}

The formula above can be used with sample autocorrelations to find the sample partial autocorrelation function of any given time series.{{Cite book |last1=Box |first1=George E. P. |title=Time Series Analysis: Forecasting and Control |last2=Reinsel |first2=Gregory C. |last3=Jenkins |first3=Gwilym M. |publisher=John Wiley |year=2008 |isbn=9780470272848 |edition=4th |location=Hoboken, New Jersey |language=en}}{{Cite book |last1=Brockwell |first1=Peter J. |title=Time Series: Theory and Methods |last2=Davis |first2=Richard A. |publisher=Springer |year=1991 |isbn=9781441903198 |edition=2nd |location=New York, NY |pages=102, 243–245 |language=en}}

Examples

The following table summarizes the partial autocorrelation function of different models:{{Cite book |last=Das |first=Panchanan |url=https://www.worldcat.org/oclc/1119630068 |title=Econometrics in Theory and Practice : Analysis of Cross Section, Time Series and Panel Data with Stata 15. 1 |publisher=Springer |year=2019 |isbn=978-981-329-019-8 |edition= |location=Singapore |pages=294–299 |language=en |oclc=1119630068}}

class="wikitable"

!Model

!PACF

White noise

|The partial autocorrelation is 0 for all lags.

Autoregressive model

|The partial autocorrelation for an AR(p) model is nonzero for lags less than or equal to p and 0 for lags greater than p.

rowspan=2|Moving-average model

|If \phi_{1,1} > 0, the partial autocorrelation oscillates to 0.

If \phi_{1,1} < 0, the partial autocorrelation geometrically decays to 0.
Autoregressive–moving-average model

|An ARMA(p, q) model's partial autocorrelation geometrically decays to 0 but only after lags greater than p.

The behavior of the partial autocorrelation function mirrors that of the autocorrelation function for autoregressive and moving-average models. For example, the partial autocorrelation function of an AR(p) series cuts off after lag p similar to the autocorrelation function of an MA(q) series with lag q. In addition, the autocorrelation function of an AR(p) process tails off just like the partial autocorrelation function of an MA(q) process.

Autoregressive model identification

File:Partial Autocorrelation Function Graph.png

Partial autocorrelation is a commonly used tool for identifying the order of an autoregressive model. As previously mentioned, the partial autocorrelation of an AR(p) process is zero at lags greater than p. If an AR model is determined to be appropriate, then the sample partial autocorrelation plot is examined to help identify the order.

The partial autocorrelation of lags greater than p for an AR(p) time series are approximately independent and normal with a mean of 0.{{Cite journal |last=Quenouille |first=M. H. |date=1949 |title=Approximate Tests of Correlation in Time-Series |url=https://onlinelibrary.wiley.com/doi/10.1111/j.2517-6161.1949.tb00023.x |journal=Journal of the Royal Statistical Society, Series B (Methodological) |language=en |volume=11 |issue=1 |pages=68–84 |doi=10.1111/j.2517-6161.1949.tb00023.x|url-access=subscription }} Therefore, a confidence interval can be constructed by dividing a selected z-score by \sqrt{n}. Lags with partial autocorrelations outside of the confidence interval indicate that the AR model's order is likely greater than or equal to the lag. Plotting the partial autocorrelation function and drawing the lines of the confidence interval is a common way to analyze the order of an AR model. To evaluate the order, one examines the plot to find the lag after which the partial autocorrelations are all within the confidence interval. This lag is determined to likely be the AR model's order.

References