Date: Wed, 30 Sep 2009 14:42:09 -0700
Reply-To: Steve Steve <steve11145@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Steve Steve <steve11145@YAHOO.COM>
Subject: Re: ODS output for Normality Test
In-Reply-To: <329070.94867.qm@web32407.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
Dale, really appreciate your help.
I was at a dead end.
________________________________
From: Dale McLerran <stringplayer_2@YAHOO..COM>
To: SAS-L@LISTSERV.UGA.EDU
Sent: Thursday, October 1, 2009 12:52:37 AM
Subject: Re: ODS output for Normality Test
Steve,
Here is example code which demonstrates the necessary ODS
statement for writing results for the PROC UNIVARIATE
tests of normality to an output data set.
data test;
do i=1 to 30;
y = rannor(0);
output;
end;
run;
ods output TestsForNormality=Test_Normal;
proc univariate data=test normal;
var y;
run;
proc print data=Test_Normal;
run;
By the way, I did not consult SAS documentation to
determine the correct ODS table name for writing out the
results of the normality tests. Instead, I used the
following code:
ODS trace on;
proc univariate data=test normal;
var y;
run;
The different ODS tables which are generated by PROC
UNIVARIATE by the above code are written to the SAS log
file. After you have determined the appropriate table
name for your ODS output statement, then you probably
want to turn off listing of ODS table names. Such
reporting can become voluminous in a big SAS job. To
turn off listing of ODS table names, simply write
ODS trace off;
HTH,
Dale
---------------------------------------
Dale McLerran
Fred Hutchinson Cancer Research Center
mailto: dmclerra@NO_SPAMfhcrc.org
Ph: (206) 667-2926
Fax: (206) 667-5977
---------------------------------------
--- On Wed, 9/30/09, Steve Steve <steve11145@YAHOO.COM> wrote:
> From: Steve Steve <steve11145@YAHOO.COM>
> Subject: ODS output for Normality Test
> To: SAS-L@LISTSERV.UGA.EDU
> Date: Wednesday, September 30, 2009, 5:40 AM
> Dear all:
>
> Could you please give me an example how to get ODS output
> of Normality Test for age? I have looked the web for hours,
> but did not get any good example.
>
> Thanks
>
|