I have a question using Proc CORR. I used the following codes (the following is just an example) to find the Spearman correlations between variables:
Proc CORR data=use Spearman;
Var A B C D E ... L /*12 variables in total*/;
With F G H;
Run;
However, the result I got for correlations between A and F, or G, or H are slightly different from what I got if I use only:
Proc CORR data=use Spearman;
Var A;
With F G H;
Run;
From the SAS manual, I couldn’t tell why as the calculation formula would be the same for these correlations in both cases. Could anyone please shed some light?
Thank you!
... View more