全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2460 1
2014-08-18
请问大家一下, outreg2如何在summary stats里加入权重啊?outreg2中本来可以用如“outreg2 using x.doc, replace sum(log)”的方式输出summary stats,但是我的数据中有权重变量,我试过用“outreg2 using x.doc, replace sum(log) [aw=weight]”之类的命令,但是outreg2似乎并不支持aw。我又试了summary [aw=weight]但是有输出不了像outreg2那样可以直接在文章中用的table。


我又试了outsum,倒是可以加权重,但也输出不了像outreg2那样可以直接在文章中用的table。


真苦恼啊。。。。求版上的前辈帮助。


非常感谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2014-8-18 14:26:17
用另一种方法勉强解决了,记录如下:

estpost summarize [aw= weight]
estout using "~\try.doc",replace cells("count mean sd min max")
logout, save(result) excel word replace: summarize

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群