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
Tim Evans <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
RE: st: Is it possible to specify a baseline category without -xi:-
Date
Fri, 2 Dec 2011 15:20:43 +0000
Thank you very much Richard, that's brilliant; did the trick perfect.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Richard Williams
Sent: 02 December 2011 15:16
To: [email protected]; '[email protected]'
Subject: Re: st: Is it possible to specify a baseline category without -xi:-
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/
_DISCLAIMER:
This email and any attachments hereto contains proprietary information, some or all of which may be confidential or legally privileged. It is for the exclusive use of the intended recipient(s) only. If an addressing or transmission error has misdirected this e-mail and you are not the intended recipient(s), please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail or any attachments, as this may be unlawful.
*
* 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/