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

From |
Dan Waldo <dan_waldo@yahoo.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: defiing the reference category in multinominal logistic regression |

Date |
Sat, 28 Mar 2009 09:47:07 -0700 (PDT) |

Sorry -- I should have been more concise: Is there a way to force mlogit to use the omitted category from -char depvar[omit] # as the base outcome (reference group)? Or must I repeat this with the b(#) option in the mlogit command? The repetition is not difficult ... but I have a lot of regressions to run and therefore a lot of opportunities to make an error in defining the reference group. --- On Sat, 3/28/09, Joao Ricardo F. Lima <jricardofl@gmail.com> wrote: > From: Joao Ricardo F. Lima <jricardofl@gmail.com> > Subject: Re: st: defiing the reference category in multinominal logistic regression > To: statalist@hsphsun2.harvard.edu > Date: Saturday, March 28, 2009, 11:39 AM > Dan, > > I don´t know if understood your question. However, from > the -h mlogit-: > > baseoutcome(#) specifies the value of depvar to be treated > as the > base outcome. The default is to choose the most > frequent outcome. > > > HTH, > > Joao Lima > > > 2009/3/28 Dan Waldo <dan_waldo@yahoo.com>: > > 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/ > > > > > > -- > ---------------------------------------- > Joao Ricardo Lima, D.Sc. > Professor > UFPB-CCA-DCFS > Fone: +5538396022774 > Skype: joao_ricardo_lima > ---------------------------------------- > > * > * 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/ > * * 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/

**Follow-Ups**:**Re: st: defiing the reference category in multinominal logistic regression***From:*Maarten buis <maartenbuis@yahoo.co.uk>

- Prev by Date:
**Re: st: STATA command for Testing for endogeneity when the sample size is small. Is there a small sample correction?** - Next by Date:
**Re: st: defiing the reference category in multinominal logistic regression** - Previous by thread:
**st: defiing the reference category in multinominal logistic regression** - Next by thread:
**Re: st: defiing the reference category in multinominal logistic regression** - Index(es):

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