Yule-Walker equations

Understanding Yule-Walker Equations

The Yule-Walker equations are a set of linear equations used in the field of statistics and signal processing to estimate the coefficients of an autoregressive (AR) model. An AR model is a type of time series model that expresses a variable of interest as a linear combination of its own past values. The Yule-Walker equations provide a method for estimating the parameters of the AR model from the autocorrelation function of the time series data.

Background of Autoregressive Models

Before diving into the Yule-Walker equations, it is important to understand autoregressive models. An autoregressive model of order p, denoted as AR(p), can be written as:

Xt = φ1Xt-1 + φ2Xt-2 + ... + φpXt-p + εt,

where Xt is the value of the time series at time t, φ1, φ2, ..., φp are the parameters of the model, and εt

is white noise with zero mean and constant variance.

Derivation of Yule-Walker Equations

The Yule-Walker equations are derived from the autocorrelation function of the time series. The autocorrelation function, ρ(k), measures the correlation between values of the time series at different times, separated by a lag k. For an AR(p) model, the Yule-Walker equations are given by:

ρ(1) = φ1ρ(0) + φ2ρ(1) + ... + φpρ(p-1),

ρ(2) = φ1ρ(1) + φ2ρ(0) + ... + φpρ(p-2),


ρ(p) = φ1ρ(p-1) + φ2ρ(p-2) + ... + φpρ(0).

These equations can be written in matrix form as:

Rφ = r,

where R is the autocorrelation matrix, φ is the vector of AR coefficients, and r is the autocorrelation vector. The autocorrelation matrix R is Toeplitz, meaning that its diagonals from top left to bottom right are constant.

Solving Yule-Walker Equations

To estimate the AR coefficients, one can solve the Yule-Walker equations using methods for solving linear equations, such as the Levinson-Durbin recursion, which is computationally efficient for Toeplitz matrices. The solution provides estimates of the AR coefficients that are consistent and asymptotically efficient, meaning that as the size of the time series data grows, the estimates converge to the true values with minimal variance.

Applications of Yule-Walker Equations

The Yule-Walker equations are widely used for parameter estimation in AR models, which have applications in various domains such as economics, finance, engineering, and environmental science. AR models are used to forecast future values of a time series based on its own past behavior, making them valuable tools for prediction and analysis.

Limitations and Considerations

While the Yule-Walker equations are a powerful tool for estimating AR model parameters, there are some limitations to consider. The accuracy of the estimates depends on the assumption that the time series is stationary, meaning that its statistical properties do not change over time. If the time series is non-stationary, differencing or other transformations may be required before applying the Yule-Walker method. Additionally, the Yule-Walker estimates are based on the sample autocorrelation function, which can introduce sampling error, especially for small sample sizes.


The Yule-Walker equations are a fundamental component of time series analysis, providing a method to estimate the parameters of autoregressive models. They leverage the autocorrelation structure of the data to produce parameter estimates, enabling the modeling and forecasting of time series. Understanding and applying the Yule-Walker equations is essential for statisticians, economists, and engineers working with time series data.

Please sign up or login with your details

Forgot password? Click here to reset