Date: Tue, 22 Jul 1997 17:03:14 GMT
Reply-To: Howard Kaplan <howard.kaplan@UTORONTO.CA>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Howard Kaplan <howard.kaplan@UTORONTO.CA>
Organization: Psychopharmacology and Dependence Unit, Women's College Hospital,
Toronto
Subject: Re: macro to compare correlations needs refinement
Content-Type: text/plain; charset=us-ascii
Karen L. Olson, Ph.D. wrote:
>
> Warning: this is a long question.
>
> I want to correlate a bunch of mother variables with a bunch of infant
> variables and do this separately for 2 groups...
> In the macro, I run proc corr and save the output. However, the
> output file does not contain the significance of the correlation...
Here's another approach entirely. If you use PROC PRINTTO to divert
the printed output of PROC CORR to an ASCII file, and if you also set
the
page width narrow enough to ensure that you don't have multiple columns
of correlations to deal with, then reading the information you need from
the ASCII files in another data step might be very simple.
--
Howard L. Kaplan
Psychopharmacology and Dependence Research Unit
Women's College Hospital
76 Grenville Street, 9'th floor
Toronto, Ontario
Canada M5S 1B2
(416)323-6400, ext 4915
howard.kaplan@utoronto.ca
|