Dear all:
I am using Stata 15 to run a linear regression with endogenous treatment aiming to do instrumental variable analysis with a dummy endogenous variable.
I have two potential instruments and would like to test whether I should include one of them or both.
My basic model is this:
etregress y1 c.X1 i.X2 , treat(y2 = c.z1 c.z2 c.X1 i.X2)
, where y1 is the continuous outcome, X1 and X2 are vectors of independent variables, y2 is the dummy endogenous variable, and z1 and z2 potential instruments.
I can also estimate this as
eregress y1 c.X1 c.X2, endogenous(y2 = c.z1 c.z2 c.X1 i.X2, probit), which gives the same results.
Any help on how to test which instrument(s) to use would be very much appreciated.
Related Posts with How to test for multiple instruments in in etregress or eregress
Combine two variables into a dummy variableHey dear STATA Users, I am meant to create a dummy variable. That's literally a set of dummy variab…
tempfileI often execute - in separate instances of Stata - multiple simultaneous do-files. Many of my do-fil…
Averaging year and outcome variables for panel dataHi STATA community, I was browsing through forum questions regarding averaging year and outcomes on…
I don't understand why the results show different significance?Hi, Statalisters: I am not so much good in posting on the forum, please excuse me for not adhering t…
Trajectory analysis - keep registry_HbA1c if date_of_HbA1c_test > 1 year after baseline_HbA1c for each ID_numberDear Stata experts, I am really stuck. In my data set, I have variables for the participant's ID nu…
Subscribe to:
Post Comments (Atom)
0 Response to How to test for multiple instruments in in etregress or eregress
Post a Comment