- Introduced by
- Arellano & Bond (1991) for Difference GMM; Chernozhukov & Hong (2003) for Bayesian GMM framework
- Year
- 1991/2003
- Type
- Dynamic panel estimator (Bayesian)
- Family
- Econometrics / time series
What does it do?
Bayesian Difference GMM applies Bayesian inference to the Arellano-Bond first-difference GMM setup for dynamic panel data.
The GMM moment conditions are treated as a quasi-likelihood and combined with a prior, so the output is a posterior distribution over the coefficients rather than only a point estimate with asymptotic standard errors.
The intuition behind the method
Classical Difference GMM first-differences the panel equation to remove individual effects and instruments the differenced lagged dependent variable with deeper lags of the levels. The Bayesian version keeps these moment conditions. Instead of minimising a weighted quadratic form of sample moments, it defines a quasi-likelihood proportional to the exponentiated, scaled negative GMM criterion, multiplies it by a prior, and samples the resulting quasi-posterior by MCMC. The output is a distribution over the parameters that can be summarised with credible intervals and that can take prior information into account. Because the quasi-likelihood is not a fully specified probability model for the data, these intervals are approximations and should not be read as exact finite-sample probability statements.
History
The Difference GMM estimator was introduced by Arellano and Bond (1991) for dynamic panel models with individual effects and lagged dependent variables. The same paper proposed a test of serial correlation based on the GMM residuals and compared it with Sargan tests of over-identifying restrictions and Hausman specification tests. The Bayesian reading draws on Chernozhukov and Hong (2003), whose title describes an MCMC approach to classical estimation. Their work is cited here for that general idea; its application to dynamic panel Difference GMM is an extension treated on this page.
When to use it
Choose Bayesian Difference GMM for a dynamic panel with a lagged dependent variable, a short time dimension relative to the number of individuals, and a need for posterior uncertainty in the parameters and in any predictions built from them. It is useful when prior information about parameter ranges is available and should be encoded, or when parameter uncertainty must be carried into predictions. Do not choose it when T is large relative to N, where time-series methods are usually more suitable, or when MCMC is impractical for the problem size. The method also does not repair the moment conditions. If the instruments are invalid because the exclusion restriction fails, no prior corrects this. If they are weak, with little relevance to the differenced lagged outcome, the quasi-posterior can be poorly identified.
Limitations and considerations
- Computationally intensive: MCMC sampling is much slower than classical GMM optimisation, especially with many instruments.
- The prior must be specified by the user, and in small samples the choice of prior can influence the posterior, which introduces a subjective element.
- The quasi-likelihood framework is less established than full likelihood-based Bayesian inference, and the finite-sample coverage of its credible intervals is not guaranteed.
- Instrument proliferation (too many moment conditions relative to N) remains a concern, as in classical Difference GMM, and can distort the quasi-likelihood surface.
- Software support is limited compared with classical GMM. Implementation usually requires custom code in Stan, JAGS or R.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Produces a posterior distribution over the coefficients, so credible intervals and probability statements about parameters can be reported directly from the draws.
- Lets prior information on the autoregressive coefficient or other parameters enter the estimation. Whether this stabilises estimates in a small or unbalanced panel depends on how informative the prior is and on the data.
- Uses the same instruments as classical Difference GMM (lagged levels for the differenced lagged dependent variable), so the handling of the lagged-dependent-variable problem is inherited from the classical design.
- Parameter uncertainty can be propagated into forecasts or policy simulations by simulating from each posterior draw.
- Whether it relies less on asymptotic approximations than classical standard errors depends on the prior and the quasi-likelihood in the panel at hand.
Applications
- Employment or labour-demand equations estimated from firm-level panels with a short time span, the type of application studied by Arellano and Bond (1991).
- Growth or convergence regressions in which theory justifies a prior range for the autoregressive coefficient.
- Leverage or investment models that include a lagged dependent variable and cover few time periods.
- Policy evaluation in short panels where the uncertainty of the estimated effect must be propagated.
- Health economics or education panels where external prior information on parameters is available and can be encoded in the prior.
How it works
How it works
The panel equation is first-differenced to eliminate time-invariant unobserved individual effects. The differenced model links changes in the outcome to changes in the lagged dependent variable and other regressors.
Formula
\Delta y_{it} = \alpha \Delta y_{i,t-1} + \Delta X_{it}\beta + \Delta \varepsilon_{it}Levels of the dependent variable lagged two or more periods are valid instruments because they are correlated with the differenced lagged dependent variable but, by assumption, uncorrelated with the differenced error. These orthogonality conditions form the moment restrictions. They rely on the errors being free of serial correlation, as Arellano and Bond (1991) assume.
Formula
E[y_{i,t-s}\,\Delta\varepsilon_{it}] = 0,\quad s \geq 2The scaled, weighted quadratic form of the sample moments is placed in an exponent, so that the negative GMM criterion defines a quasi-likelihood. Here g_n(θ) is the sample average of the moment conditions evaluated at θ, W_n is the positive-definite weighting matrix, and n is the sample size used in the scaling, so the exponent is −(n/2) times g_n(θ)ᵀ W_n g_n(θ). Chernozhukov and Hong (2003) propose an MCMC approach to classical estimation, and the application of that idea to dynamic panel Difference GMM is treated here as an extension of their work. The quasi-likelihood is not derived from a fully specified probability model for the data.
Formula
\mathcal{L}(\theta) \propto \exp\!\left(-\frac{n}{2}\,g_n(\theta)^\top W_n\, g_n(\theta)\right)Prior beliefs about the parameters are combined with the quasi-likelihood through Bayes' theorem to give the quasi-posterior. When the priors are flat or weak, the quasi-likelihood largely determines the posterior. The quasi-posterior is not identical to the classical GMM sampling distribution, and how close the two are in a given finite sample depends on the prior and the data.
Formula
p(\theta \mid \text{data}) \propto \mathcal{L}(\theta)\,\pi(\theta)Because the quasi-posterior generally has no closed form, Markov Chain Monte Carlo (MCMC) algorithms such as Metropolis-Hastings or Hamiltonian Monte Carlo draw samples from it. Posterior means, medians and credible intervals are computed from these draws, and convergence should be checked before the summaries are reported.
Common pitfalls
- Using too many instruments relative to N weakens the moment conditions and distorts the posterior. Reduce the instrument set (by collapsing or limiting lag depth) before running MCMC.
- A strongly informative prior that conflicts with the data pulls the posterior away from the region supported by the quasi-likelihood. Always run prior sensitivity checks.
- Interpreting posterior summaries before checking MCMC convergence (trace plots, R-hat statistics) can produce misleading results, because non-converged chains do not describe the posterior.
- Treating quasi-posterior credible intervals as exact probability statements about the true parameter is an error. They are approximate and depend on how the quasi-likelihood was constructed.
- Skipping validity checks before switching to the Bayesian version is a mistake. Run the Sargan test of over-identifying restrictions and the test for serial correlation in the GMM residuals first, as proposed by Arellano and Bond (1991). The serial-correlation test is especially important here: lagged-level instruments of two or more periods are invalid if the errors are serially correlated at second order (AR(2) in the differenced residuals), and invalid instruments contaminate the quasi-likelihood.
Frequently asked questions
How does Bayesian Difference GMM differ from classical Difference GMM?
Classical Difference GMM minimises a weighted quadratic form of sample moments and reports point estimates with asymptotic standard errors. The Bayesian version treats a scaled version of that criterion as a quasi-likelihood, multiplies it by a prior, and samples the quasi-posterior by MCMC, which gives a distribution over the parameters rather than a single estimate.
Is the quasi-likelihood the same as a true likelihood?
No. It is built by exponentiating the negative scaled GMM criterion, not from a fully specified probability model for the data. The resulting credible intervals are therefore approximate and should not be read as exact probability statements.
How do I choose the prior for the autoregressive parameter?
A weakly informative prior that restricts the autoregressive coefficient to the stationary region (between -1 and 1) is common. If theory provides a range, for example slow mean reversion, a tighter prior centred in that range can be used, with sensitivity analysis to confirm that the posterior is not driven by the prior alone.
Does Bayesian Difference GMM solve the instrument proliferation problem?
No. The number of instruments is still set by the lag structure chosen for the moment conditions. Too many instruments distort the quasi-likelihood surface just as they distort the classical GMM weighting matrix, so collapsing instruments or limiting lag depth remains necessary.
What software can I use to estimate Bayesian Difference GMM?
No dedicated package is documented on this page. The model is usually coded by hand in Stan (via RStan or CmdStanR) or in JAGS or NIMBLE. The user writes the quasi-likelihood from the moment conditions, specifies the priors, and runs MCMC as for any Bayesian model.
Related methods
Sources
Arellano, M., & Bond, S. (1991). Some tests of specification for panel data: Monte Carlo evidence and an application to employment equations. The Review of Economic Studies, 58(2), 277-297.
Open DOI referenceChernozhukov, V., & Hong, H. (2003). An MCMC approach to classical estimation. Journal of Econometrics, 115(2), 293-346.
Open DOI reference