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: Prediction at the 'mean' of a categorical- xi3?


From   "JVerkuilen (Gmail)" <[email protected]>
To   [email protected]
Subject   Re: st: Prediction at the 'mean' of a categorical- xi3?
Date   Wed, 13 Mar 2013 09:30:40 -0400

On Wed, Mar 13, 2013 at 9:12 AM,  <[email protected]> wrote:
> Dear Statalisters-
>
> I am attempting to do predictions from a model which includes clinical
> isolates as a predictor; these are important for good model fit, but
> not useful in and of themselves. With a continuous you would likely
> just set the reference to the median/mean, and predict away. Any
> suggestions in how to code it so I get something similar (a population
> average value) for a categorical in the presence of other covariates?

Nothing in the math says you can't center dummy variables; I do it all
the time using the usual Stata commands to make the intercept a
meaningful number. Effects coding in some sense does this in the
classic ANOVA setup but won't in a general regression due to the lack
of orthogonality.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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