Hi,
I'm currently using the following code:
I get a table in Latex format with 3 columns: "Boys", "Girls" and "Diff.", which report the mean of my X variables and the difference between boys and girls.
I was wondering if it was possible to get, in addition to these 3 columns, an additional one "Overall", in which would be reported the mean of my X variables for the overall sample (girls and boys).
Thanks,
I'm currently using the following code:
Code:
est clear global vars X estpost ttest $vars, by(gender) esttab using "$output/table.tex", replace /// cells("mu_1(fmt(2)) mu_2 b(star)") /// collabels("Boys" "Girls" "Diff." ) /// star(* 0.10 ** 0.05 *** 0.01) /// label booktabs nonum gaps noobs compress ///
I was wondering if it was possible to get, in addition to these 3 columns, an additional one "Overall", in which would be reported the mean of my X variables for the overall sample (girls and boys).
Thanks,
Comment