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
Help in understanding tfdiffDear all, I am trying to understand the tfdiff command before applying it to my data. To do so, I s…
Fit plots based on multivariable linear regressionDear community, I would like to create a two-way plot of two continuous variables. STATA's fit plot…
Reducing the size of your database.Dear all, I am having troubles in "cleaning" my database, whose initial size is 22GBs (71 millions r…
Reshaping long data with mtultiple categories into long dataStata 14.0 SE on Mac - Data contais 700,000 obervations Hi. I am trying to reshape a panel of US co…
Multivalued treatment using inverse probability weights in teffectsDear Stata users, I want to estimate the ATE of a new policy on the number of firms, where policy h…
Subscribe to:
Post Comments (Atom)
0 Response to Difference between manual 2sls and ivregress
Post a Comment