Date: Tue, 6 Oct 2009 18:12:13 -0400
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: Can I specify 2 decimal digits in proc corr?
Ya,
Thanks! I didn't know that.
And, after reading your post, I discovered that one can type ODST in the
command line and see all of the things that are set in the various
templates.
However, I couldn't find how one could change the format of the correlations
or pvalues in the matrix that is output by proc corr. Do you (or anyone)
know how that might be accomplished?
Art
---------
On Tue, 6 Oct 2009 13:58:50 -0400, Ya Huang <ya.huang@AMYLIN.COM> wrote:
>You can modify UniStat table template:
>
>ods path sasuser.templat(update) sashelp.tmplmst(read);
>
> proc template;
> edit base.corr.UniStat;
> edit Mean;
> format = 8.2;
> end;
> edit StdDev;
> format = 8.2;
> end;
> edit Min;
> format = 8.2;
> end;
> define Max;
> format = 8.2;
> end;
> end;
>run;
>
>proc corr data=sashelp.class;
>var weight height;
>run;
>
>
> Simple Statistics
>
> Variable N Mean Std Dev Sum
>Minimum Maximum
>
> Weight 19 100.03 22.77 1901
>50.50 150.00
> Height 19 62.34 5.13 1184
>51.30 72.00
>
>
>On Tue, 6 Oct 2009 06:52:29 -0700, demin <qdmiris@GMAIL.COM> wrote:
>
>>Can I specify 2 decimal digits in proc corr? or after output to excel,
>>I can change easily. Thanks.
|