由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - How to compare two correlations in SAS?
相关主题
求助,如何安装SAS IML,有包子。说一下今天的电面
(紧急)proc glm 有什么语句能显示 correlation 吗?遇到一个SAS问题
请教工作中遇到的correlation问题Import excel file to sas (the first 8 or more observations
请问survey data计算correlation和它的CL的问题SAS format 的问题
请问一个correlation和regression的问题下周考试,base 70题里面的疑问
对于 interval censor 的情况怎么写SAS code呀?中级SAS问题
这个OUTPUT怎么看啊?求SAS code
[SAS]一个比较大的dataset中求特定对variable的R2攒rp,发些我近年来找工作的问题总结
相关话题的讨论汇总
话题: corr话题: sas话题: compare话题: two
进入Statistics版参与讨论
1 (共1页)
c**********e
发帖数: 2007
1
I have a sample of patients, each has variable
weight (w), height (h) and blood pressure (p).
How to compare corr(w,h) and corr(w, p) in SAS?
What is the statistical test?
Thanks a lot,
A*********u
发帖数: 8976
2
用 proc corr

I have a sample of patients, each has variable
weight (w), height (h) and blood pressure (p).
How to compare corr(w,h) and corr(w, p) in SAS?
What is the statistical test?
Thanks a lot,

【在 c**********e 的大作中提到】
: I have a sample of patients, each has variable
: weight (w), height (h) and blood pressure (p).
: How to compare corr(w,h) and corr(w, p) in SAS?
: What is the statistical test?
: Thanks a lot,

x******n
发帖数: 173
3
proc corr;
var w*(h p);

【在 c**********e 的大作中提到】
: I have a sample of patients, each has variable
: weight (w), height (h) and blood pressure (p).
: How to compare corr(w,h) and corr(w, p) in SAS?
: What is the statistical test?
: Thanks a lot,

c**********e
发帖数: 2007
4
It looks that my SAS 9.1.3 does not recognize it. Have you
tried on your SAS version? Thanks a lot. The error is as
following:
981 proc corr;
982 var x*(y z);
-
22
-
200
ERROR 22-322: Syntax error, expecting one of the following: a name, ;, -, :,
_ALL_, _CHARACTER_,
_CHAR_, _NUMERIC_.
ERROR 200-322: The symbol is not recognized and will be ignored.
983 run;

【在 x******n 的大作中提到】
: proc corr;
: var w*(h p);

x******n
发帖数: 173
5
my fault
proc corr;
var x y z;

【在 c**********e 的大作中提到】
: It looks that my SAS 9.1.3 does not recognize it. Have you
: tried on your SAS version? Thanks a lot. The error is as
: following:
: 981 proc corr;
: 982 var x*(y z);
: -
: 22
: -
: 200
: ERROR 22-322: Syntax error, expecting one of the following: a name, ;, -, :,

x******n
发帖数: 173
6
if you do not need yz
then
var x;
with y z;

【在 c**********e 的大作中提到】
: It looks that my SAS 9.1.3 does not recognize it. Have you
: tried on your SAS version? Thanks a lot. The error is as
: following:
: 981 proc corr;
: 982 var x*(y z);
: -
: 22
: -
: 200
: ERROR 22-322: Syntax error, expecting one of the following: a name, ;, -, :,

c**********e
发帖数: 2007
7
Thanks. But my problem is to test if two correlations
are equal. For example, proc corr gives corr(x,y)=0.6
and corr(x,z)=0.7. Are the two correlations signicantly
different? (Apparently, sample size makes a difference.)

【在 x******n 的大作中提到】
: if you do not need yz
: then
: var x;
: with y z;

x******n
发帖数: 173
8
I do not have an idea available now
maybe you can try the nonparametric method, Spearson's correlation?

【在 c**********e 的大作中提到】
: Thanks. But my problem is to test if two correlations
: are equal. For example, proc corr gives corr(x,y)=0.6
: and corr(x,z)=0.7. Are the two correlations signicantly
: different? (Apparently, sample size makes a difference.)

w***z
发帖数: 28
9
just woudering: corr(w,h) and corr(w, p) are just two numbers, how can and
possible to do statistical test for 2 numbers?
have a sample of patients, each has variable
weight (w), height (h) and blood pressure (p).
How to compare corr(w,h) and corr(w, p) in SAS?
What is the statistical test?
Thanks a lot,
s*r
发帖数: 2757
10
how can we do statistical test for 2 means?

【在 w***z 的大作中提到】
: just woudering: corr(w,h) and corr(w, p) are just two numbers, how can and
: possible to do statistical test for 2 numbers?
: have a sample of patients, each has variable
: weight (w), height (h) and blood pressure (p).
: How to compare corr(w,h) and corr(w, p) in SAS?
: What is the statistical test?
: Thanks a lot,

c**********e
发帖数: 2007
11
Thanks anyway. I have found some way to do it.
Not in SAS. Just a formula.

【在 x******n 的大作中提到】
: I do not have an idea available now
: maybe you can try the nonparametric method, Spearson's correlation?

o****o
发帖数: 8077
12
sample correlation has an approximatly normal distribution after Fisher's z-
transformation

【在 s*r 的大作中提到】
: how can we do statistical test for 2 means?
c**********e
发帖数: 2007
13
It is a little bit more complicated because the two correlations
hence the two t-values are not independent.

z-

【在 o****o 的大作中提到】
: sample correlation has an approximatly normal distribution after Fisher's z-
: transformation

o****o
发帖数: 8077
14
that's why I didn't give out an answer
I was replying to Sir(郎)

【在 c**********e 的大作中提到】
: It is a little bit more complicated because the two correlations
: hence the two t-values are not independent.
:
: z-

1 (共1页)
进入Statistics版参与讨论
相关主题
攒rp,发些我近年来找工作的问题总结请问一个correlation和regression的问题
sas question对于 interval censor 的情况怎么写SAS code呀?
Easy SAS question, anyone can help这个OUTPUT怎么看啊?
请问熟悉SAS IML的[SAS]一个比较大的dataset中求特定对variable的R2
求助,如何安装SAS IML,有包子。说一下今天的电面
(紧急)proc glm 有什么语句能显示 correlation 吗?遇到一个SAS问题
请教工作中遇到的correlation问题Import excel file to sas (the first 8 or more observations
请问survey data计算correlation和它的CL的问题SAS format 的问题
相关话题的讨论汇总
话题: corr话题: sas话题: compare话题: two