楼主: hiderm
11794 5

[回归分析求助] 如何让logit回归结果输出到excel中时系数和标准误在同一行? [推广有奖]

已卖:5227份资源

院士

59%

还不是VIP/贵宾

-

威望
1
论坛币
59505 个
通用积分
4044.5148
学术水平
253 点
热心指数
332 点
信用等级
219 点
经验
76220 点
帖子
2202
精华
1
在线时间
2767 小时
注册时间
2006-6-3
最后登录
2025-9-20

楼主
hiderm 发表于 2014-1-29 17:13:26 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
使用outreg2 命令将logit结果输出到 excel 中时,同一个自变量的系数和标准误是分别列示在两行的,系数后面有表示显著性水平的*号,可是在正式出版的期刊中,为节省篇幅,表格中的系数和括号中的标准误是显示在同一行的,标准误后面是显著性水平的*号。
例如:使用outreg2时输出结果是形如下表的形式

x1
-0.123***

[-2.789]

而在正式出版物中的logit回归结果中,输出格式形如下表
x1
-0.123[-2.789]***


请问:如何让logit回归结果输出到excel或word中时,自变量的系数和标准误是在同一行显示?
          如果outreg2 命令做不到这一点,哪个命令可以?

二维码

扫码加我 拉你入群

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

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

关键词:回归结果输出 logit EXCEL 回归结果 结果输出 excel 如何

[b][color=Red]提请应助者注意:请不要上传draft或者wp版本,谢谢!因为这些版本我自己用谷歌搜索就可以搜到并免费下载

沙发
ermutuxia 发表于 2014-10-20 13:50:01
不能,需要你自己整理,不要过度依靠程序,程序不是万能的
已有 1 人评分经验 热心指数 收起 理由
夏目贵志 + 10 + 2 程序不是万能的

总评分: 经验 + 10  热心指数 + 2   查看全部评分

藤椅
clockman 发表于 2015-11-30 22:50:34
通过学习终于明白了上面是系数,下面是标准误,星号代表显著性水平

板凳
蓝色 发表于 2015-12-1 07:46:31
可以并排啊看帮助

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




Example 6. Sideway display

    Medical journals often requires the displays to go sideways. Use sideway to make
    this happen. sideway is compatible with stats( ).

    outreg2 using myfile, sideway stats(coef aster se) noparen dec(3) replace

    Note the above code is equivalent to building the table one column at a time like
    this:

    outreg2 using myfile, stats(coef) replace noparen dec(3)
    outreg2 using myfile, stats(aster) noparen dec(3)
    outreg2 using myfile, stats(se) noparen dec(3)

    Some journals often prefer t-statistics to standard errors and don't use asterisks
    to denote statistical significance. Some people use brackets. The title( ) option
    requires quotation marks when it contains a comma. Note that dec decimal option
    apply to both the coefficients and the standard errors.
已有 1 人评分学术水平 收起 理由
米米鼠鼠 + 1 精彩帖子

总评分: 学术水平 + 1   查看全部评分

报纸
thylor 发表于 2016-6-6 17:48:26
请问 您这个结果的系数比标准误小很多 但是为什么结果却非常显著呢

地板
506232839 发表于 2016-12-11 19:08:35
thylor 发表于 2016-6-6 17:48
请问 您这个结果的系数比标准误小很多 但是为什么结果却非常显著呢
括号里面应该是t值

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

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