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 (January 2010, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 18 Jan 2010 05:52:15 -0500
Reply-To:     Peter Flom <peterflomconsulting@mindspring.com>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Peter Flom <peterflomconsulting@MINDSPRING.COM>
Subject:      Re: Question regarding PROC SURVEYLOGISTIC
Comments: To: haiyan chen <haiyan_c@YAHOO.COM>
Content-Type: text/plain; charset=UTF-8

haiyan chen <haiyan_c@YAHOO.COM> wrote

>I am running logistic regression to the complex survey data using PROC SURVEYLOGISTIC and got some strange outputs: > >My program was as follows: > >Proc surveylogistic data=one; > stratum statement; > cluster statement; > model response (event='1') = predictor; > weight statement; >run; > >The predictor has 5 levels (originally were represented by 5 binary variables: level1, level2, level3, level4, and levelm). Before running the model, I've made the desired reference group, level4, as the highest level of predictor by setting predictor=1*level1+2*level2+3*level3+4*levelm+5*level4; > >Some strange outputs I got showed that, for example, the odds ratio (95%CI) for level2 was estimated 1.50(1.20, 1.99) with a p-value =0.87! > >I can't come out with a reasonable explanation of this output. I was wondering if Anybody on this list has ever encountered the situation or know why so?

I don't know why you are getting this odd output, but I do know that, if the predictor is categorical (as yours seems to be) then you should use the CLASS statement. You can then use PARAM = REF and REF = level4 to set the reference to level 4. See SAS-STAT manual

http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/statug_surveylogistic_sect006.htm

for the details

Peter

Peter L. Flom, PhD Statistical Consultant Website: http://www DOT statisticalanalysisconsulting DOT com/ Writing; http://www.associatedcontent.com/user/582880/peter_flom.html Twitter: @peterflom


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