Bookmark and Share

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, is already up and running.

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

Re: st: Prediction at the 'mean' of a categorical- xi3?

To   Statalist <>
Subject   Re: st: Prediction at the 'mean' of a categorical- xi3?
Date   Thu, 14 Mar 2013 11:59:08 +0800

JVerkuilen writes:

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

I've used both -xi3- center option and generated the mean-centered var
by hand, and run the regression with this new var, but the log lik and
AIC/BIC are quite different indicating that more than just the ref
category has changed...
so I must be confused.

Let's say I have a categorical (levels 1 to 6), do I then estimate
with the mean-centered value as a continuous var, and predict at 3.5?
This doesn't make so much sense as it would assume the steps between
levels are equivalent; I've looked in both Agressi and Long's Stata
book without success-


Centre for Infectious Disease Epidemiology Research (CIDER)
Saw Swee Hock School of Public Health
National University of Singapore
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index