Tutorials › Econometrics (Graduate) › Inference Under Misspecified Moments

Generalized Method of Moments · Tutorial 221 of 952

Inference Under Misspecified Moments

Learn how nonzero population moments change GMM’s asymptotic variance, and how to construct a sandwich covariance estimator that accounts for both criterion curvature and score variation.

Advanced 12 min read

What You'll Learn

  • Define the pseudo-true parameter as the minimizer of the population weighted GMM criterion.
  • Derive the first-order condition and Hessian when population moments are nonzero.
  • Show why the asymptotic score includes variation in both sample moments and their derivatives.
  • Construct iid and long-run covariance estimators for inference around the pseudo-true parameter.
  • Distinguish fixed-weight inference from cases where estimated-weight variation also matters.

Why Misspecification Changes Inference

GMM is often introduced through population moment restrictions that hold exactly at a parameter value: the expected moment vector is zero. In applications, the chosen moments may not all be exactly compatible with the data-generating process. The weighted GMM estimator can still converge, but it converges to a parameter that minimizes the population criterion rather than to a value that makes every moment zero. That parameter is called the pseudo-true parameter.

Inference around this minimizer requires more than substituting a covariance estimate into the usual correctly specified formula. When the population moments are nonzero, random changes in the sample derivatives affect the criterion’s gradient. The curvature of the population criterion also includes a term involving the second derivatives of the moments. Both features matter for a valid sandwich covariance.

Definition: Let \(g_i(\theta)\) be a \(q\)-dimensional moment vector for observation \(i\), and let \(W\) be a fixed, symmetric, positive definite \(q \times q\) weighting matrix. Define \(m(\theta)=E[g_i(\theta)]\) and \(Q(\theta)=m(\theta)'Wm(\theta)\). A pseudo-true parameter \(\theta^*\) is an interior minimizer of \(Q(\theta)\). Under misspecification, \(m(\theta^*)\) need not equal zero.

For the derivations below, suppose the observations are independent and identically distributed, the moments are twice continuously differentiable near \(\theta^*\), and the required expectations and variances are finite. Assume the sample criterion has a consistent minimizer near \(\theta^*\), the population minimizer is locally unique, and the criterion Hessian there is nonsingular and positive definite. For time-series data, the same structure applies with a long-run covariance and suitable stationarity and central limit conditions.

Write \(G_i(\theta)=\partial g_i(\theta)/\partial\theta'\), a \(q \times p\) matrix, and \(G(\theta)=E[G_i(\theta)]\). The sample criterion is \(Q_n(\theta)=\bar g_n(\theta)'W\bar g_n(\theta)\), where \(\bar g_n(\theta)=n^{-1}\sum_{i=1}^n g_i(\theta)\). We use one-half of this criterion when taking derivatives; this changes neither its minimizer nor the resulting sandwich covariance.

The Population Gradient and Curvature

Differentiating \(Q(\theta)/2\) gives the population first-order condition

$$ G(\theta^*)'Wm(\theta^*)=0. $$

This is an orthogonality condition: the weighted population moment vector is orthogonal to the columns of the moment Jacobian. It does not require the weighted moments, or the moments themselves, to be zero.

The Hessian of \(Q(\theta)/2\) at \(\theta^*\), denoted \(A\), is

$$ A = G'WG + \sum_{j=1}^{q}[Wm]_j\,E\!\left[\frac{\partial^2 g_{ij}(\theta^*)}{\partial\theta\,\partial\theta'}\right], $$

where \(G=G(\theta^*)\), \(m=m(\theta^*)\), and \(g_{ij}\) is the \(j\)th component of \(g_i\). The first term is the familiar Jacobian-weight-Jacobian term. The second term vanishes under correct specification because then \(m=0\); under misspecification it generally does not.

Derivation: The gradient of \(Q(\theta)/2\) is \(G(\theta)'Wm(\theta)\). Differentiating this product gives the derivative of \(G(\theta)\), multiplied by \(Wm(\theta)\), plus \(G(\theta)'W\) multiplied by the derivative \(G(\theta)\) of \(m(\theta)\). In component form these terms are exactly the second-derivative sum and \(G'WG\) above. Thus the curvature is the Hessian of the weighted criterion, not merely \(G'WG\).

The sample first-order condition is \(G_n(\hat\theta)'W\bar g_n(\hat\theta)=0\), where \(G_n(\theta)=n^{-1}\sum_i G_i(\theta)\). Even at \(\theta^*\), its random fluctuation has two sources. The sample moments fluctuate around \(m\), and the sample Jacobian fluctuates around \(G\). Define the \(p\)-dimensional influence score

$$ \psi_i = G'W\{g_i(\theta^*)-m\} + \{G_i(\theta^*)-G\}'Wm. $$

The first term is the familiar contribution from moment variation. The second captures derivative variation multiplied by the nonzero weighted population moments. Its expectation is zero. A first-order expansion of the sample condition yields

$$ \sqrt{n}(\hat\theta-\theta^*) = -A^{-1}\frac{1}{\sqrt{n}}\sum_{i=1}^{n}\psi_i+o_p(1). $$

If \(B=E[\psi_i\psi_i']\) is nonsingular or positive semidefinite, the iid asymptotic covariance of \(\sqrt n(\hat\theta-\theta^*)\) is \(A^{-1}BA^{-1}\). Since \(A\) is a symmetric Hessian, this is also \(A^{-1}BA^{-T}\). For dependent observations, replace \(B\) with the long-run covariance of \(\psi_i\).

Worked Examples

Worked Example: Derivative Variation Adds to the Score

Suppose there is one parameter \(\theta\), two moments, and \(W=I\), the \(2 \times 2\) identity matrix. For iid observations, let

$$ g_i(\theta)= \begin{pmatrix} A_i-\theta X_i\\ B_i-2\theta \end{pmatrix}, \qquad E[A_i]=1,\quad E[X_i]=1,\quad E[B_i]=0. $$

Assume \(A_i-1\), \(X_i-1\), and \(B_i\) are mutually independent, with variances \(1\), \(1\), and \(0.25\), respectively. The population moments are \(m(\theta)=(1-\theta,-2\theta)'\). Minimizing \(Q(\theta)=(1-\theta)^2+4\theta^2\) gives \(5\theta-1=0\), so \(\theta^*=0.2\) and \(m=(0.8,-0.4)'\). The moments are nonzero, while the first-order condition holds because \((-1,-2)m=0\).

Here \(G=(-1,-2)'\), and \(A=G'G=5\); the moments are linear, so their second derivatives are zero. The first score component is

$$ G' (g_i-m) =-(A_i-1)+0.2(X_i-1)-2B_i. $$

The derivative of the first moment is \(-X_i\), so the additional score term is

$$ (G_i-G)'m =-(X_i-1)(0.8) =-0.8(X_i-1). $$

Combining them gives \(\psi_i=-(A_i-1)-0.6(X_i-1)-2B_i\), and independence implies \(B=1+0.36+4(0.25)=2.36\). Therefore the asymptotic variance of \(\sqrt n(\hat\theta-\theta^*)\) is \(2.36/5^2=0.0944\). If the derivative-variation term were omitted, the score variance would instead be \(1+0.04+1=2.04\), understating the variance. This illustrates why nonzero moments require the extra score term.

Worked Example: Curvature Includes Moment Second Derivatives

Consider the iid moment vector \(g_i(\theta)=(Y_i-\theta,\ Z_i-\theta^2)'\), again with \(W=I\). Suppose \(E[Y_i]=0.1\) and \(E[Z_i]=0.65\). At \(\theta^*=0.5\), the population moments are \(m=(-0.4,0.4)'\), and the Jacobian is \(G=(-1,-1)'\). The first-order condition is \(G'm=0.4-0.4=0\).

The Jacobian term in the Hessian is \(G'G=2\). The only nonzero second derivative is \(\partial^2 m_2/\partial\theta^2=-2\), so the misspecification curvature term is \(m_2(-2)=-0.8\). Thus \(A=2-0.8=1.2\), which is positive and locally consistent with a strict minimum. Using \(G'G=2\) alone would overstate the curvature.

Assume also that \(Y_i\) and \(Z_i\) are independent, each with variance \(1\). The Jacobian is nonrandom, so \(\psi_i=-(Y_i-EY_i)-(Z_i-EZ_i)\), giving \(B=2\). The asymptotic variance of \(\sqrt n(\hat\theta-\theta^*)\) is \(2/(1.2)^2=1.3889\). For \(n=400\), the approximate standard error is \(\sqrt{1.3889/400}=0.05893\). If the estimate is \(0.52\), a 95% Wald interval is \(0.52\pm1.96(0.05893)=[0.4045,0.6355]\). Under the stated approximation, this interval is for the pseudo-true \(\theta^*\), not a claim that there is a 95% probability the fixed parameter lies in this particular interval.

Estimating the Covariance

A practical estimator replaces population quantities in the score and Hessian with sample analogues evaluated at \(\hat\theta\). For fixed \(W\), define \(\hat m=\bar g_n(\hat\theta)\), \(\hat G=G_n(\hat\theta)\), and \(\hat A\) as the sample Hessian of \(Q_n(\theta)/2\) at \(\hat\theta\):

$$ \hat A = \hat G'W\hat G+ \sum_{j=1}^{q}[W\hat m]_j \frac{\partial^2\bar g_{n,j}(\hat\theta)} {\partial\theta\,\partial\theta'}. $$

For each observation, form the estimated score

$$ \hat\psi_i = \hat G'W\{g_i(\hat\theta)-\hat m\} + \{G_i(\hat\theta)-\hat G\}'W\hat m. $$

With iid observations, set \(\hat B=n^{-1}\sum_i\hat\psi_i\hat\psi_i'\). The estimated covariance matrix of \(\hat\theta\), rather than of \(\sqrt n(\hat\theta-\theta^*)\), is

$$ \widehat{\operatorname{Var}}(\hat\theta) = \frac{1}{n}\hat A^{-1}\hat B\hat A^{-1}. $$

For stationary dependent data, estimate the long-run covariance of the estimated scores instead. For example, a HAC estimator combines sample score autocovariances across lags, with a kernel and bandwidth chosen to satisfy the relevant consistency conditions. Long-run covariance estimation concerns the score \(\psi_i\), not just the original moment vector \(g_i\).

Worked Example: A HAC Covariance for the Estimated Score

Suppose a time-series application has one parameter, an estimated criterion curvature \(\hat A=2.0\), sample size \(n=1{,}000\), and estimated score autocovariances \(\hat\gamma_0=4.0\) and \(\hat\gamma_1=1.0\). Assume autocovariances at higher lags are ignored, and use a Bartlett HAC estimator with bandwidth one. Its lag-one weight is \(1-1/(1+1)=0.5\), so the estimated long-run variance is

$$ \hat B_{\mathrm{HAC}} = \hat\gamma_0+2(0.5)\hat\gamma_1 = 4.0+1.0 = 5.0. $$

The estimated variance of the parameter estimate is \(n^{-1}\hat A^{-2}\hat B_{\mathrm{HAC}}=(1/1{,}000)(1/2.0^2)(5.0)=0.00125\), giving standard error \(0.03536\). If the estimated effect is \(0.30\) percentage points per exposure unit, the approximate 95% interval is \(0.30\pm1.96(0.03536)=[0.2307,0.3693]\) percentage points per exposure unit. This calculation is valid only to the extent that the HAC estimator consistently estimates the score’s long-run variance and the curvature estimate is appropriate.

Estimated Weights, Interpretation, and a Common Pitfall

The formulas above treat \(W\) as fixed, or as fixed for the first-order expansion. If \(W\) is estimated and its sampling variation is of order \(n^{-1/2}\), it can contribute to the score under misspecification. In particular, the population gradient \(G'Wm=0\) does not generally imply \(G'(W_n-W)m=0\). A full first-order calculation must then add the influence of the estimated weight to \(\psi_i\), using the joint influence representation for \(W_n\) and the moments. Ignoring this term is justified only when weight estimation has no first-order effect, or when the analysis explicitly conditions on the estimated weight under an appropriate argument.

The resulting interval and tests describe uncertainty about the pseudo-true parameter under the chosen moments and weighting matrix. They do not establish that the moments are correctly specified, nor do they automatically provide inference for a structural parameter that would have been identified under exact moment restrictions. Moment validity and parameter interpretation remain substantive questions.

  • Common mistake: “The estimator is consistent, so I can use \(G'WG\) and the covariance of \(G'Wg_i\).” This drops both the nonzero-moment term in the Hessian and the derivative-variation term in the score.
  • Correction: Differentiate the actual weighted criterion at its pseudo-true minimizer. Use its full Hessian and the variance or long-run covariance of the resulting score.
  • Another pitfall: Treating a confidence interval for the pseudo-true parameter as evidence that all population moments equal zero. The interval concerns the minimizer of the chosen criterion; it is not a specification test.
Key takeaway: Under misspecification, valid GMM inference uses the curvature of the full weighted criterion and the covariance of its full gradient. Nonzero population moments make both the second-derivative curvature term and the sample-Jacobian contribution potentially important.

Check Your Understanding

Answer each question using the distinction between moment variation, derivative variation, and criterion curvature.

  1. How is the pseudo-true parameter defined, and why can its population moment vector be nonzero?
  2. Which term in the criterion Hessian disappears under correct specification, and what condition makes it disappear?
  3. Why does the asymptotic score contain a term involving \(G_i-G\) when \(m(\theta^*)\ne 0\)?
  4. For dependent observations, which quantity should a HAC estimator estimate: the long-run covariance of \(g_i\) or of \(\psi_i\)?
  5. When can first-order variation in an estimated weighting matrix affect inference around the pseudo-true parameter?
Clinical Biostats