Nonlinear System GMM

Econometrics
Introduced by
Lars Peter Hansen
Year
1982
Type
System estimator
Family
Econometrics / time series

What does it do?

Nonlinear System GMM extends the Generalized Method of Moments framework to estimate a system of structural equations in which the parameter vector enters the moment conditions nonlinearly.

It uses the moment restrictions from all equations jointly. Under correct specification, this can improve precision relative to estimating each equation separately, particularly when the equations share parameters or have correlated disturbances.

The intuition behind the method

Standard GMM asks which parameter values make a set of sample averages (moments) as close to zero as possible, given the restrictions that theory implies for their population counterparts. Nonlinear System GMM applies the same logic, but the link between parameters and moments is curved rather than linear, and the model is a system of several equations rather than one. Stacking the equations and their moment conditions lets the estimator use information on how the errors of different equations are related, which can sharpen precision. Unlike linear system estimators, it places no requirement that the moment conditions be linear in the parameters, so it requires numerical optimisation.

History

Lars Peter Hansen introduced the general GMM framework in a 1982 Econometrica paper, which establishes the large-sample properties of GMM estimators on which the nonlinear system variant rests. The variant applies that framework to a stacked system of equations with nonlinear moment conditions.

When to use it

Choose Nonlinear System GMM when structural economic theory implies nonlinear moment conditions and the model consists of several interrelated equations that share parameters or have correlated disturbances. It suits settings where valid instruments are available and the relationship between endogenous variables and parameters is not linear, such as Euler equations in consumption or investment models or production functions estimated with several outputs. It is less suitable when only one equation needs estimating, since single-equation GMM or nonlinear least squares may suffice. Avoid it when the sample is small relative to the number of moment conditions, because instrument proliferation can bias results. Also be cautious when the nonlinearities make the criterion highly non-convex, since convergence then becomes a concern.

Limitations and considerations

  • Requires valid instruments whose identification in a nonlinear context is harder to establish than in linear IV.
  • Finite-sample performance can be poor when the number of moment conditions is large relative to the sample size (many-instrument bias).
  • The nonlinear optimisation problem may have multiple local optima, making starting values and numerical convergence critical.
  • Efficient GMM requires a consistent first-step estimate to form the optimal weight matrix, adding complexity.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Under correct specification of the moment conditions and the identification conditions stated under howItWorks, the estimator is consistent, and with the optimal weight matrix it attains the smallest asymptotic variance among GMM estimators that use the same moments, without requiring full distributional assumptions.
  • Handles endogeneity naturally through instrumental variables embedded in the moment conditions.
  • Exploits cross-equation error correlation in a system, which can yield precision gains over equation-by-equation estimation.
  • Applicable to a wide class of structural nonlinear models (Euler equations, CES production functions, DSGE moment restrictions).
  • The J-test of overidentifying restrictions provides a built-in specification check, with the power limits described in the pitfalls.

Applications

  • Estimating consumption Euler equations from household or aggregate data to test and quantify intertemporal substitution.
  • Production function estimation with multiple outputs and endogenous input choices (e.g., CES or translog systems).
  • Asset pricing moment conditions — testing factor models by matching theoretical and empirical pricing errors simultaneously across assets.
  • Estimating dynamic structural models in labour, health, or industrial organisation where multiple nonlinear equations describe agent behaviour.
  • Macro panel estimation of DSGE model moments when the structural equations are inherently nonlinear in deep parameters.
  • Demand system estimation (e.g., AIDS or QUAIDS) with nonlinear cross-equation restrictions and endogenous prices.

How it works

How it works

1

Theory specifies a vector of moment conditions E[g(y, x, θ)] = 0 that hold at the true parameter vector θ₀. In a system with multiple equations, g stacks the moment conditions from each equation, so cross-equation information enters the estimation together.

Formula
E[g(y_t, x_t, \theta)] = 0
2

The sample analog replaces the population expectation with the sample mean of g over all observations. Estimation seeks θ values that drive this sample average close to zero across the whole system.

Formula
\bar{g}(\theta) = \frac{1}{T}\sum_{t=1}^{T} g(y_t, x_t, \theta)
3

The GMM criterion minimises a weighted quadratic form of the stacked sample moments. The weight matrix W controls how deviations in each moment direction are penalised. Different choices of W give estimators that are consistent but not equally efficient.

Formula
\hat{\theta} = \arg\min_{\theta}\, \bar{g}(\theta)^\top W \bar{g}(\theta)
4

The efficient weight matrix is the inverse of the variance matrix S of the moments evaluated at the true parameter value. In a two-step or continuously updated procedure, this weight gives the smallest asymptotic variance among GMM estimators that use the same moment conditions, provided the identification conditions stated under inference hold. It reflects the joint error structure across equations. Where the moments are serially correlated, S is the long-run variance of √T·ḡ(θ₀), which reduces to the contemporaneous variance of the moments when serial correlation is absent.

Formula
W^* = S^{-1},\quad S = \text{Var}(g(y_t, x_t, \theta))
5

Under the identification and regularity conditions, the estimator is root-T consistent and asymptotically normal, which supports Wald and LM inference. Local identification requires that the expected Jacobian G = E[∂g(y, x, θ₀)/∂θ'] have full column rank at θ₀. The moment functions must have finite second moments, and for time-series or panel data the observations must be stationary and ergodic, or satisfy the corresponding panel conditions, so that laws of large numbers and central limit theorems apply. Given these conditions, the asymptotic variance is the sandwich V_GMM = (G'WG)⁻¹ G'WSWG(G'WG)⁻¹. The J-test of overidentifying restrictions, J = T·ḡ(θ̂)'Ŝ⁻¹ḡ(θ̂) computed with efficient weighting, is asymptotically chi-squared under the null that the overidentifying moments are valid, with degrees of freedom equal to the number of moment conditions minus the number of parameters. Rejection indicates invalid instruments or model misspecification.

Formula
\sqrt{T}(\hat{\theta} - \theta_0) \xrightarrow{d} N(0, V_{GMM})

Common pitfalls

  • Using many instruments relative to the sample size inflates the rejection rate of the J-test and can produce severely biased estimates; the instrument count should be small relative to T.
  • Treating the first-step weight matrix as efficient without verifying that the moment conditions are correctly specified; misspecification invalidates efficiency claims.
  • Neglecting to test for weak identification; weak instruments produce near-singular moment Jacobians and inflated standard errors in nonlinear models just as in linear IV.
  • Accepting convergence to a local minimum without trying multiple starting values or using continuous-updating GMM as a cross-check.
  • Relying on the J-test as the only specification check. It has limited power against some misspecifications and can fail to reject when instruments are weak, so it should be combined with subset tests of the moment conditions and with checks of economic plausibility.

Frequently asked questions

What distinguishes Nonlinear System GMM from standard (linear) System GMM?

Linear System GMM, the dynamic panel variant of GMM, uses moment conditions that are linear in the parameters, so the objective function is quadratic and has a closed-form minimiser. Nonlinear System GMM allows the moment conditions themselves to be nonlinear functions of θ, which requires numerical optimisation and makes the efficiency and identification analysis more involved.

How is the optimal weight matrix estimated in practice?

In the two-step procedure, a consistent first-step estimate (often from identity-weighted GMM or NLS) is used to compute the sample variance of the moments, whose inverse becomes the efficient weight matrix for the second step. Continuously Updated GMM (CUE) re-estimates the weight matrix at every candidate θ, which can improve small-sample behaviour at the cost of a harder optimisation problem.

What does the J-test tell me, and what do I do if it rejects?

The Hansen J-test checks whether the overidentifying moment conditions are jointly close to zero. Under the null that they are valid, J is asymptotically chi-squared with degrees of freedom equal to the number of moment conditions minus the number of parameters. Rejection suggests that at least some instruments are invalid or the model is misspecified. Reconsider instrument validity, test subsets of moments (difference-in-Sargan / C-test), or re-examine the structural model. A non-rejection does not by itself confirm validity, because the test has limited power, particularly with weak instruments.

How do I handle weak identification in a nonlinear GMM system?

Weak identification occurs when the moment conditions carry little information about some parameters, so the moment Jacobian G = E[∂g/∂θ'] is close to rank-deficient and standard errors become unreliable. A practical check is to compute the sample Jacobian at the estimate and examine its singular values: a smallest singular value near zero, relative to the others, signals that some parameter combination is weakly identified. Remedies are to reduce the parameter set, seek stronger instruments, or use weak-identification-robust inference where the software provides it.

Can Nonlinear System GMM handle panel data?

Yes, with care. With panel data the moment conditions are stacked across individuals and time periods. Within-group (fixed-effects) transformations are generally inconsistent when lagged dependent variables appear in a short panel, because the transformed error is correlated with the transformed lag (Nickell-type bias). In that setting, first differencing or forward orthogonal deviations, combined with lagged levels as instruments, is the usual route. The validity of the moment conditions after the transformation must be checked case by case.

Related methods

Sources

  1. Hansen, L. P. (1982). Large sample properties of generalized method of moments estimators. Econometrica, 50(4), 1029–1054.

    Open DOI reference
  2. Wooldridge, J. M. (2010). Econometric Analysis of Cross Section and Panel Data (2nd ed.). MIT Press.

    ISBN: 978-0262232586