Dear,
I am estimating a dynamic panel model where T=14 and N>10.000. I am interested in price elasticities of energy consumption and I am using the Arellano-Bond one-step GMM estimator with strictly exogenous covariates and curtailed/collapsed instruments from xtdpdgmm package. The estimated coefficients are in line with my expectations however I think I have a problem regarding the
test. I have read the paper of Roodman (2008) and it mainly tells me to be aware of overidentification problems when the number of instruments is large compared to the number of observations. However, since I have a lot of observations available (e.g. 6500, or a lot more, but I mainly use subsamples of the entire dataset in my analysis), I do not understand why the test gives p-values of 0.000.
This is the code I use:
And these are the results
And or the overid test:
Also, the test statistic grows even larger when I increase the number of observations, which I dont understand..
Any help is welcome!
Sebastian Kripfganz
I am estimating a dynamic panel model where T=14 and N>10.000. I am interested in price elasticities of energy consumption and I am using the Arellano-Bond one-step GMM estimator with strictly exogenous covariates and curtailed/collapsed instruments from xtdpdgmm package. The estimated coefficients are in line with my expectations however I think I have a problem regarding the
Code:
estat overid
This is the code I use:
Code:
clear all cd "C:\Users\wille\OneDrive\Data\Enexis" insheet using "hoge_woz.csv", comma clear format year %ty encode postcode, generate(id) egen newid = group(id) global id id global year year sort $id $year xtset $id $year tempfile holding save `holding' set seed 1234 forval i = 1/1 { use `holding', clear keep id duplicates drop sample 500, count merge 1:m id using `holding', assert (match using) keep(match) nogenerate sort id xtdpdgmm L(0/2).consumption gas gdp, gmm(L.consumption, l(2 5)) iv(gas gdp, d) m(d) nocons overid serial }
Code:
Generalized method of moments estimation Fitting full model: Step 1 f(b) = .00615169 Fitting reduced model 2: Step 1 f(b) = .00478666 Group variable: id Number of obs = 6000 Time variable: year Number of groups = 500 Moment conditions: linear = 40 Obs per group: min = 12 nonlinear = 0 avg = 12 total = 40 max = 12 ------------------------------------------------------------------------------ consumption | Coefficient Std. err. z P>|z| [95% conf. interval] -------------+---------------------------------------------------------------- consumption | L1. | .4605972 .0377965 12.19 0.000 .3865174 .5346771 L2. | .2246857 .0321022 7.00 0.000 .1617665 .2876048 | gas | -.1170956 .0059441 -19.70 0.000 -.1287458 -.1054454 gdp | .1466371 .0239001 6.14 0.000 .0997937 .1934805 ------------------------------------------------------------------------------
Code:
Sargan-Hansen test of the overidentifying restrictions H0: overidentifying restrictions are valid 1-step moment functions, 1-step weighting matrix chi2(36) = 306.6397 note: * Prob > chi2 = 0.0000 1-step moment functions, 2-step weighting matrix chi2(36) = 132.0808 note: * Prob > chi2 = 0.0000 * asymptotically invalid if the one-step weighting matrix is not optimal
Any help is welcome!
Sebastian Kripfganz
Comment