楼主: launch1136
4076 2

[一般统计问题] 紧急求助,用过pwcorr命令,如何抓出相关系数的p值 [推广有奖]

  • 0关注
  • 0粉丝

已卖:47份资源

本科生

53%

还不是VIP/贵宾

-

威望
0
论坛币
2022 个
通用积分
0.0600
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
473 点
帖子
40
精华
0
在线时间
100 小时
注册时间
2010-4-2
最后登录
2015-2-5

楼主
launch1136 发表于 2014-5-8 14:46:52 |AI写论文
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
关键词:pwcorr Corr 相关系数 紧急求助 PWC 如何

沙发
hplcdadong 发表于 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

藤椅
auv 发表于 2014-5-8 20:32:21
连老师的pwocrr_a,你sourceview一下viewsource pwcorr_a.ado,看看能搞明白不。

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

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