
In
time series analysis
In mathematics, a time series is a series of data points indexed (or listed or graphed) in time order. Most commonly, a time series is a sequence taken at successive equally spaced points in time. Thus it is a sequence of discrete-time data. ...
, the partial autocorrelation function (PACF) gives the
partial correlation
In probability theory and statistics, partial correlation measures the degree of association between two random variables, with the effect of a set of controlling random variables removed. When determining the numerical relationship between two ...
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
Autocorrelation, sometimes known as serial correlation in the discrete time case, measures the correlation of a signal with a delayed copy of itself. Essentially, it quantifies the similarity between observations of a random variable at differe ...
, 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 (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)
model
A model is an informative representation of an object, person, or system. The term originally denoted the plans of a building in late 16th-century English, and derived via French and Italian ultimately from Latin , .
Models can be divided in ...
or in an extended
ARIMA
Arima, officially The Royal Chartered Borough of Arima is the easternmost and second largest in area of the three boroughs of Trinidad and Tobago. It is geographically adjacent to Sangre Grande and Arouca at the south central foothills of the ...
(p,d,q) model.
Definition
Given a time series
, the partial autocorrelation of lag
, denoted
, is the
autocorrelation
Autocorrelation, sometimes known as serial correlation in the discrete time case, measures the correlation of a signal with a delayed copy of itself. Essentially, it quantifies the similarity between observations of a random variable at differe ...
between
and
with the linear dependence of
on
through
removed. Equivalently, it is the autocorrelation between
and
that is not accounted for by lags
through
, inclusive.
where
and
are
linear combination
In mathematics, a linear combination or superposition is an Expression (mathematics), expression constructed from a Set (mathematics), set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of ''x'' a ...
s of
that minimize the
mean squared error
In statistics, the mean squared error (MSE) or mean squared deviation (MSD) of an estimator (of a procedure for estimating an unobserved quantity) measures the average of the squares of the errors—that is, the average squared difference betwee ...
of
and
respectively. For
stationary process
In mathematics and statistics, a stationary process (also called a strict/strictly stationary process or strong/strongly stationary process) is a stochastic process whose statistical properties, such as mean and variance, do not change over time. M ...
es, the coefficients in
and
are the same, but reversed:
Calculation
The theoretical partial autocorrelation function of a stationary time series can be calculated by using the Durbin–Levinson Algorithm:
where
for
and
is the autocorrelation function.
The formula above can be used with sample autocorrelations to find the sample partial autocorrelation function of any given time series.
Examples
The following table summarizes the partial autocorrelation function of different models:
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.
Autoregressive model identification

Partial autocorrelation is a commonly used tool for identifying the order of an autoregressive model.
As previously mentioned, the partial autocorrelation of an AR(''p'') process is zero at lags greater than ''p''.
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 with a
mean
A mean is a quantity representing the "center" of a collection of numbers and is intermediate to the extreme values of the set of numbers. There are several kinds of means (or "measures of central tendency") in mathematics, especially in statist ...
of 0.
Therefore, a
confidence interval can be constructed by dividing a selected
z-score
In statistics, the standard score or ''z''-score is the number of standard deviations by which the value of a raw score (i.e., an observed value or data point) is above or below the mean value of what is being observed or measured. Raw scores ...
by
. 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.
References
{{Statistics, analysis
Time domain analysis
Covariance and correlation
Time series