Tutorials › Econometrics (Graduate) › Moment Estimation for ARMA Models

ARMA Estimation and Forecasting · Tutorial 369 of 952

Moment Estimation for ARMA Models

Use theoretical autocovariance equations to estimate ARMA parameters, and recognize when moments cannot uniquely or exactly identify them.

Intermediate 12 min read

What You'll Learn

  • Form Yule–Walker estimates for autoregressive coefficients and innovation variance.
  • Solve the MA(1) moment equations and use invertibility to select a parameter root.
  • Set up autocovariance moment equations for an ARMA(1,1) model.
  • Recognize reciprocal-root ambiguity, weak identification, and infeasible sample moments.
  • Explain why estimates based on sample autocovariances vary across samples.

Why Estimate ARMA Parameters From Moments?

An ARMA model connects a series’ autocovariances to a small set of autoregressive and moving-average parameters. Moment estimation uses that connection directly: calculate sample autocovariances, then choose parameter values whose theoretical autocovariances match them. It is often a transparent way to see what the dependence pattern can—and cannot—tell us about model parameters.

The equations differ by model. For a pure autoregression, the Yule–Walker equations are linear in the autoregressive coefficients. For a moving-average or mixed model, the corresponding equations are generally nonlinear, and a given set of moments may not identify one admissible parameter vector. In all cases, estimates are based on sample moments and therefore vary from sample to sample.

Model and Sample Moments

Write the centered ARMA(\(p,q\)) model as

$$ X_t-\mu = \phi_1(X_{t-1}-\mu)+\cdots+\phi_p(X_{t-p}-\mu) +\varepsilon_t+\theta_1\varepsilon_{t-1}+\cdots+\theta_q\varepsilon_{t-q}. $$

Here \(\mu=E(X_t)\), and the innovations \(\varepsilon_t\) have mean zero, variance \(\sigma^2\), and zero covariance at distinct times. Assume the process is covariance-stationary and the ARMA representation is causal; for invertible MA parameterization, impose the usual invertibility root condition. These conditions ensure the theoretical autocovariances are well defined. Gaussian innovations are not required for the moment equations below.

Let \(\gamma(k)=\operatorname{Cov}(X_t,X_{t-k})\). For a sample \(X_1,\ldots,X_n\), define the sample mean \(\bar{x}=n^{-1}\sum_{t=1}^n X_t\), and use the convention

$$ \hat{\gamma}(k) = \frac{1}{n}\sum_{t=k+1}^{n}(X_t-\bar{x})(X_{t-k}-\bar{x}), \qquad k\geq 0. $$

The denominator is \(n\) at every lag; other conventions exist, so stating the convention matters when reproducing a calculation. Moment estimation substitutes \(\hat{\gamma}(k)\) for \(\gamma(k)\) in the model’s theoretical equations. It does not make the sample moments equal to their population counterparts.

Definition: A moment estimator is a parameter value obtained by equating one or more theoretical moments implied by a model to corresponding sample moments, then solving those equations. If the equations have multiple solutions or no exact admissible solution, an additional selection rule or an approximate fitting criterion is needed.

Yule–Walker Estimation for an AR Model

For a zero-mean AR(\(p\)) process, \(X_t=\sum_{j=1}^p\phi_jX_{t-j}+\varepsilon_t\), covariance with \(X_{t-k}\) gives, for \(k\geq1\),

$$ \gamma(k)=\sum_{j=1}^p\phi_j\gamma(k-j). $$

Use \(\gamma(-k)=\gamma(k)\) to write the first \(p\) equations as \(\boldsymbol{\Gamma}_p\boldsymbol{\phi}=\boldsymbol{\gamma}_p\), where \(\boldsymbol{\Gamma}_p\) has entries \(\gamma(|i-j|)\), \(\boldsymbol{\phi}=(\phi_1,\ldots,\phi_p)^\mathsf{T}\), and \(\boldsymbol{\gamma}_p=(\gamma(1),\ldots,\gamma(p))^\mathsf{T}\). Replacing theoretical autocovariances by sample autocovariances yields the Yule–Walker estimator, provided the sample matrix is invertible:

$$ \hat{\boldsymbol{\phi}}_{\mathrm{YW}} = \hat{\boldsymbol{\Gamma}}_p^{-1}\hat{\boldsymbol{\gamma}}_p. $$

The innovation variance follows from the lag-zero equation, \(\gamma(0)=\sum_{j=1}^p\phi_j\gamma(j)+\sigma^2\). Its moment estimate is therefore \(\hat{\sigma}^2=\hat{\gamma}(0)-\sum_{j=1}^p\hat{\phi}_j\hat{\gamma}(j)\). These equations are specific to a pure AR(\(p\)); applying them as if they were the exact equations for an ARMA model generally does not estimate its parameters correctly.

Worked Example: Yule–Walker Estimates for an AR(2)

Suppose a hypothetical sample has \(\hat{\gamma}(0)=10\), \(\hat{\gamma}(1)=5\), and \(\hat{\gamma}(2)=1\), in squared units of the measured series. Treat the model as an AR(2). The sample Yule–Walker equations are

$$ \begin{pmatrix}10&5\\5&10\end{pmatrix} \begin{pmatrix}\hat{\phi}_1\\\hat{\phi}_2\end{pmatrix} = \begin{pmatrix}5\\1\end{pmatrix}. $$

The determinant is \(10(10)-5(5)=75\), so the matrix is invertible. Solving gives

$$ \hat{\phi}_1=\frac{10(5)-5(1)}{75}=\frac{45}{75}=0.6000, \qquad \hat{\phi}_2=\frac{10(1)-5(5)}{75}=\frac{-15}{75}=-0.2000. $$

The innovation-variance estimate is \(\hat{\sigma}^2=10-(0.6000)(5)-(-0.2000)(1)=7.200\), in squared series units. This is a moment estimate under the assumed AR(2) model, not proof that the model generated the sample. For an application, one would also check whether the fitted coefficients satisfy the stationarity requirements and assess model adequacy separately.

Moving-Average Moments and Identification

For an MA(1), \(X_t-\mu=\varepsilon_t+\theta\varepsilon_{t-1}\). Directly taking covariances, using the zero covariance of distinct innovations, gives

$$ \gamma(0)=\sigma^2(1+\theta^2), \qquad \gamma(1)=\sigma^2\theta, \qquad \gamma(k)=0\quad(k\geq2). $$

The ratio \(r=\gamma(1)/\gamma(0)\) removes the scale parameter and satisfies \(r=\theta/(1+\theta^2)\). This equation can have two solutions: if \(\theta\neq0\), then \(\theta\) and \(1/\theta\) give the same ratio. The standard invertible MA(1) representation imposes \(|\theta|<1\), selecting at most one of these roots. A real solution also requires \(|r|\leq 1/2\), since \(1+\theta^2\geq2|\theta|\).

With sample moments, set \(\hat{r}=\hat{\gamma}(1)/\hat{\gamma}(0)\) and solve the resulting quadratic. If an invertible real root exists, estimate the innovation variance by \(\hat{\sigma}^2=\hat{\gamma}(0)/(1+\hat{\theta}^2)\). If \(|\hat{r}|>1/2\), the sample moments do not satisfy the exact MA(1) moment restriction, so there is no real exact solution. This can happen from sampling variation even when an MA(1) is a reasonable population model; it is not by itself a proof that no such model could have generated the data.

Worked Example: Selecting an Invertible MA(1) Root

Suppose hypothetical sample autocovariances are \(\hat{\gamma}(0)=5.000\) and \(\hat{\gamma}(1)=1.500\), in squared series units. Then \(\hat{r}=1.500/5.000=0.3000\). The moment equation becomes \(0.3000=\theta/(1+\theta^2)\), or

$$ 0.3000\theta^2-\theta+0.3000=0. $$

The quadratic formula gives \(\theta=[1\pm\sqrt{1-4(0.3000)(0.3000)}]/0.6000=[1\pm0.8000]/0.6000\), so the roots are \(0.3333\) and \(3.000\). The invertibility restriction \(|\theta|<1\) selects \(\hat{\theta}=0.3333\). Then

$$ \hat{\sigma}^2 = \frac{5.000}{1+(0.3333)^2} \approx 4.500. $$

The alternative root produces the same autocovariance ratio but is not the chosen invertible representation. The estimated innovation variance is approximately \(4.500\) squared series units.

Moment Equations for a Mixed ARMA(1,1)

For an ARMA(1,1), let \(Y_t=X_t-\mu\), so \(Y_t=\phi Y_{t-1}+\varepsilon_t+\theta\varepsilon_{t-1}\). Under causality, \(|\phi|<1\). Its theoretical moments are

$$ \gamma(0)=\sigma^2\frac{1+2\phi\theta+\theta^2}{1-\phi^2}, \qquad \gamma(1)=\sigma^2\frac{(\phi+\theta)(1+\phi\theta)}{1-\phi^2}, \qquad \gamma(k)=\phi^{k-1}\gamma(1)\quad(k\geq1). $$

Thus, when \(\gamma(1)\neq0\), \(\gamma(2)/\gamma(1)=\phi\). One possible moment procedure first estimates \(\phi\) by \(\hat{\gamma}(2)/\hat{\gamma}(1)\), then solves the \(\gamma(1)/\gamma(0)\) equation for \(\theta\). This ratio approach is sensitive when \(\hat{\gamma}(1)\) is close to zero. More generally, one can choose parameters to minimize a weighted sum of squared discrepancies between several sample autocovariances and their theoretical values. Such a fitting rule must be stated: matching more sample moments than there are parameters will not usually produce exact equality.

Worked Example: Recovering ARMA(1,1) Parameters From Moments

Consider hypothetical sample autocovariances \(\hat{\gamma}(0)=4.000\), \(\hat{\gamma}(1)=2.769\), and \(\hat{\gamma}(2)=1.385\), in squared series units. These values are chosen to illustrate the equations; they are not observations from a real study. First, \(\hat{\phi}=\hat{\gamma}(2)/\hat{\gamma}(1)=1.385/2.769\approx0.5002\), approximately \(0.5000\) at the precision of the displayed moments. Using \(\hat{r}=\hat{\gamma}(1)/\hat{\gamma}(0)\approx0.6923\) and \(\hat{\phi}=0.5000\), the equation for \(\theta\) can be written

$$ (\hat{r}-\hat{\phi})\theta^2 + (2\hat{r}\hat{\phi}-1-\hat{\phi}^2)\theta + (\hat{r}-\hat{\phi})=0. $$

Substitution gives approximately \(0.1923\theta^2-0.5577\theta+0.1923=0\). The roots are approximately \(0.4000\) and \(2.500\); their product is one. Under the invertibility restriction \(|\theta|<1\), choose \(\hat{\theta}=0.4000\). Finally,

$$ \hat{\sigma}^2 = \hat{\gamma}(0) \frac{1-\hat{\phi}^2}{1+2\hat{\phi}\hat{\theta}+\hat{\theta}^2} = 4.000\frac{1-0.5000^2}{1+2(0.5000)(0.4000)+0.4000^2} = \frac{3.000}{1.560} \approx1.923. $$

The estimated innovation variance is about \(1.923\) squared series units. Rounding the sample moments accounts for the small discrepancy between the displayed ratio estimate and \(0.5000\).

Identification and Sampling Variability

A parameter is identified by a set of moments when those moments determine it uniquely within the stated parameter space. In the MA(1) example, the moment ratio alone cannot distinguish \(\theta\) from \(1/\theta\); invertibility supplies a convention that selects one representation. In mixed models, identification can also become weak or fail. For example, if an AR and MA factor cancel, different parameter descriptions can represent the same process. Ratios used in estimation may be unstable when their denominators are near zero.

Even when the population equations uniquely determine the parameters locally, estimates use random sample autocovariances. Under suitable weak-dependence conditions, sample autocovariances are consistent, and their sampling errors shrink as the sample grows. A moment estimator inherits consistency when the population moment equations have a unique, sufficiently regular solution and the sample equations are solved appropriately. Near multiple roots, boundaries, or weakly identified configurations, small changes in sample moments can cause large changes in estimated parameters. Therefore, an apparently precise numerical solution to the sample equations does not by itself establish reliable estimation.

Key takeaway: Yule–Walker estimation is a direct linear method for pure AR models. MA and mixed-model moment estimation requires nonlinear equations and attention to parameter restrictions, identification, and the variation of sample autocovariances.

Common Mistakes

  • Treating AR equations as valid for every ARMA model. The pure AR Yule–Walker equations do not generally hold in that form when moving-average terms are present. Use the theoretical autocovariance equations for the specified ARMA model.
  • Ignoring invertibility when solving an MA moment equation. Reciprocal roots can yield the same moments. State the invertibility restriction and select the admissible root.
  • Forcing an exact MA(1) solution when \(|\hat{r}|>1/2\). The sample ratio then violates the population equation’s feasible range. Recognize that the exact sample equations have no real solution, or specify an approximate fitting procedure.
  • Interpreting estimates as exact population quantities. Sample autocovariances fluctuate. Report moment estimates as estimates, and consider whether the moments identify the parameters stably.

Check Your Understanding

Use the equations and restrictions in this tutorial to answer the following.

  1. Why must the sample Yule–Walker matrix be invertible to use the displayed solution for an AR(\(p\))?
  2. For an MA(1), what does the invertibility restriction contribute when the moment ratio has two real roots?
  3. If \(\hat{\gamma}(1)/\hat{\gamma}(0)=0.56\), can the exact MA(1) ratio equation have a real solution? Explain.
  4. For an ARMA(1,1), why can estimating \(\phi\) from \(\hat{\gamma}(2)/\hat{\gamma}(1)\) be unstable when \(\hat{\gamma}(1)\) is small?
  5. Give one reason that sample moment estimates can differ substantially from the parameters that generated a stationary series.
Clinical Biostats