楼主: wxyrocky
2995 4

[Stata高级班] 不知用哪个相关系数命令判断才是正确的? [推广有奖]

  • 6关注
  • 2粉丝

VIP

已卖:165份资源

教授

54%

还不是VIP/贵宾

-

威望
0
论坛币
101635 个
通用积分
31.2785
学术水平
8 点
热心指数
9 点
信用等级
7 点
经验
25741 点
帖子
598
精华
0
在线时间
2245 小时
注册时间
2005-11-15
最后登录
2025-10-18

楼主
wxyrocky 发表于 2010-1-21 23:54:19 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
连老师:
    您好!
   有一个问题想请教您一下: 我在做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.
二维码

扫码加我 拉你入群

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

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

关键词:相关系数 coefficients coefficient correlation Estimation 相关系数 pwcorr

沙发
arlionn 在职认证  发表于 2010-1-24 08:48:07
1# wxyrocky

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

藤椅
wxyrocky 发表于 2010-1-24 21:48:30
谢谢,那根据corr的结果还是根据pwcorr的结果进行判断呢?

板凳
arlionn 在职认证  发表于 2010-1-25 08:23:33
pcorr

报纸
wxyrocky 发表于 2010-1-25 09:58:28
谢谢!

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

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