Jump to content

Partial autocorrelation function

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Moon motif (talk | contribs) at 14:00, 20 July 2022 (Revised AR identification explanation to be clearer and more correct). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Partial autocorrelation function of Lake Huron's depth with confidence interval[1]

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 , the partial autocorrelation of lag , denoted , is the autocorrelation between and with the linear dependence of on through removed. Equivalently, it is the autocorrelation between and that is not accounted for by lags through , inclusive.[2]where and are linear combinations of that minimize the mean squared error of and respectively. For stationary processes, and are the same.[3]

Calculation

The theoretical partial autocorrelation function of a stationary time series can be calculated by using the Durbin–Levinson Algorithm:where for and is the autocorrelation function.[4][5][6]

The formula above can be used with sample autocorrelations to find the sample partial autocorrelation function of any given time series.[7][8]

Examples

The partial autocorrelation of white noise is zero for all lags.

AR models have nonzero partial autocorrelations for lags less than or equal to its order. In other words, the partial autocorrelation of an AR(p) process is zero at lags greater than p.

For moving average (MA) models, their partial autocorrelation exponentially decays to 0. For MA models that have , the decay is oscillating and the other models with have geometric decay.

The partial autocorrelation function of an ARMA(p, q) model also exponentially decays but only after lags greater than p.[6][9]

Autoregressive model identification

The partial autocorrelation graph has 3 spikes and the rest is close to 0.
Sample partial autocorrelation function with confidence interval of a simulated AR(3) time series

Partial autocorrelation is a commonly used tool for identifying the order of an autoregressive model.[7] As previously mentioned, the partial autocorrelation of an AR(p) process is zero at lags greater than p.[6][9] 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.[10] Therefore, a confidence interval can be constructed by dividing a selected z-score by . 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.[2]

References

  1. ^ Brockwell, Peter J.; Davis, Richard A. (2016). "Modeling and Forecasting with ARMA Processes". Introduction to Time Series and Forecasting (Third ed.). Springer International Publishing. p. 132. ISBN 978-3319298528.
  2. ^ a b "6.4.4.6.3. Partial Autocorrelation Plot". www.itl.nist.gov. Retrieved 2022-07-14.
  3. ^ Shumway, Robert H.; Stoffer, David S. (2017). Time Series Analysis and Its Applications: With R Examples. Springer Texts in Statistics. Cham: Springer International Publishing. pp. 97–98. doi:10.1007/978-3-319-52452-8. ISBN 978-3-319-52451-1.
  4. ^ Durbin, J. (1960). "The Fitting of Time-Series Models". Revue de l'Institut International de Statistique / Review of the International Statistical Institute. 28 (3): 233–244. doi:10.2307/1401322. ISSN 0373-1138.
  5. ^ Shumway, Robert H.; Stoffer, David S. (2017). Time Series Analysis and Its Applications: With R Examples. Springer Texts in Statistics. Cham: Springer International Publishing. pp. 103–104. doi:10.1007/978-3-319-52452-8. ISBN 978-3-319-52451-1.
  6. ^ a b c Enders, Walter (2004). Applied econometric time series (2nd ed.). Hoboken, NJ: J. Wiley. pp. 65–67. ISBN 0-471-23065-0. OCLC 52387978.
  7. ^ a b Box, George E. P.; Reinsel, Gregory C.; Jenkins, Gwilym M. (2008). Time Series Analysis: Forecasting and Control (4th ed.). Hoboken, New Jersey: John Wiley. ISBN 9780470272848.
  8. ^ Brockwell, Peter J.; Davis, Richard A. (1991). Time Series: Theory and Methods (2nd ed.). New York, NY: Springer. pp. 102, 243–245. ISBN 9781441903198.
  9. ^ a b Das, Panchanan (2019). Econometrics in Theory and Practice : Analysis of Cross Section, Time Series and Panel Data with Stata 15. 1. Singapore: Springer. pp. 294–299. ISBN 978-981-329-019-8. OCLC 1119630068.{{cite book}}: CS1 maint: date and year (link)
  10. ^ Quenouille, M. H. (1949). "Approximate Tests of Correlation in Time-Series". Journal of the Royal Statistical Society: Series B (Methodological). 11 (1): 68–84. doi:10.1111/j.2517-6161.1949.tb00023.x.