楼主: hnnlnqtz
2243 1

[其他] ivreg2后不显示第一阶段结果 [推广有奖]

  • 0关注
  • 0粉丝

已卖:44份资源

硕士生

15%

还不是VIP/贵宾

-

威望
0
论坛币
2568 个
通用积分
2.5917
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
415 点
帖子
24
精华
0
在线时间
239 小时
注册时间
2009-7-7
最后登录
2024-10-13

楼主
hnnlnqtz 发表于 2024-10-13 10:27:42 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
利用ivreg2命令进行回归后,不显示第一阶段的回归结果,出现了如下的信息:
. ivreg2 lwage educ exper tenure age black married ( educ=IQ ),first
Warning - duplicate variables detected
Duplicates:         educ

Unable to display first-stage estimates; macro e(first) is missing

Unable to display summary of first-stage estimates; macro e(first) is missing

OLS estimation
--------------

Estimates efficient for homoskedasticity only
Statistics consistent for homoskedasticity only

                                                      Number of obs =      935
                                                      F(  6,   928) =    39.04
                                                      Prob > F      =   0.0000
Total (centered) SS     =  165.6562832                Centered R2   =   0.2015
Total (uncentered) SS   =  43133.48095                Uncentered R2 =   0.9969
Residual SS             =  132.2714662                Root MSE      =    .3761

------------------------------------------------------------------------------
       lwage | Coefficient  Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
        educ |   .0671578   .0066409    10.11   0.000     .0541418    .0801738
       exper |    .011163   .0038203     2.92   0.003     .0036752    .0186507
      tenure |   .0111277   .0025522     4.36   0.000     .0061255    .0161298
         age |   .0071063   .0048147     1.48   0.140    -.0023303    .0165429
       black |  -.1964922    .037591    -5.23   0.000    -.2701691   -.1228153
     married |   .1831405   .0402241     4.55   0.000     .1043027    .2619783
       _cons |   5.291493   .1575656    33.58   0.000      4.98267    5.600316
------------------------------------------------------------------------------
Sargan statistic (overidentification test of all instruments):          17.721
                                                   Chi-sq(1) P-val =    0.0000
------------------------------------------------------------------------------
Included instruments: educ exper tenure age black married
Excluded instruments: IQ
Duplicates:           educ
------------------------------------------------------------------------------
请问大神,这样的问题如何解决?

二维码

扫码加我 拉你入群

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

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

关键词:IVREG REG IVR 不显示 Instruments stata问题

沙发
wdlbcj 学生认证  发表于 2024-10-14 13:16:31
  ivreg2 lwage educ exper tenure age black married ( educ=IQ ),first

把这里的  educ 去了

ivreg2 lwage  ( educ=IQ )  exper tenure age black married,first

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-25 08:14