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: Predicted Odds Following Logistic Regression


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Predicted Odds Following Logistic Regression
Date   Mon, 17 Jan 2011 13:29:15 +0000 (GMT)

--- On Mon, 17/1/11, Melissa King wrote:
> Interestingly, three of the medical services in my model
> (SERVICE1, SERVICE2 and SERVICE3) are mutually exclusive,
> meaning that if you receive one of the three, you cannot
> be receiving the other two. Do you know if Stata will
> recognize this when I ask it to generate predicted odds?
> In other words, will it automatically "switch off"
> SERVICE2 and SERVICE3 in my logistic regression when
> SERVICE1 is "switched on?" And if I generate predicted
> odds for SERVICE1, and indicate that I want values held
> constant at the mean, will Stata fix SERVICE2 and SERVICE3
> at zero while holding all other variables constant at
> their means?

Stata will not do that automatically, because it does not 
know which variables are mutually exclusive and which not.
Say you want to controll for age, than I would type:

adjust age SERVICE2=0 SERVICE3=0, by(SERVICE1)

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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