标签在Stata

The*_*rel -1 interpretation stata

我试图tabout在Stata中使用该命令生成一个表格,显示年龄变量的摘要统计信息.我想要的是类似于summarize age, detail输出但产生类似于MS Word格式的输出.

tabout年龄使用table111.txt,c(偏斜年龄峰度年龄平均年龄中位年龄sd年龄)f(0c)总和h3(nil)npos(两者)

不会产生我想要的结果.

有关如何调整代码的任何建议?如果我想在表中包含第二个变量以及相同的汇总统计信息,该怎么办?

Maa*_*uis 5

你可以用这个estout包做同样的事情.你会输入:

estpost summarize age, detail
esttab . using table111, cells("skewness kurtosis mean p50 sd") noobs rtf
Run Code Online (Sandbox Code Playgroud)

你可以在这里阅读更多内容:http: //repec.org/bocode/e/estout/hlp_estpost.html#summarize

如果要包含第二个变量,比如说hours,只需键入:

estpost summarize age hours, detail
esttab . using table111, cells("skewness kurtosis mean p50 sd") noobs rtf
Run Code Online (Sandbox Code Playgroud)