连老师:
您好!
有一个问题想请教您一下: 我在做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.