全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
4031 2
2014-05-08
悬赏 500 个论坛币 已解决
. pwcorr price headroom,sig

             |    price headroom
-------------+------------------
       price |   1.0000
             |
             |
    headroom |   0.1145   1.0000
             |   0.3313

通过什么方式分别抓出0.1145 和0.3313

照道理应该存在return list显示下的矩阵里面,怎么会不对???



最佳答案

hplcdadong 查看完整内容

A good and tricky question: official pwcorr does not store these results, Stata compnay have their "good" reasons and there are a lot of debates on this. But a user-written command can help you get it. ssc install matpwcorr, replace sysuse auto, clear matpwcorr price headroom,gen //the new generated variable "corr" and "pv" should be what you want
二维码

扫码加我 拉你入群

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

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

全部回复
2014-5-8 14:46:53
A good and tricky question: official pwcorr does not store these results, Stata compnay have their "good"  reasons and there are a lot of debates on this. But a user-written command can help you get it.

ssc install matpwcorr, replace
sysuse auto, clear
matpwcorr price headroom,gen       //the new generated variable "corr" and "pv" should be what you want
二维码

扫码加我 拉你入群

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

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

2014-5-8 20:32:21
连老师的pwocrr_a,你sourceview一下viewsource pwcorr_a.ado,看看能搞明白不。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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