Why Compare ACF and PACF?
At lag \(k\), the autocorrelation function (ACF) describes the linear association between observations \(k\) time steps apart. That association can include pathways through observations at the intervening lags. The partial autocorrelation function (PACF) asks a more specific question: how strongly are the two observations associated after the linear contributions of those intermediate observations have been accounted for?
The distinction matters when reading time-series summaries. A large ACF at lag 2 does not, by itself, show that lag 2 contributes an association beyond what is already explained by lag 1. Conversely, a small ACF at a lag does not guarantee that the PACF there is small. This comparison is aligned with the SOA Exam SRM (Statistics for Risk Modeling) syllabus.
Sample ACF and PACF
For an observed series \(x_1,\ldots,x_n\), let \(\bar{x}\) be its sample mean. We will use the following sample ACF convention for nonnegative lag \(k\):
The denominator uses all \(n\) centered observations, while the numerator uses the pairs available at lag \(k\). In particular, \(r_0=1\). For a real-valued series, the sample ACF is symmetric in the lag: \(r_{-k}=r_k\). The products in the lag-\(-k\) numerator pair the same observations as those in the lag-\(k\) numerator, with the factors reversed. Estimates at different positive lags need not follow any particular pattern.
A common way to estimate the PACF from sample ACF values is the Yule–Walker recursion. At lag 1, \(\widehat{\phi}_{11}=r_1\). At lag 2, the estimate simplifies to:
Here \(\widehat{\phi}_{22}\) estimates the lag-2 PACF. This plug-in calculation uses the sample ACF values and is not the only possible finite-sample estimation convention. When reporting a calculated PACF, identify the convention if the question or analysis specifies one. If the denominator is zero, this formula is undefined; it cannot be used to report a finite lag-2 PACF.
Worked Example: Comparing Lag 1 and Lag 2 in a Short Series
A six-period index of hypothetical claim-processing workload, after centering, is \(1,0,-1,-1,0,1\). Using the stated sample ACF convention, calculate \(r_1\), \(r_2\), and the Yule–Walker estimate of the lag-2 PACF. Interpret the comparison.
Method. First find the mean and the common denominator for the sample ACF. Then calculate the lagged-product sums and substitute the resulting ACF estimates into the lag-2 formula.
The values sum to \(1+0-1-1+0+1=0\), so \(\bar{x}=0\). The denominator is:
At lag 1, the numerator is:
At lag 2, the numerator is:
Now apply the lag-2 PACF formula:
Interpretation and check. The estimated lag-2 ACF is \(-0.5\), while the estimated lag-2 PACF is \(-0.6\). Both indicate a negative association in this calculation; the PACF describes the lag-2 association after accounting linearly for lag 1. The denominator is nonzero, and substituting \(-0.6\) into the formula gives \(( -0.5-0.0625)/0.9375=-0.6\), as required. A common mistake is to report \(-0.5\), the ACF, as the lag-2 PACF.
Why the Lag-2 Formula Holds
The formula follows by removing the linear contribution of the middle observation. The derivation below uses a process with constant mean, finite positive variance, and autocorrelation depending only on lag, so the lag-1 correlation is the same for adjacent pairs. Center the process by subtracting its mean and write the centered observations as \(Z_t\). Let \(\rho_1=a\), \(\rho_2=b\), and let the variance be \(\gamma_0>0\).
The coefficient in each projection is \(a\), because the covariance of an endpoint with the middle observation is \(a\gamma_0\), and the middle observation has variance \(\gamma_0\). The residuals are \(U=Z_t-aZ_{t-1}\) and \(V=Z_{t-2}-aZ_{t-1}\).
Expanding the covariance gives \(\operatorname{Cov}(U,V)=\gamma_0 b-a\gamma_0 a-a\gamma_0 a+a^2\gamma_0=\gamma_0(b-a^2)\).
Each residual has variance \(\gamma_0(1-a^2)\). Dividing the residual covariance by the product of the residual standard deviations gives \(\{ \gamma_0(b-a^2)\}/\{\gamma_0(1-a^2)\}=(b-a^2)/(1-a^2)\).
Replacing the population correlations \(a,b\) by the sample ACF values \(r_1,r_2\) gives the stated Yule–Walker estimate. The derivation also shows why the adjustment is not simply “subtract \(r_1\) from \(r_2\)”: both the association removed and the residual scale matter.
Using the PACF Beyond Lag 2
At a higher lag, the PACF accounts for all intervening lags, not just the immediately preceding observation. Under the Yule–Walker convention, a useful recursion expresses the order-\(k\) projection in terms of the order-\((k-1)\) projection and the ACF values. For illustration, write \(\phi_{k,j}\) for the coefficient on lag \(j\) in the order-\(k\) projection. The PACF at lag \(k\) is \(\phi_{k,k}\), calculated by:
This recursion comes from solving the linear projection equations: each coefficient is chosen so the projection residual is uncorrelated with each included lag. Extending the projection by one lag and solving those equations gives the displayed final coefficient. For a sample estimate using this convention, replace the \(\rho\) values with the corresponding \(r\) values.
Worked Example: A Lag-3 PACF After Two Intermediate Lags
Suppose a hypothetical stationary series has autocorrelations \(\rho_1=0.6\), \(\rho_2=0.5\), and \(\rho_3=0.2\). Find the lag-2 and lag-3 PACFs using the recursion, then compare the lag-3 ACF and PACF.
Method. Calculate the order-2 coefficients first, since the order-3 calculation uses them. At order 1, \(\phi_{1,1}=0.6\). Thus:
The other order-2 coefficient is \(\phi_{2,1}=\phi_{1,1}-\phi_{2,2}\phi_{1,1}\), so:
Use these two coefficients in the order-3 recursion:
Interpretation and check. The lag-3 ACF is \(0.2\), a positive overall lag-3 correlation. The lag-3 PACF is approximately \(-0.2718\), a negative association after accounting linearly for lags 1 and 2. The difference is possible because the intervening observations contribute to the overall lagged association. The denominator is positive, and multiplying \(0.609375\) by \(-53/195\) gives \(-0.165625\), confirming the final division.
Common Mistakes and Interpretation
The ACF and PACF answer related but distinct questions. The ACF at lag \(k\) includes the association between observations \(k\) steps apart without removing the contributions of intermediate lags. The PACF at lag \(k\) measures their remaining linear association after those intermediate observations have been accounted for. Neither quantity, on its own, establishes a causal effect.
A PACF estimate is not automatically a “more accurate” ACF. It is an adjusted measure answering a different question. In short series, estimates can also be sensitive to the sample and to the estimation convention. Interpret the requested lag and measure carefully, and do not infer a pattern merely from one value.
Check Your Understanding
For numerical questions, use the lag-2 formula or Yule–Walker convention stated above. Give numerical answers to four decimal places where needed.
- A hypothetical series has \(r_1=0.4\) and \(r_2=0.12\). Calculate its estimated lag-2 PACF. (Answer: \(-0.0476\))
- A time-series summary gives \(\rho_1=-0.3\) and \(\rho_2=0.45\). Calculate the lag-2 PACF and state whether its sign agrees with the lag-2 ACF. (Answer: PACF \(=0.3956\); its sign is positive, agreeing with the positive lag-2 ACF.)
- For a hypothetical stationary series, \(\rho_1=0.4\), \(\rho_2=0.25\), and \(\rho_3=0.3\). Using the Yule–Walker recursion, calculate \(\phi_{2,2}\), \(\phi_{2,1}\), and \(\phi_{3,3}\). (Answer: \(\phi_{2,2}=0.1071\), \(\phi_{2,1}=0.3571\), and \(\phi_{3,3}\approx0.2022\).)
- A valid estimated summary has an ACF of \(0.02\) and a PACF of \(-0.45\) at lag 3. What does each value describe, and are the signs inconsistent? (Answer: The ACF describes the overall lag-3 association, while the PACF describes the lag-3 association after accounting for lags 1 and 2; the signs are not inconsistent.)
- Using the stated finite-sample ACF convention, a real-valued series has \(r_2=-0.31\). What is \(r_{-2}\), and does finite sample size remove this symmetry? (Answer: \(r_{-2}=-0.31\); no, the sample ACF remains symmetric in positive and negative lags.)