Hi everyone, I am trying to have some descriptive statistics on time children spend with their own parents using Italian Time Use Data and I am using tabstat+estout. Is there a way to put the standard deviation under the mean (i.e. in the same row below the mean and not in another column) in the table output I am exporting? Here is an example of my code:
Thank you in advance,
Andrea
Code:
keep if child==1
foreach X of varlist read_mother play_mother homework_mother fairytales_mother {
tabstat `X', missing stat(n mean sd min max) save
estpost tabstat `X', missing stat(n mean sd min max)
eststo table_1, esample
estout table_1 using table1.xls,append style(tab) cells((mean(fmt(2)) sd(par fmt(2)) min(fmt(2)) max(fmt(2)))) omitted legend label varlabels(_cons \_cons) title(`X')
}
Andrea

Comment