Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: effect coding in STATA


From   "Sarrazin, Mary" <mary-vaughan-sarrazin@uiowa.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: effect coding in STATA
Date   Wed, 5 Feb 2003 13:32:55 -0600

I need to run a logistic regression on some mortality data, but need to
obtain odds ratios that are based on "effect" coding, rather than the
traditional "reference" coding.  I generally use SAS, in which it is easy to
request effect coding (so that odds ratios reflect the odds of dying
compared to the "average" patient, rather than compared to some reference
category), but would rather perform this analyses using STATA if possible.
I have searched through the STATA documentation and can't find any mention
of this coding.  Is there a way to do this in STATA? 

Thanks, 
Mary Sarrazin


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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