Dear all,
I use Stata18 on Windows.
for my thesis project I would like to generate a publication style summary statistic (aka Table 1). I've made good progress with the dtable command but could not figure out how to include means and p-value asteriks. Additonally, I would like to include sub-titles in cursive writing for the dependent and independent variable, as well as change the column above and put the treatment group into the front column.
Ideally, I would like my table to look something like this:

with the code: dtable erwerbstätig ArbeitH FreizeitH Alter i.Education i.partner duration_cohab child_0_2 child_3_5 child15 taxsplit if sex == 2 & post_reform == 0, by(treatment, nototals) factor(i.Education i.partner, statistics(fvrawproportion)) continuous(, statistic(mean sd)) nosample title(Women) nformat(%16.2fc mean sd) export("table1", as(docx) replace) column(by(hide)) I got pretty close.

Any tips will be much appreciated!
Thanks in Advance
I use Stata18 on Windows.
for my thesis project I would like to generate a publication style summary statistic (aka Table 1). I've made good progress with the dtable command but could not figure out how to include means and p-value asteriks. Additonally, I would like to include sub-titles in cursive writing for the dependent and independent variable, as well as change the column above and put the treatment group into the front column.
Ideally, I would like my table to look something like this:
with the code: dtable erwerbstätig ArbeitH FreizeitH Alter i.Education i.partner duration_cohab child_0_2 child_3_5 child15 taxsplit if sex == 2 & post_reform == 0, by(treatment, nototals) factor(i.Education i.partner, statistics(fvrawproportion)) continuous(, statistic(mean sd)) nosample title(Women) nformat(%16.2fc mean sd) export("table1", as(docx) replace) column(by(hide)) I got pretty close.
Any tips will be much appreciated!
Thanks in Advance