Tutorials › Econometrics (Graduate) › Exact Gaussian Likelihood via the Innovations Algorithm

ARMA Estimation and Forecasting · Tutorial 370 of 952

Exact Gaussian Likelihood via the Innovations Algorithm

Learn how the innovations algorithm turns stationary ARMA autocovariances into an exact Gaussian likelihood for a finite observed series.

Intermediate 13 min read

What You'll Learn

  • State the assumptions that make the finite-sample Gaussian likelihood exact.
  • Compute innovations and their variances recursively from the model autocovariances.
  • Derive the likelihood as a product of one-step conditional Gaussian densities.
  • Evaluate exact likelihoods for hypothetical AR(1) and MA(1) data.
  • Explain why the first observation must use its stationary marginal variance.
  • Identify when the innovations algorithm or exact likelihood calculation is being misapplied.

Why the Initial Observation Matters

For a stationary ARMA model, the observed series is not generated by starting the process at the first recorded value. Its first observation is part of a process that has been running over time, and therefore has a stationary marginal distribution. An exact likelihood for a finite sample must include that distribution as well as the dependence among later observations.

The innovations algorithm handles this by building the joint distribution one observation at a time. At each step it computes the one-step prediction error and its variance using the model’s autocovariances. For Gaussian data, these quantities determine the likelihood exactly, without discarding the initial observation.

Model and Exact Gaussian Likelihood

Let \(Y_1,\ldots,Y_n\) be consecutive observations from a stationary, causal Gaussian ARMA process with unconditional mean \(\mu\). Write \(X_t=Y_t-\mu\), and use the model

$$ \phi(B)X_t=\theta(B)\varepsilon_t,\qquad \varepsilon_t\sim N(0,\sigma_\varepsilon^2), $$

where \(B\) is the lag operator, \(\phi(B)=1-\phi_1B-\cdots-\phi_pB^p\), and \(\theta(B)=1+\theta_1B+\cdots+\theta_qB^q\). The Gaussian innovations \(\varepsilon_t\) are independent over time. The AR parameters satisfy the stationarity condition, so the process has a stationary distribution; the usual invertibility restriction gives a standard identifiable ARMA representation. Denote the autocovariance at lag \(h\) by \(\gamma(h)=\operatorname{Cov}(X_t,X_{t-h})\), with \(\gamma(-h)=\gamma(h)\).

Definition: The exact Gaussian likelihood is the joint density of the observed vector \(Y_1,\ldots,Y_n\) under the stationary Gaussian ARMA model. It includes the stationary marginal distribution of the first observation and the conditional distributions of all subsequent observations.

For a candidate parameter vector, form the centered observations \(x_t=y_t-\mu\). Define the one-step innovation \(e_t\) as the observation minus its linear prediction from the preceding observations, and let \(F_t\) be its variance. For a Gaussian process, the linear predictor is also the conditional mean. The likelihood is

$$ L=\prod_{t=1}^{n}\frac{1}{\sqrt{2\pi F_t}} \exp\!\left(-\frac{e_t^2}{2F_t}\right), \qquad \ell=-\frac{n}{2}\log(2\pi) -\frac{1}{2}\sum_{t=1}^{n}\left(\log F_t+\frac{e_t^2}{F_t}\right). $$

The likelihood depends on the ARMA parameters through the mean, the autocovariances, and hence the recursively computed \(e_t\) and \(F_t\). The first innovation is simply \(e_1=x_1\), and its variance is \(F_1=\gamma(0)\), not a variance obtained by assuming that the process began at time 1.

The Innovations Recursion

The recursion uses only the autocovariances implied by the candidate model. For each observation \(t\), let \(c_{t,j}\) be the coefficient on the earlier innovation \(e_j\) in the linear prediction of \(X_t\). Also define \(K_{t,j}=\operatorname{Cov}(X_t,e_j)\). Initialize \(F_1=\gamma(0)\) and \(e_1=x_1\). For \(t=2,\ldots,n\), calculate in order:

$$ K_{t,j}=\gamma(t-j)-\sum_{k=1}^{j-1}c_{j,k}K_{t,k}, \qquad c_{t,j}=\frac{K_{t,j}}{F_j}, \qquad j=1,\ldots,t-1, $$
$$ e_t=x_t-\sum_{j=1}^{t-1}c_{t,j}e_j, \qquad F_t=\gamma(0)-\sum_{j=1}^{t-1}c_{t,j}^{\,2}F_j. $$

The sum in the formula for \(K_{t,j}\) is empty when \(j=1\), so \(K_{t,1}=\gamma(t-1)\). Each \(K_{t,j}\) is computed using values with smaller second index, and each \(c_{t,j}\) uses an already computed innovation variance \(F_j\). The recursion therefore specifies a sequential calculation.

Why the Recursion Gives the Exact Likelihood

The argument is a sequence of projections. Suppose \(e_1,\ldots,e_{t-1}\) have been constructed as mutually uncorrelated prediction errors. The best linear prediction of \(X_t\) from them is \(\sum_{j<t}c_{t,j}e_j\). Since the innovations are uncorrelated, the coefficient on \(e_j\) is its covariance with \(X_t\) divided by its variance: \(c_{t,j}=\operatorname{Cov}(X_t,e_j)/F_j\). The covariance recursion follows directly from \(e_j=X_j-\sum_{k<j}c_{j,k}e_k\):

$$ \operatorname{Cov}(X_t,e_j) =\gamma(t-j)-\sum_{k=1}^{j-1}c_{j,k}\operatorname{Cov}(X_t,e_k). $$

Subtracting the projection from \(X_t\) gives \(e_t\). Its covariance with any earlier innovation \(e_j\) is zero, because the coefficient \(c_{t,j}\) removes exactly the component along \(e_j\). Orthogonality and the variance formula for a projection then give

$$ \operatorname{Var}(e_t) =\gamma(0)-\sum_{j=1}^{t-1}c_{t,j}^{\,2}F_j=F_t. $$

These projection statements establish the recursion for second moments. Gaussianity supplies the further fact needed for a likelihood: a Gaussian prediction error uncorrelated with the preceding observations is independent of them. Thus, conditional on \(X_1,\ldots,X_{t-1}\), \(X_t\) is normal with mean \(\sum_{j<t}c_{t,j}e_j\) and variance \(F_t\). Multiplying these conditional densities, starting with \(X_1\sim N(0,\gamma(0))\), gives the stated joint density. This is why the resulting likelihood is exact for the finite sample, rather than an approximation based on fixed initial values.

Worked Example: Exact Likelihood for Three AR(1) Observations

Suppose a hypothetical series follows \(X_t=0.6X_{t-1}+\varepsilon_t\), with \(\varepsilon_t\sim N(0,4)\), and the observed values are \(x_1=1\), \(x_2=-0.5\), and \(x_3=1.2\). The AR coefficient has absolute value less than 1, so the stationary variance exists. For this model, \(\gamma(h)=\gamma(0)(0.6)^{|h|}\) and \(\gamma(0)=4/(1-0.6^2)=6.25\). Thus \(\gamma(1)=3.75\) and \(\gamma(2)=2.25\).

At \(t=1\), \(e_1=1\) and \(F_1=6.25\). At \(t=2\), \(K_{2,1}=3.75\), so \(c_{2,1}=3.75/6.25=0.6\). Therefore \(e_2=-0.5-0.6(1)=-1.1\), and \(F_2=6.25-0.6^2(6.25)=4\).

For \(t=3\), first \(K_{3,1}=\gamma(2)=2.25\), giving \(c_{3,1}=2.25/6.25=0.36\). Next, \(K_{3,2}=\gamma(1)-c_{2,1}K_{3,1}=3.75-0.6(2.25)=2.4\), so \(c_{3,2}=2.4/4=0.6\). The third error and its variance are

$$ e_3=1.2-0.36(1)-0.6(-1.1)=1.5, \qquad F_3=6.25-0.36^2(6.25)-0.6^2(4)=4. $$

The quadratic contribution is \(e_1^2/F_1+e_2^2/F_2+e_3^2/F_3=1/6.25+1.21/4+2.25/4=1.025\). Also, \(\sum_t\log F_t=\log(6.25)+2\log(4)=4.60517\). Hence \(\ell=-\tfrac{3}{2}\log(2\pi)-\tfrac{1}{2}(4.60517+1.025)=-5.57190\), to five decimal places. The first variance is the stationary variance \(6.25\), not the innovation variance \(4\).

Worked Example: The Initial Variance in a Stationary MA(1)

Consider hypothetical observations \(x_1=2\) and \(x_2=1\) from \(X_t=\varepsilon_t+0.5\varepsilon_{t-1}\), where \(\varepsilon_t\sim N(0,1)\). This finite moving-average model is stationary. Its autocovariances are \(\gamma(0)=1+0.5^2=1.25\), \(\gamma(1)=0.5\), and \(\gamma(h)=0\) for \(|h|>1\).

The first innovation is \(e_1=2\) with \(F_1=1.25\), reflecting both \(\varepsilon_1\) and \(\varepsilon_0\) in the stationary process. At \(t=2\), \(K_{2,1}=0.5\), so \(c_{2,1}=0.5/1.25=0.4\). Therefore \(e_2=1-0.4(2)=0.2\), and \(F_2=1.25-0.4^2(1.25)=1.05\).

The quadratic contribution is \(4/1.25+0.2^2/1.05=3.23810\), and the log-variance contribution is \(\log(1.25)+\log(1.05)=0.271934\). Thus \(\ell=-\log(2\pi)-\tfrac{1}{2}(3.23810+0.271934)=-3.59289\). Setting the unobserved \(\varepsilon_0\) to zero would not produce this stationary marginal distribution for \(X_1\), and would change the likelihood.

Worked Example: A Nonzero Mean in the Likelihood

Suppose a hypothetical AR(1) candidate has mean \(\mu=10\), coefficient \(0.5\), and innovation variance \(4\). The observations are \(y_1=10\), \(y_2=12\), and \(y_3=11\), so the centered values are \(x=(0,2,1)\). The coefficient satisfies the stationarity condition. Its stationary autocovariances are \(\gamma(0)=4/(1-0.5^2)=5.33333\), \(\gamma(1)=2.66667\), and \(\gamma(2)=1.33333\).

The first error is \(e_1=0\), \(F_1=5.33333\). At \(t=2\), \(c_{2,1}=2.66667/5.33333=0.5\), giving \(e_2=2\) and \(F_2=5.33333-0.5^2(5.33333)=4\). At \(t=3\), \(c_{3,1}=1.33333/5.33333=0.25\). Also \(K_{3,2}=2.66667-0.5(1.33333)=2\), so \(c_{3,2}=2/4=0.5\). Consequently \(e_3=1-0.25(0)-0.5(2)=0\), and \(F_3=5.33333-0.25^2(5.33333)-0.5^2(4)=4\).

Here the quadratic sum is \(0+2^2/4+0=1\), while the log-variance sum is \(\log(5.33333)+2\log(4)=4.44657\). The candidate log likelihood is \(\ell=-\tfrac{3}{2}\log(2\pi)-\tfrac{1}{2}(4.44657+1)=-5.48010\). Centering by the candidate mean is essential: the likelihood is for deviations from \(\mu\), not for the raw observations treated as mean-zero data.

Using and Interpreting the Result

For each admissible candidate parameter vector, the model supplies \(\mu\) and \(\gamma(h)\). The recursion then supplies a set of one-step errors and variances, and the log-likelihood formula gives a numerical score for that candidate. Likelihood maximization selects parameter values with comparatively high density for the observed series; it does not imply that the fitted model is true or that a coefficient is causal.

This calculation also clarifies the meaning of “exact.” It refers to evaluating the finite-sample Gaussian likelihood using the stationary model distribution, including all initial-observation effects. It does not mean that the parameters are known without uncertainty, nor that the likelihood calculation is free of numerical issues. In a nondegenerate stationary model, each \(F_t\) is positive. If a computed variance is nonpositive, check the parameter constraints, autocovariances, and recursion rather than taking its logarithm.

Common Mistakes

  • Using the innovation variance for the first observation. The first observation has variance \(\gamma(0)\), which generally differs from \(\sigma_\varepsilon^2\). Use the stationary autocovariance implied by the model.
  • Ignoring the conditioning structure. The \(e_t\) values are prediction errors, not generally the raw centered observations. Compute each using the preceding innovations and their coefficients.
  • Treating uncorrelatedness as independence without an assumption. The recursion constructs uncorrelated innovations from covariance information. Their independence, needed for the Gaussian density factorization, follows here from joint Gaussianity.
  • Forgetting to center by the candidate mean. Use \(x_t=y_t-\mu\) throughout. A different candidate mean changes the errors and therefore the likelihood.
  • Assuming the recursion eliminates the need for model assumptions. The autocovariances must correspond to a valid stationary model, and a Gaussian likelihood requires Gaussianity.
Key takeaway: The exact Gaussian ARMA likelihood is obtained by recursively calculating one-step innovations \(e_t\) and variances \(F_t\) from the stationary autocovariances, then summing \(\log F_t+e_t^2/F_t\). Its first term uses \(F_1=\gamma(0)\), preserving the stationary distribution of the initial observation.

Check Your Understanding

Use the recursion and likelihood formula to answer these questions.

  1. Why is \(F_1\) generally not equal to the ARMA innovation variance \(\sigma_\varepsilon^2\)?
  2. For an AR(1) with coefficient \(0.5\) and innovation variance \(4\), calculate the stationary variance \(\gamma(0)\).
  3. In the innovations recursion, what quantity does \(K_{t,j}\) represent, and how does it determine \(c_{t,j}\)?
  4. Why does Gaussianity allow the one-step conditional densities to be multiplied to obtain the joint likelihood?
  5. If the candidate mean changes while the data and ARMA coefficients stay fixed, which parts of the likelihood calculation can change?
Clinical Biostats