【发布时间】:2017-08-27 12:37:00
【问题描述】:
我正在使用estpost 和esttab 来生成汇总统计表。但是我不知道如何指定小数点后的位数。
estpost summarize beauty bmi whr weight height armlength urban age sleep2014 if gender == 1 & year == 2014
est sto m1
estpost summarize beauty bmi whr weight height armlength urban age sleep2014 if gender == 0 & year == 2014
est sto m2
estpost summarize beauty bmi whr weight height armlength urban age if gender == 1 & year == 2012
est sto m3
estpost summarize beauty bmi whr weight height armlength urban age if gender == 0 & year == 2012
est sto m4
esttab m1 m2 m3 m4 using summary.tex, cells("mean sd min max") title(Summary statistics) replace
我试过cells("mean(3) sd(3) min(2) max(2)"),但它不起作用。我通读了http://repec.org/bocode/e/estout/estpost.html 中的所有示例。所有示例仅保留最初用于汇总统计的位数。明确说明了如何处理回归结果,但我没有发现任何对汇总统计有用的东西。
【问题讨论】:
标签: stata