Have a Question?
Phone: +1 (888) 427-9486
+1 (312) 324-0367
Fax: +1 (312) 238-9092
Contact Us
PACF (Pro.)
Calculates the sample partial autocorrelation function (PACFi).
Syntax
PACF(X, Order, K)
X
is the univariate time series data (a one dimensional array of cells (e.g. rows or columns)).
Order
is the time order of the data series (i.e. whether the first data point corresponds to the earliest or latest date (earliest date=1 (default), latest date=0)).
| Order | Description |
|---|---|
| 1 | ascending (the first data point corresponds to the earliest date) |
| 0 | descending (the first data point corresponds to the latest date) |
K
is the lag order (e.g. k=0 (no lag), k=1 (1st lag), etc.). If missing, the default of k=1 is assumed.
Remarks
- The time series is homogeneous or equally spaced.
- ACF and PACF plots (i.e. correlograms) are tools commonly used for model identification in Box-Jenkins models.
- PACF is the autocorrelation between
and
that is not accounted for by lags 1 to k-1, inclusive -
Equivalently, PACF(k) is the ordinary least square (OLS) multiple-regression k-th coefficient (
).
![\[ \left[y_{t}\right]=\phi_{0}+\sum_{j=1}^{k}\phi_{j}\left[y_{t-j}\right] \]](/sites/all/files/tex/a918d8634575aea15276a8215ee2656c78c7815e.png)
Where:
-
is the input time series.
-
is the lag order.
-
is the j-th coefficient of the linear multiple regression (i.e. AR(j)).
-
Examples
Example 1:
| A | B | |
|---|---|---|
| 1 | Date | Data |
| 2 | January 10, 2008 | -0.30 |
| 3 | January 11, 2008 | -1.28 |
| 4 | January 12, 2008 | 0.24 |
| 5 | January 13, 2008 | 1.28 |
| 6 | January 14, 2008 | 1.20 |
| 7 | January 15, 2008 | 1.73 |
| 8 | January 16, 2008 | -2.18 |
| 9 | January 17, 2008 | -0.23 |
| 10 | January 18, 2008 | 1.10 |
| 11 | January 19, 2008 | -1.09 |
| 12 | January 20, 2008 | -0.69 |
| 13 | January 21, 2008 | -1.69 |
| 14 | January 22, 2008 | -1.85 |
| 15 | January 23, 2008 | -0.98 |
| 16 | January 24, 2008 | -0.77 |
| 17 | January 25, 2008 | -0.30 |
| 18 | January 26, 2008 | -1.28 |
| 19 | January 27, 2008 | 0.24 |
| 20 | January 28, 2008 | 1.28 |
| 21 | January 29, 2008 | 1.20 |
| 22 | January 30, 2008 | 1.73 |
| 23 | January 31, 2008 | -2.18 |
| 24 | February 1, 2008 | -0.23 |
| 25 | February 2, 2008 | 1.10 |
| 26 | February 3, 2008 | -1.09 |
| 27 | February 4, 2008 | -0.69 |
| 28 | February 5, 2008 | -1.69 |
| 29 | February 6, 2008 | -1.85 |
| 30 | February 7, 2008 | -0.98 |
| Formula | Description (Result) | |
|---|---|---|
| =PACF($B$2:$B$30,1,1) | Partial autocorrelation of order 1 (0.236) |
References
- Hamilton, J .D.; Time Series Analysis
, Princeton University Press (1994), ISBN 0-691-04289-6 - Tsay, Ruey S.; Analysis of Financial Time Series
John Wiley & SONS. (2005), ISBN 0-471-690740
