The command I an using is the following:
Code:
eststo totsample: estpost summarize $COVS
eststo treatment: estpost summarize $COVS if train==1
eststo control: estpost summarize $COVS if train==0
eststo groupdiff: estpost ttest $COVS, by(train)
esttab totsample treatment control groupdiff using table1.tex, replace ///
cell(mean(pattern(1 1 1 0) fmt(4)) b(pattern(0 0 0 1) fmt(4)) sd(pattern(1 1 1 0) fmt(4)) ///
se(pattern(0 0 0 1) fmt(2))) mtitle("Full sample" "Training" "Control" "Difference (3)-(2)")How can I solve this issue?
If there is a faster, better way please let me know!
Thank you in advance
0 Response to balance table using esttab
Post a Comment