Partial Autocorrelation Tool Calculator

Turn raw observations into PACF insights in seconds. Choose methods, set max lag, view bands. Spot AR order faster and share outputs anywhere today.

Tip: paste a column of numbers; separators are flexible.
Keep K well below N to reduce noise.
Both estimate PACF; results can differ slightly.
Band uses ±z/√N (approximation).
Controls rounding in tables and exports.
Reset

Example data table

Sample series (24 points) with illustrative PACF output (Durbin–Levinson, K=10, 95% band ≈ ±0.400).
Lag PACF Significant Interpretation note
10.660YesStrong immediate dependence.
2-0.464YesSecond lag adds negative correction.
30.065NoWeak after conditioning on lags 1–2.
4-0.050NoSmall residual partial effect.
50.009NoEssentially zero at this lag.
6-0.216NoModerate but below the band.

Formula used

The partial autocorrelation at lag k measures the correlation between xₜ and xₜ₋ₖ after removing the linear effects of the intermediate lags xₜ₋₁ … xₜ₋ₖ₊₁.

Significance band uses the common approximation: ± z / √N. It is a quick guide, not a strict hypothesis test.

How to use this calculator

  1. Paste your observations into the values box.
  2. Set the maximum lag you want to inspect.
  3. Pick a method and confidence level for bands.
  4. Optionally difference or center the series.
  5. Press Calculate to view the table above the form.

For AR order selection, look for a sharp PACF cutoff.

Practical notes

Choosing max lag
A common rule is K ≈ 10·log10(N), capped well below N. Too-large K inflates random spikes.
When to difference
If the series has a trend or changing level, differencing can stabilize it. Then re-check PACF to identify remaining structure.

Partial autocorrelation as conditional dependence

Partial autocorrelation at lag k is the correlation between xₜ and xₜ₋ₖ after controlling for lags 1…k−1. In regression form, PACF(k) is the last coefficient φₖ in xₜ = c + Σⱼ₌₁ᵏ φⱼ xₜ₋ⱼ + εₜ. Spikes that remain after conditioning often point to the autoregressive order; an AR(2) series typically shows strong lags 1–2 and small values after. Negative values indicate inverse dependence after nearer lags are removed.

Significance bands and quick thresholds

The calculator reports an approximate band of ±z/√N. At 95% confidence, z≈1.96, so N=100 gives ±0.196 and N=400 gives ±0.098; N=25 gives about ±0.392. At 90% use z≈1.645; at 99% use z≈2.576. Values outside the band are flagged “Yes” to highlight lags unlikely under pure randomness. When many lags are inspected, treat the flag as screening, then confirm with residual diagnostics.

Two estimation paths in one workflow

Durbin–Levinson computes PACF via Yule–Walker recursion from autocorrelations rₖ (with r₀=1), yielding φₖₖ efficiently for each lag. OLS estimates PACF by regressing xₜ on an intercept and k lagged values, then reading the last coefficient. Both are standard in ARIMA identification and should align on well-behaved series. With short series, reduce K so n−k remains comfortably large and coefficients stay stable.

Data preparation that changes the story

Centering removes the mean so correlations reflect fluctuations, not level. First differencing, xₜ−xₜ₋₁, helps when trend inflates low‑lag dependence and can reveal a simpler structure. Differencing shortens the sample by one point, so confidence bands widen slightly. If you see a repeating spike at a fixed lag, consider seasonal terms or seasonal differencing.

Choosing max lag and acting on results

A practical starting point is K≈10·log10(N): N=50 suggests K≈17 and N=200 suggests K≈23, but you should cap K well below N to avoid spurious spikes. Use the table to pick candidate AR(p) orders, fit models, and recheck residual ACF/PACF for remaining pattern. If outliers dominate, clean or robustify first. Export CSV or PDF to document inputs, bands, and decisions for quick sharing.

FAQs

1. What does PACF tell me that ACF does not?

PACF isolates the direct effect of a specific lag after removing the influence of shorter lags. ACF mixes direct and indirect effects, so PACF is often clearer for selecting an autoregressive order in AR and ARIMA models.

2. How many data points should I enter?

More is better. For quick screening, aim for at least 30–50 observations so the ±z/√N band is not too wide. If you only have a short series, keep the maximum lag small and interpret spikes cautiously.

3. Should I enable centering?

Yes in most cases. Removing the mean makes correlations reflect deviations rather than the level of the series. Disable centering only when you intentionally want correlations around zero without mean adjustment, which is uncommon in practice.

4. When is differencing appropriate?

Use first differencing when the series has trend or level shifts that create strong low‑lag dependence. Differencing can stabilize the mean and reveal a simpler PACF. Avoid over‑differencing, which can introduce unnecessary negative autocorrelation.

5. Why can Durbin–Levinson and OLS produce different values?

They estimate PACF through different numerical paths: recursion from autocorrelations versus direct regression. With limited data, noisy autocorrelations, or highly correlated lag predictors, small differences are normal. Focus on the overall pattern and which lags consistently exceed the band.

6. How do I read a spike at a seasonal lag like 12?

A significant PACF at a repeating lag can indicate seasonal autoregressive structure. Consider adding seasonal AR terms or applying seasonal differencing, then recompute PACF. Also verify seasonality with plots and check that spikes are not driven by a few outliers.

Built for quick exploratory time-series diagnostics and reporting.

Related Calculators

Moving Average CalculatorSeasonal Decomposition ToolTime Series Forecast ToolStationarity Test ToolADF Test CalculatorKPSS Test CalculatorHolt Winters ToolSeasonal Index CalculatorDifferencing CalculatorAnomaly Detection Tool

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.