全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
20074 6
2016-03-07
用stata做一个回归分析

回归结果输出表格的大概格式是:  估计系数 显著水平
                                                        (P值)

有没有程序能够实现这样的输出格式:估计系数 显著水平 (P值)


换句话说,使得 “估计系数 ,显著水平 ,(P值)”在同一行中


在此先谢过大家啦。





二维码

扫码加我 拉你入群

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

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

全部回复
2016-3-7 22:34:37
runman 发表于 2016-3-7 20:37
用stata做一个回归分析

回归结果输出表格的大概格式是:  估计系数 显著水平
试试esttab命令
二维码

扫码加我 拉你入群

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

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

2016-3-8 07:59:13
esttab m1 m2 m3 ,scalar(r2 r2_a N F) compress        ///
star(* 0.1 ** 0.05 *** 0.01)           ///
b(%6.3f) p(%6.3f)         ///   
mtitles(n1 n2 n3  )

用的就是esttab命令,上面是原始输出程序

但回归结果输出表格的格式仍然是:  估计系数 显著水平
                                                   (P值)
二维码

扫码加我 拉你入群

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

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

2016-10-10 17:23:16

我在h文件里帮你找到了这个:

onecell                         combine point est's and t stat's in a
                                        single cell
二维码

扫码加我 拉你入群

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

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

2016-10-10 17:47:19
outreg2命令里面许多例子,我们输出的格式一般都能解决



help outreg2

------------------------------------------------------------------------------------------------------------

Titles & related stuffs

    outreg2 -- Arrange regression, summary, and tabulation into an illustrative table
    seeout -- Opens a tab-delimited table in the data browser
    shellout -- Opens documents and their programs from inside Stata

    logout -- Converts log or ASCII files into various output formats
    mkest -- Convert variables to estimates matrix


Examples

    0. Basic game plan                  
    1. Prefix and -bys:-                11. Marginal Effects
    2. Running loops                    12. Word or Excel files
    3. Stored estimates                 13. TeX files
    4. Shorthand                        14. Adding column titles or notes
    5. Decimal places                   15. n-way cross-tabulation
    6. Sideway display                  16. Group summary table
    7. Summary tables                   17. Fixed effects or legends
    8. Drop/keep/order variables        18. Stats transformation/manipulation
    9. Adding r( ) e( ) scalars         19. TBA
    10. Odds ratios and rrr             20. Insert r-class cmd( ) outputs

    Different versions of outreg and outreg2


复制代码




二维码

扫码加我 拉你入群

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

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

2016-10-11 14:27:16
youjihong 发表于 2016-10-10 17:23
我在h文件里帮你找到了这个:

onecell                         combine point est's and t stat's  ...
谢谢啦
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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