Content deleted Content added
Moon motif (talk | contribs) Removed "lacking inline citations" header |
Citation bot (talk | contribs) Removed URL that duplicated identifier. | Use this bot. Report bugs. | #UCB_CommandLine |
||
(14 intermediate revisions by 9 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
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.
Line 7:
==Definition==
Given a time series <math>z_t</math>, the partial autocorrelation of lag <math>k</math>, denoted <math>\phi_{k,k}</math>, is the [[autocorrelation]] between <math>z_t</math> and <math>z_{t+k}</math> with the linear dependence of <math>z_t</math> on <math>z_{t+1}</math> through <math>z_{t+k-1}</math> removed. Equivalently, it is the autocorrelation between <math>z_t</math> and <math>z_{t+k}</math> that is not accounted for by lags <math>1</math> through <math>k-1</math>, inclusive.<ref name=":3">{{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}}</ref><math display="block">\phi_{1,1} = \operatorname{corr}(z_{t+1}, z_{t}),\text{ for }k= 1,</math><math display="block">\phi_{k,k} = \operatorname{corr}(z_{t+k} - \hat{z}_{t+k},\, z_{t} - \hat{z}_{t}),\text{ for }k\geq 2,</math>where <math>\hat{z}_{t+k}</math> and <math>\hat{z}_t</math> are [[
== Calculation ==
The theoretical partial autocorrelation function of a stationary time series can be calculated by using the Durbin–Levinson Algorithm:<math display="block">\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) }</math>where <math>\phi_{n,k} = \phi_{n-1, k} - \phi_{n,n} \phi_{n-1,n-k}</math> for <math>1 \leq k \leq n - 1</math> and <math>\rho(n)</math> is the autocorrelation function.<ref>{{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 }}</ref><ref>{{Cite book |
The formula above can be used with sample autocorrelations to find the sample partial autocorrelation function of any given time series.<ref name=":0">{{Cite book |
== Examples ==
The partial autocorrelation of [[white noise]] is zero for all lags.▼
The following table summarizes the partial autocorrelation function of
{| class="wikitable"
!Model
!PACF
|-
|[[White noise]]
|-
|[[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" />
▲The partial autocorrelation function of an [[ARMA model|ARMA(''p'', ''q'') model]] also exponentially decays but only after lags greater than ''p''.<ref name=":1" /><ref name=":2">{{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 |date=2019 |publisher=Springer |year=2019 |isbn=978-981-329-019-8 |edition= |___location=Singapore |pages=294-299 |language=en |oclc=1119630068}}</ref>
== 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|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.<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
==References==
|