全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
4849 2
2016-01-04
各位老师:我的stata12.0中diff报告出来是这样纵向的,但是我需要横向的,这样横向的,主要用标准差。请赐教
附件列表
z189456h123_1451890868727_23.png

原图尺寸 47.34 KB

z189456h123_1451890868727_23.png

z189456h123_1451890868649_66.png

原图尺寸 88.79 KB

z189456h123_1451890868649_66.png

二维码

扫码加我 拉你入群

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

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

全部回复
2016-1-5 07:46:37
三个办法:
第一,如果程序自带选项(option)调整格式的话帮助文件里会说的。所以可以再参考一下帮助文件。
第二,可以考虑修改一下程序,通过自己编程改变输出格式。
第三,做表的时候自己在excel或者word里改一下。
二维码

扫码加我 拉你入群

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

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

2018-7-31 18:11:55

Exporting results

    You can export your results with outreg2. Run the following command after diff with double difference:
        
    outreg2 using table_diff, ctitle(`r(depvar)') addstat(Mean control t(0), r(mean_c0), Mean treated t(0), r(mean_t0), Diff t(0), r(diff0), Mean control t(1), r(mean_c1), Mean
        treated t(1), r(mean_t1), Diff t(1), r(diff1)) label excel keep(_diff) nocons

    Run the following command after diff with triple difference:
        
    outreg2 using output, ctitle(`r(depvar)') addstat(Mean control - A t(0), r(mean_c0a), Mean control - B t(0), r(mean_c0b), Mean treated A - t(0), r(mean_t0a), Mean treated B
        - t(0), r(mean_t0b), Diff t(0), r(diff0), Mean ), r(mean_c1a), Mean control - B t(1), r(mean_c1b), Mean treated - A t(1), r(mean_t1a), Mean treated - B t(1),
        r(mean_t1b), Diff t(1), r(diff1)) label excel keep(_diff) nocons dec(4)

    Results will be stored in the working directory (also see help outreg2 for further options).
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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