| Date: | Tue, 5 Feb 2002 10:43:16 -0800 |
| Reply-To: | Cassell.David@EPAMAIL.EPA.GOV |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "David L. Cassell" <Cassell.David@EPAMAIL.EPA.GOV> |
| Subject: | Re: How to save CTABLE in PROC logistic |
| Content-type: | text/plain; charset=us-ascii |
|---|
Ian <bonjour@STEP.POLYMTL.CA> wrote:
> I'm using PROC LOGISTIC and would like to save only the output of the
> CTABLE in a sas table so I can use the results afterwards. Can someone
> tell me how to do that?
Since you're using the MODEL statement and the CTABLe option, you are
already set to get the output you want, if you just use ODS. The
desired
table is called Classification [surprisingly :-]. Try this:
ODS output Classification=whatever_you_want_to_name_it;
/* your proc logistic code goes here - make sure you don't use the
noprint
option in the proc statement
*/
ODS output close;
That's it. You now have your desired table with whatever name you chose
to assign to it.
> thank you
You're welcome,
David
--
David Cassell, CSC
Cassell.David@epa.gov
Senior computing specialist
mathematical statistician
|