Thursday, March 17, 2011

SAS code for Fisher z-transformation

If you are interested in using SAS for question c in Lab 7, you can use the code below:

TITLE Fisher z-transformation correlation test;
PROC CORR data=crime Fisher(rho0=.5 alpha=.01);
VAR violent poverty;
RUN;

I recommend doing this question by hand to find the test statistic z. SAS does not provide this value z. However, you can use the p-value in the output to decide whether or not to reject H0.

No comments:

Post a Comment