Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"JVerkuilen (Gmail)" <jvverkuilen@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

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, <graupel75@gmail.com> 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/

**References**:**st: Prediction at the 'mean' of a categorical- xi3?***From:*graupel75@gmail.com

- Prev by Date:
**st: Prediction at the 'mean' of a categorical- xi3?** - Next by Date:
**Re: st: reproducing published CFA results using -ssd- / -sem-** - Previous by thread:
**st: Prediction at the 'mean' of a categorical- xi3?** - Next by thread:
**Re: st: Prediction at the 'mean' of a categorical- xi3?** - Index(es):