LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 15 Jul 2009 09:49:38 -0500
Reply-To:     OR Stats <stats112@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         OR Stats <stats112@GMAIL.COM>
Subject:      PROC LOGISTIC class statement
Content-Type: text/plain; charset=ISO-8859-1

HELLO:

I have a dataset for which I would like to run my logistic model for three segments of the data. Using PROC LOGISTIC I used the following code:

*

PROC* *LOGISTIC* DATA=my3data DESCENDING

OUTEST=BETAS;

CLASS segments;

MODEL y= x1 x2 x3/ LACKFIT RSQUARE CTABLE;

output out=outl p=pred; *

RUN*;

However, when I go to the output data table BETAS, I do not see a set of parameters for each one of these segments. Instead, I only see the estimates for one model... Why is this? And how do I modify the code so that this model runs three times on one dataset... other than splitting the dataset out into three datasets and running PROC LOGISTIC 3x?

Thanks!!


Back to: Top of message | Previous page | Main SAS-L page