Hi friends,
This is my first experience for GMM. help me, please.
I should examine the relationship between X and Y across US states over the period 1993–2015 using the
System GMM estimator. The lagged DVs, along with X1 and X2,
are treated as endogenous and instrumented for with their lagged first differences. To eliminate the problem of instrument
proliferation, which can invalidate results, I should collapse the instrument matrix and impose instrumental variable lag limits that satisfy
the following conditions: (1) the null of the Hansen J test of over-identifying restrictions is not rejected and is not implausibly perfect
(i.e., 0.05≤p(Hansen) < 1.00); and (2) there is no second-order autocorrelation in the model (i.e., p(AR2) > 0.05) (Roodman,
2009b). I should include the variables (X3, X4, X5 ) as pre-determined controls in all models, as well as fixed state and
year effects. ( Fixed effect and first difference)
I wrote this code But I am not sure it could work.
xtabond2 Y L.Y L2.Y L.X1 Lx2, gmm( X3 X4 X5 L.Y L2.Y X1 X2, eq(diff) lag(1 1)) nolevel robust
Please help me by correct code
Forouzan
Related Posts with GMM Xtabond2
Merging based on older values of a variableHi All, I have data that resembles the following (it is at the individual level): Code: * Example…
Problem with mutiple dataset mergersHi, These datasets are from WRDS from 2010-2017, One has director characteristics, directors compen…
Issue with stored `r(min)' command from a Sum() commandHello Statalisters, I am having an issue with using the stored `r(min)' value from a sum command. I …
How do you create a correlation matrix, while controlling for multiple variables?Hi guys, I was looking at partial correlations where you can find the correlation between two varia…
Referencing the stored local variables from a Sum Function not workingHello Statalisters, I am having an issue with using the stored `r(min)' value from a sum command. I …
Subscribe to:
Post Comments (Atom)
0 Response to GMM Xtabond2
Post a Comment