Content deleted Content added
Moon motif (talk | contribs) Change image of ACF vs PACF with only PACF since ACF wasn't relevant to article text |
Citation bot (talk | contribs) Removed URL that duplicated identifier. | Use this bot. Report bugs. | #UCB_CommandLine |
||
(23 intermediate revisions by 10 users not shown) | |||
Line 1:
{{Short description|Partial correlation of a time series with its lagged values}}
[[File:Partial autocorrelation function.png|thumb|Partial autocorrelation function of [[Lake Huron]]'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 model|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''') [[autoregressive model|model]] or in an extended [[Autoregressive integrated moving average|ARIMA]] ('''p''','''d''','''q''') model.
==
Given a time series <math>z_t</math>, the partial autocorrelation of lag <math>k</math>, denoted <math>\phi_{
== Calculation ==
[[File:Partial Autocorrelation Function Graph.png|alt=The partial autocorrelation graph has 3 spikes and the rest is close to 0.|thumb|PACF of an AR(3) time series]]▼
== Examples ==
The following table summarizes the partial autocorrelation function of different models:<ref name=":1" /><ref name=":2">{{Cite book |last=Das |first=Panchanan |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}}</ref>
{| 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 <math>\phi_{1,1} > 0</math>, the partial autocorrelation [[Oscillation (mathematics)|oscillates]] to 0.
|-
|If <math>\phi_{1,1} < 0</math>, the partial autocorrelation [[Exponential decay|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.<ref name=":4" />
== Autoregressive model identification ==
▲[[File:Partial Autocorrelation Function Graph.png|alt=The partial autocorrelation graph has 3 spikes and the rest is close to 0.|thumb|
Partial autocorrelation is a commonly used tool for identifying the order of an autoregressive model.<ref name=":0" /> As previously mentioned, the partial autocorrelation of an AR(''p'') process is zero at lags greater than ''p''.<ref name=":1" /><ref name=":2" /> 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 distribution|normal]] with a [[mean]] of 0.<ref>{{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 }}</ref> Therefore, a [[confidence interval]] can be constructed by dividing a selected [[Standard score|z-score]] by <math>\sqrt{n}</math>. 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.<ref name=":3" />
==References==
{{Reflist}}
{{Statistics|analysis}}
|