全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
22586 23
2013-10-31
请教大家,

1、我用的是xtivreg2,........fe gmm2s robust cluster(id),  请问一下怎么做Anderson-Rubin Wald检验呢?
我看到有的文献做了“Underidentification test,Weak identification test overidentification test”,还做了Anderson-Rubin Wald检验”,提及Anderson-Rubin Wald检验也在1%水平上拒绝“内生回归系数之和等于零”的零假设,这进一步说明了工具变量与内生变量之间具有较强的相关性;”。
同时我还发现有的文献没有做“Anderson-Rubin Wald检验”,它们只做了“Underidentification test,Weak identification test overidentification test”。
所以,我想请教您一下,Anderson-Rubin Wald检验”必须做吧?应该怎么做呢?谢谢~~


是不是Anderson-Rubin Wald检验”在2SLS才能用呢?用gmm估计是不是不能做呢?
二维码

扫码加我 拉你入群

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

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

全部回复
2013-10-31 22:04:34
你执行过你说的那个命令吗
把结果贴出来 看看
二维码

扫码加我 拉你入群

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

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

2013-11-1 01:38:33
按理,指令后面加个 first 就会出现楼主要的。
参考看看。
二维码

扫码加我 拉你入群

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

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

2013-11-1 19:03:09
h3327156 发表于 2013-11-1 01:38
按理,指令后面加个 first 就会出现楼主要的。
参考看看。
1、针对xtivreg2,........fe gmm2s robust cluster(id),  按您说的如下:

. xtivreg tci2  hc1  lnphycaprkna_emp  lnlabcyp005  lnfdis05 institution100  (ln
> prca= L.lnprca  co2cap_pt  co2gdp_pt), fe first

First-stage within regression

Fixed-effects (within) regression               Number of obs      =       540
Group variable: reporter                        Number of groups   =        54

R-sq:  within  = 0.7069                         Obs per group: min =        10
       between = 0.9123                                        avg =      10.0
       overall = 0.9027                                        max =        10

                                                F(8,478)           =    144.10
corr(u_i, Xb)  = 0.1710                         Prob > F           =    0.0000

-------------------------------------------------------------------------------
       lnprca |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
          hc1 |   .0800572   .0525111     1.52   0.128     -.023124    .1832384
lnphycaprk~mp |   .0236873   .0277748     0.85   0.394    -.0308886    .0782631
  lnlabcyp005 |  -.0376327    .015873    -2.37   0.018    -.0688222   -.0064431
     lnfdis05 |   .0348795   .0079455     4.39   0.000     .0192671    .0504919
instituti~100 |   .0000116   .0007621     0.02   0.988    -.0014859    .0015091
              |
       lnprca |
          L1. |   .4582842   .0377059    12.15   0.000     .3841944     .532374
              |
    co2cap_pt |  -.0047182   .0010058    -4.69   0.000    -.0066945   -.0027419
    co2gdp_pt |   .0055343   .0014313     3.87   0.000     .0027219    .0083466
        _cons |   4.524772   .3646652    12.41   0.000     3.808227    5.241317
--------------+----------------------------------------------------------------
      sigma_u |  .09290369
      sigma_e |  .03892351
          rho |  .85067814   (fraction of variance due to u_i)
-------------------------------------------------------------------------------
F test that all u_i=0:     F(53, 478) =     4.47             Prob > F = 0.0000

Fixed-effects (within) IV regression         Number of obs      =          540
Group variable: reporter                     Number of groups   =           54

R-sq:  within  = 0.1433                      Obs per group: min =           10
       between = 0.1136                                     avg =         10.0
       overall = 0.1149                                     max =           10

                                             Wald chi2(6)       =      1003.97
corr(u_i, Xb)  = -0.3235                     Prob > chi2        =       0.0000

-------------------------------------------------------------------------------
         tci2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
       lnprca |   .3035708   .0982278     3.09   0.002     .1110478    .4960938
          hc1 |  -.0737251    .073113    -1.01   0.313    -.2170239    .0695737
lnphycaprk~mp |   .2345187   .0388015     6.04   0.000      .158469    .3105683
  lnlabcyp005 |  -.0809598   .0175863    -4.60   0.000    -.1154282   -.0464914
     lnfdis05 |  -.0401354   .0119169    -3.37   0.001    -.0634922   -.0167787
instituti~100 |   .0014518   .0010385     1.40   0.162    -.0005837    .0034873
        _cons |  -4.860033    .751207    -6.47   0.000    -6.332372   -3.387695
--------------+----------------------------------------------------------------
      sigma_u |  .19147993
      sigma_e |  .05352864
          rho |   .9275152   (fraction of variance due to u_i)
-------------------------------------------------------------------------------
F  test that all u_i=0:     F(53,480) =    76.51          Prob > F    = 0.0000
-------------------------------------------------------------------------------
Instrumented:   lnprca
Instruments:    hc1 lnphycaprkna_emp lnlabcyp005 lnfdis05 institution100
                L.lnprca co2cap_pt co2gdp_pt
-------------------------------------------------------------------------------


2、对这个命令
ivregress  gmm  tci2  hc1  lnphycaprkna_emp  lnlabcyp005  lnfdis05 institution100  (lnprca= L.lnprca  co2cap_pt  co2gdp_pt), wmatrix (cluster reporter)、用的是如下的回归


ivregress  gmm  tci2  hc1  lnphycaprkna_emp  lnlabcyp005  lnfdis05 institution100  (lnprca= L.lnprca  co2cap_pt  co2gdp_pt), first

. ivregress  gmm  tci2  hc1  lnphycaprkna_emp  lnlabcyp005  lnfdis05 institution100  (lnprca=
>  L.lnprca  co2cap_pt  co2gdp_pt), first

First-stage regressions
-----------------------

                                                  Number of obs   =        540
                                                  F(   8,    531) =    2152.63
                                                  Prob > F        =     0.0000
                                                  R-squared       =     0.9796
                                                  Adj R-squared   =     0.9793
                                                  Root MSE        =     0.0452

----------------------------------------------------------------------------------
                 |               Robust
          lnprca |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
             hc1 |  -.0117086   .0134836    -0.87   0.386    -.0381963    .0147791
lnphycaprkna_emp |  -.0187146   .0082309    -2.27   0.023    -.0348837   -.0025456
     lnlabcyp005 |  -.0093766   .0098755    -0.95   0.343    -.0287765    .0100233
        lnfdis05 |  -.0012515    .001269    -0.99   0.324    -.0037444    .0012413
  institution100 |  -.0007471   .0003148    -2.37   0.018    -.0013655   -.0001286
                 |
          lnprca |
             L1. |   .9453211   .0150483    62.82   0.000     .9157596    .9748826
                 |
       co2cap_pt |  -.0018794   .0006168    -3.05   0.002    -.0030911   -.0006676
       co2gdp_pt |   .0020754   .0007135     2.91   0.004     .0006737     .003477
           _cons |   .8781927   .1966162     4.47   0.000     .4919517    1.264434
----------------------------------------------------------------------------------


Instrumental variables (GMM) regression                Number of obs =     540
                                                       Wald chi2(6)  =  364.56
                                                       Prob > chi2   =  0.0000
                                                       R-squared     =  0.3736
GMM weight matrix: Robust                              Root MSE      =  .15659

----------------------------------------------------------------------------------
                 |               Robust
            tci2 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
          lnprca |   .6482297   .0423372    15.31   0.000     .5652503     .731209
             hc1 |  -.0611358   .0219196    -2.79   0.005    -.1040973   -.0181742
lnphycaprkna_emp |   .1085501   .0235886     4.60   0.000     .0623172    .1547829
     lnlabcyp005 |  -.1711451   .0170801   -10.02   0.000    -.2046215   -.1376688
        lnfdis05 |   .0139148   .0062994     2.21   0.027     .0015682    .0262615
  institution100 |   .0027736   .0013024     2.13   0.033     .0002209    .0053263
           _cons |  -6.691095   .4246392   -15.76   0.000    -7.523373   -5.858818
----------------------------------------------------------------------------------
Instrumented:  lnprca
Instruments:   hc1 lnphycaprkna_emp lnlabcyp005 lnfdis05 institution100 L.lnprca
               co2cap_pt co2gdp_pt

.

. 从回归结果来看,好像没有找到“Anderson-Rubin Wald检验”的结果呢?

谢谢,敬请指点啊!
二维码

扫码加我 拉你入群

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

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

2013-11-1 19:31:16
rictan 发表于 2013-11-1 19:03
1、针对xtivreg2,........fe gmm2s robust cluster(id),  按您说的如下:

. xtivreg tci2  hc1  lnph ...
您提问的是xtivreg2
可是您秀的却是xtivreg

请正确执行再试试
二维码

扫码加我 拉你入群

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

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

2013-11-1 20:59:58
h3327156 发表于 2013-11-1 19:31
您提问的是xtivreg2
可是您秀的却是xtivreg
谢谢!!问题已解决!!!
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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