全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 统计软件培训班VIP答疑区
2956 4
2010-01-21
连老师:
    您好!
   有一个问题想请教您一下: 我在做2SLS中选择工具变量时准备滞后项作为工具变量(如下式)

xtivreg      indep  ln_assets se age dbr (roa= roa(-1)), small

然后我想用相关系数判断indep roa roa(-1) 之间的相关性
结果发现用corr时
                    indep          roa        roa(-1)        
indep          1.0000
roa              -0.0116    1.0000
roa(-1)   -0.0971     0.4378     1.0000
  根据这个结果,我认为可以选择roa(-1)作为roa的工具变量,因为roa(-1)和roa的相关系数为0.4378,但与indep的相关性只有-0.0971,满足工具变量选择的要求

但用pwcorr算相关性时
                    indep         roa       roa(-1)
indep          1.0000  
roa             -0.1552     1.0000
roa(-1)  -0.1834     0.4563    1.0000
这个结果说明用roa(-1)是不理想的。

我个人认为应该根据pwcorr的结果进行判断,不知是否正确?谢谢!


附:stata对corr和pwcorr的描述如下:
1.The correlate command displays the correlation matrix or covariance matrix for a group of variables or for the coefficients of the most recent estimation. If varlist and _coef are not specified, the matrix is displayed for all variables in the data.  Also see [R] estat.

2. pwcorr displays all the pairwise correlation coefficients between the  variables in varlist or, if varlist is not specified, all the variables  in the dataset.
二维码

扫码加我 拉你入群

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

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

全部回复
2010-1-24 08:48:07
1# wxyrocky

不能只看相关系数的大小,还要看看是否显著。
二维码

扫码加我 拉你入群

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

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

2010-1-24 21:48:30
谢谢,那根据corr的结果还是根据pwcorr的结果进行判断呢?
二维码

扫码加我 拉你入群

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

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

2010-1-25 08:23:33
pcorr
二维码

扫码加我 拉你入群

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

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

2010-1-25 09:58:28
谢谢!
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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