Hello,
I'm trying to understand how GMM works and noticed that GMM produces the same estimates as OLS when there's no instrument as it should. For instance,
clear
set obs 10000
generate y1 = runiform()
generate y2 = runiform()
generate y3 = runiform()
generate x1 = runiform()
generate x2 = runiform()
generate x3 = runiform()
generate z1 = runiform()
generate z2 = runiform()
generate z3 = runiform()
reg y1 x1 z1
gmm (y1-{b1}*x1 - {b2}*z1 - {a}), inst (x1 z1)
The two models above produce the exact same results.
However when I estimate a system of equations using SUR and GMM, the two models produce similar, but different results.
* different
sureg (y1 x1) (y2 x2)
gmm (y1-{beta1}*x1- {a1}) (y2-{beta2}*x2 - {a2}), inst (x1 x2) winitial(unadjusted, independent) quickderivatives
The results are also different when I use instruments and run 3sls and GMM,
reg3 (y1 x1) (y2 x2), exog(z1 z2) endog(x1 x2) 3sls
gmm (y1-{beta1}*x1- {a1}) (y2-{beta2}*x2 - {a2}), inst (z1 z2) winitial(unadjusted, independent) quickderivatives
Although from this post (https://www.statalist.org/forums/for...-fit-the-model), it seems I should get the exact same estimates.
Can anyone see what's wrong? I'd appreciate any advice!
Best,
Ara
Related Posts with SUR vs GMM, 3SLS vs GMM
Fixed effect model with more than two categorical variablesHi I am studying how company specific features are impacting reinsurance purchasing behavior in Kor…
egen function xtile() not found even with egenmore installedHello everyone, I am not a pro on Stata but need to use it for a research paper in Finance for my d…
How to overcome problems in fuzzy match via matchit and reclink?Hi Statalisters, I try to use fuzzy match commands matchit and reclink to merge two datasets. Here…
lclogit2: Problem with [if] conditionDear Prof. Yoo (and all others), I am currently trying to use lclogit2 to conduct a Latent Class An…
Generating Dummy variable for two consecutive years with the condition that the dummy will be equal to a percentage of another variableHello everyone, I am trying to construct an overconfidence measure, namely Holder 67. The director w…
Subscribe to:
Post Comments (Atom)
0 Response to SUR vs GMM, 3SLS vs GMM
Post a Comment