Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Is it possible to specify a baseline category without -xi:-


From   Richard Williams <[email protected]>
To   [email protected], "'[email protected]'" <[email protected]>
Subject   Re: st: Is it possible to specify a baseline category without -xi:-
Date   Fri, 02 Dec 2011 10:16:03 -0500

At 10:00 AM 12/2/2011, Tim Evans wrote:
Hi

I'm running the following logistic regression model (Stata 11.2):

logistic firstcentrespec2 i.dep i.age

Dep is deprivation quintile. Currently the baseline is 1 (Most deprived) (in the range 1-5), but what I really want is 5(Most affluent) to be the baseline.

logistic firstcentrespec2 ib5.dep i.age

You can also use the -fvset- command to set the base level permanently.

-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index