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: change reference group


From   Phil Clayton <[email protected]>
To   [email protected]
Subject   Re: st: change reference group
Date   Tue, 9 Nov 2010 22:58:51 +1100

Do you mean that you have a factor variable and want to choose a different base (referent) value? You can set the base level of the variable; see -help fvset- and -help xi-

Phil

On 09/11/2010, at 10:49 PM, Grethe Søndergaard wrote:

> Dear list,
> 
> I have a very simple question - that I havent been able to find the
> answer to myself.
> 
> I have done a cox-regression analysis - but the reference groups of
> some of the variables are wrong. Can I change the reference group in
> the stcox command - or do I have to go back and categorize these
> variables differently?
> 
> Thank you
> *
> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index