Dear all,
After using eregress to estimate a regression with endogenous treatment, I want to make a table in word where the first column will be the treatment equation, the second will be the outcome if the treatment is zero, and the third will be the outcome if the treatment is one.
I used estout from ssc, with the unstack option [see code bellow] but I have two problems. First, there is a single equation for both outcomes, but I want to break it down by treatment. The second issue is that the variables in the outcome equation are interactions, but I want them to appear by their actual name.
I have Stata15 and cannot use the collect command.
Thank you in advance for your help,
Nikos
After using eregress to estimate a regression with endogenous treatment, I want to make a table in word where the first column will be the treatment equation, the second will be the outcome if the treatment is zero, and the third will be the outcome if the treatment is one.
I used estout from ssc, with the unstack option [see code bellow] but I have two problems. First, there is a single equation for both outcomes, but I want to break it down by treatment. The second issue is that the variables in the outcome equation are interactions, but I want them to appear by their actual name.
I have Stata15 and cannot use the collect command.
Thank you in advance for your help,
Nikos
Code:
use http://www.stata-press.com/data/r15/wageed eregress wage c.age##c.age tenure, entreat(college = i.peduc) vce(robust) esttab ., unstack
Comment