Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: defiing the reference category in multinominal logistic regression


From   Dan Waldo <[email protected]>
To   [email protected]
Subject   st: defiing the reference category in multinominal logistic regression
Date   Sat, 28 Mar 2009 08:13:22 -0700 (PDT)

Hello, all ...

I am running Stata10/SE, and am doing a series of multinomial logistic regressions.

It's clear that Stata uses information from the
char ageg[omit] 3
instruction (for example) when setting up the explanatory variables. But such is not the case for the dependent variable.

Again for example, the variable flushot is dichotemous with values 1,2 referring to yes,no.

-char flushot[omit] 2
-xi: svy: mlogit flushot i.adjsmoker i.ageg i.rostsex i.myrace i.my_income i.my_ed i.my_dwell i.placepar , rr

produces a regression in which (flushot==Yes is the base outcome)

-xi: svy: mlogit flushot i.adjsmoker i.ageg i.rostsex i.myrace i.my_income i.my_ed i.my_dwell i.placepar , rr b(2)

produces a regression in which (flushot==No is the base outcome)

Am I out of luck is hoping that Stata will use the default reference category when the variable is used as a dependent variable?

Dan Waldo


      
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index