楼主: runman
20077 6

[其他] 关于stata回归结果输出格式问题 [推广有奖]

学科带头人

77%

还不是VIP/贵宾

-

威望
0
论坛币
2252 个
通用积分
27.5974
学术水平
8 点
热心指数
9 点
信用等级
8 点
经验
51532 点
帖子
979
精华
0
在线时间
3793 小时
注册时间
2010-4-3
最后登录
2025-11-24

楼主
runman 发表于 2016-3-7 20:37:32 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
用stata做一个回归分析

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

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


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


在此先谢过大家啦。





二维码

扫码加我 拉你入群

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

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

关键词:回归结果输出 Stata 结果输出 tata 输出格式 回归分析 程序

本帖被以下文库推荐

沙发
Captain-CUI 学生认证  发表于 2016-3-7 22:34:37 来自手机
runman 发表于 2016-3-7 20:37
用stata做一个回归分析

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

藤椅
runman 发表于 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值)

板凳
youjihong 发表于 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


  1. sysuse auto,clear
  2. regress mpg foreign weight
  3. outreg2 using myfile.doc, word sideway stats(coef aster pval) noparen dec(3) replace
复制代码




已有 1 人评分学术水平 热心指数 信用等级 收起 理由
日新少年 + 1 + 1 + 1 精彩帖子

总评分: 学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

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

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

7
runman 发表于 2016-10-11 14:28:07
蓝色 发表于 2016-10-10 17:47
outreg2命令里面许多例子,我们输出的格式一般都能解决
谢谢啦

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-29 17:28