EconStatsCraft › Dynamic panel GMM

Dynamic panel GMM

When the past of the outcome belongs on the right-hand side, fixed effects is biased (Nickell) and OLS is biased the other way. Difference and system GMM instrument the lagged dependent variable with its own deeper lags.

What it needs

The intuition

Put last period's outcome on the right-hand side of a panel and both standard estimators break, in opposite directions. Pooled OLS confuses persistence with the fixed effect and reads too high. Fixed effects demeans the data, which drags the lagged term into the error and reads too low. The truth is trapped between two biased numbers, and GMM instruments the lag with deeper lags to get at it.

When to use it

Short, wide panels - many entities, few periods - where the outcome is persistent. If T is large the Nickell bias is small and plain fixed effects is the better choice.

Where the estimator comes from

For y_{it}=\rho y_{i,t-1}+x_{it}'\beta+\alpha_i+\varepsilon_{it}, the within transformation subtracts the time mean, so the transformed regressor y_{i,t-1}-\bar{y}_{i,-1} contains \varepsilon_{it} through \bar{y} and the transformed error contains \varepsilon_{i,t-1}. They are correlated by construction, and Nickell (1981) showed the bias is O(1/T) and NEGATIVE. Arellano and Bond difference instead: \Delta y_{it}=\rho\Delta y_{i,t-1}+\Delta x_{it}'\beta+\Delta\varepsilon_{it} removes \alpha_i, and levels dated t-2 and earlier are valid instruments for \Delta y_{i,t-1} because E[y_{i,t-2}\Delta\varepsilon_{it}]=0. Blundell and Bond add the level equation instrumented by lagged differences, which is far more informative when \rho is near one and differences are nearly uninformative.

The model

\Delta y_{it}=\rho\,\Delta y_{i,t-1}+\Delta \mathbf{x}_{it}^{\prime}\boldsymbol{\beta}+\Delta\varepsilon_{it},\qquad E\!\left[y_{i,t-s}\,\Delta\varepsilon_{it}\right]=0\ \ \text{for } s\ge 2

What it assumes

Statistical properties

How to read the output

A worked reading

A production function for 120 firms over 10 periods. The three estimators bracket the persistence exactly as the theory says they must: pooled OLS returns 0.6317 on the lagged output term, biased UP because it absorbs the firm effect; fixed effects returns 0.0023, biased DOWN by the Nickell term of order 1/T; and Arellano-Bond two-step GMM returns 0.0355, inside the bracket. That bracket is the single most useful diagnostic in this module - an estimate outside [0.0023, 0.6317] would be the first thing to distrust, whatever its standard error said. Here the persistence is not distinguishable from zero (p = 0.60), which is itself the finding: output in this panel is driven by capital (0.3670) and labour (0.5582), not by its own past. The instruments survive their tests - AR(2) does not reject at p = 0.57, and Hansen gives p = 0.6882 on 25 degrees of freedom, comfortably short of the suspicious 1.00 that too many instruments produce.

Symptom → diagnosis → what to do

If you see thisIt meansDo this
GMM estimate above pooled OLSOutside the Bond bracketSomething is wrong. Check the instrument set
GMM estimate at the fixed-effects valueToo many weak instrumentsCollapse the instrument matrix
Hansen p-value of 1.00Instrument proliferation, not a good fitReduce the instrument count and re-test
AR(2) rejectingLag 2 is not exogenousStart instruments at lag 3
Instruments outnumbering groupsGuaranteed overfittingCollapse or limit the lag range
rho estimated above 1A unit root, or weak identificationDifference GMM is very weak here. Use system GMM

Common mistakes

Where to read this properly

See also

Panel diagnostics, for whether a panel estimator is needed at all. Instrumental variables, for the identification logic without the panel structure.

Related Panel data

Panel regression · Panel cointegration tests · Heterogeneous panel: Mean Group & PMG · Gravity model of trade · Panel diagnostics · Panel unit-root tests

All analyses

Charts

Line chart · Area chart · Bar chart · Stacked bar · Scatter plot · Bubble chart · Histogram · Box plot · Pie chart · Heat map · Rebased to 100 · Lorenz curve and Gini

Maps

World map · Bivariate map · Flow map · India - state map · India - district map

Explore

Descriptive statistics · Summary by group · Two-way table · Classical statistical tests

Regression

Multiple regression (OLS) · Logit / Probit · Tobit (censored) · Truncated regression · Multinomial logit · Ordered logit / probit · Quantile regression · Poisson / Negative binomial

Time series - one series

Time-varying coefficients (Kalman) · Unit root tests · Correlogram (ACF / PACF) · ARIMA / SARIMA · Rolling-origin cross-validation · Theta method · Unobserved components · STL forecasting · Forecast combination · Markov regime switching · Change frequency (resample) · ARCH / GARCH volatility · Decompose & filter · Spectral analysis · Exponential smoothing · Forecast accuracy

Time series - several series

Yield curve (Nelson–Siegel / Svensson) · Dynamic factor model · Dynamic regression (ARIMAX) · Structural VAR · VAR · Granger causality · Cointegration · VECM · ARDL & bounds test

Panel data

Panel regression · Panel cointegration tests · Heterogeneous panel: Mean Group & PMG · Gravity model of trade · Dynamic panel GMM · Panel diagnostics · Panel unit-root tests

Multivariate statistics

Principal components (PCA) · Factor analysis · Cluster analysis

Marketing research

Conjoint analysis · MaxDiff (best–worst scaling) · TURF - reach of a product line · Price sensitivity (Van Westendorp) · Market basket analysis · Perceptual map · Scale reliability (Cronbach’s alpha) · Key driver analysis

Causal

Spatial autocorrelation · Spatial regression · Heckman selection · Instrumental variables (2SLS) · Difference-in-differences · Staggered difference-in-differences · Regression discontinuity · Matching & weighting · Oaxaca–Blinder decomposition

Finance & risk

Black–Scholes option pricing · Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · CAPM / beta estimation · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Time value of money & NPV/IRR · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)

Actuarial

Life table · Life annuity · Life insurance pricing · Chain ladder reserving · Buhlmann credibility · Survival analysis · Mortality graduation · Aggregate loss model · Ruin probability · Multi-state Markov model · Loss severity fitting

Tests & breaks

Monte Carlo experiment · F-test, Wald & Chow · Structural breaks & stability

Machine learning

Regression vs machine learning · Ridge / Lasso / Elastic Net · Random forest · Gradient boosting

Open the workspace →

Starting engine…

EconStatsCraft rigorous, plain-spoken econometrics

Econometrics that explains itself.

Regression, panel data, time series and the whole battery of tests. Every result is followed by a verdict you can defend.

Load a dataset to see it here.