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-
|
|