Esttab Ttest. Mar 13 2017 matrix ttest r mu_1r sd_1r N_1r mu_2r sd_2r N_2r m u_2 - r mu_1r p matrix rownames ttest var matrix colnames ttest Mean1 sd1 N1 mean2 sd2 N2 mean_differences pscore esttab var using diroutputseeds_sourcecsv cells mu_1 mu_2 t p wide nonumber star 01 005 001. The following code generates the two components of the desired table.
Non-college graduates Refer to this do-file for more detail. Jun 16 2016 Esttabs website provides a way of outputting results from ttest but there is no option to include the means of each group separately only the difference between them. Estpost is a tool make results from some of the most popular of these non-e-class.
Esttab mu_1 mu_2 t b however.
Using a combination of estpost and estadd I have come up with a way of also including the means of each group in the table. Mar 18 2021 Please I would like to append the results from several t-tests in one table using esttab which is from the Stata Journal. Jun 16 2016 Esttabs website provides a way of outputting results from ttest but there is no option to include the means of each group separately only the difference between them. Esttab mu_1 mu_2 t b however.
