Hi all! Here's the situation: I'm pretty new to stata so apologies if this is a stupid question. I've run multiple IV regressions and want to report the coefficients with the standard errors in a table formatted kind of like this:
x_var 1 x_var 2 x_var 3
Y_variable 1 coef1 coef2 coef3
Y_variable 2 coef4 coef5 coef6
First stage coef1 coef2 coef3
The thing that I've been struggling to figure out is how to use the asdoc command to stack regressions like this instead of just appending them onto the right side of the table. I have also not been able to figure out how to get the first stage regression coefficients into the same table as the regular IV coefficients. I've tried using both asdoc and ivreg2 using estout.
What I currently am doing looks like this:
asdoc ivregress 2sls Y_variable1 (x_var1 = instrument1), robust first, nest cnames(x_var1) dec(3) save(causal_effect_reg_table.doc) title(Table 1 - Causal Effects) replace
I can't figure out how to get the output from "first" into the regression table.
Is what I am trying to do possible using either of these commands? I've asked all my team members and browsed forums specifically for asdoc and read a lot of the help files for both ivreg2 and asdoc but couldn't figure out a solution.
x_var 1 x_var 2 x_var 3
Y_variable 1 coef1 coef2 coef3
Y_variable 2 coef4 coef5 coef6
First stage coef1 coef2 coef3
The thing that I've been struggling to figure out is how to use the asdoc command to stack regressions like this instead of just appending them onto the right side of the table. I have also not been able to figure out how to get the first stage regression coefficients into the same table as the regular IV coefficients. I've tried using both asdoc and ivreg2 using estout.
What I currently am doing looks like this:
asdoc ivregress 2sls Y_variable1 (x_var1 = instrument1), robust first, nest cnames(x_var1) dec(3) save(causal_effect_reg_table.doc) title(Table 1 - Causal Effects) replace
I can't figure out how to get the output from "first" into the regression table.
Is what I am trying to do possible using either of these commands? I've asked all my team members and browsed forums specifically for asdoc and read a lot of the help files for both ivreg2 and asdoc but couldn't figure out a solution.
