I have a regression with an endogenous variable for which I have an instrument.
By computing
ivreg income (immigrants=enclave) YearDummy*
I obtain a given coefficient.
If instead i first compute the first stage and then regress the dependent variable on the exogenous fitted value of the endogenous variable I obtain a completely different result.
reg immigrants enclave YearDummy*
predict immhat, xb
reg income immhat YearDummy*
If I'm not mistaken the result shoud be the same, as a 2sls regression is computed that way. Is there a reason why this is actually not the case?
Related Posts with Difference between manual 2sls and ivregress
Searching packages stored at SSC but returns nothingDear Stata users, I find an annoying problem recently. I search packages and Stata returns nothing,…
Hte package - I cannot perform the command with a poisson distributionHello I'm using the hte package, more specifically the hte sm function, in order to obtain a multil…
Problem with putexcel using corr_svy and foreach commandsHi everyone, I'm doing a task in which I have to do cross-tab and pairwise correlations for 3 dummy …
new table command cannot parse bracket within string variableIs this the correct place to report an apparent error in parsing? this is Stata/SE 17.0 for Windows …
New version of ipwbreg on SSCThanks yet again to Kit Baum, a new version of the ipwbreg package is now available for download fro…
Subscribe to:
Post Comments (Atom)
0 Response to Difference between manual 2sls and ivregress
Post a Comment