--- Alexandra Wilson <[email protected]> wrote:
> I am running a panel regression with a dichotomous variable using
> xtlogit. I was getting strange (unexpected) results, and realized 2
> of my independent variables were highly correlated (correlation
> coefficient 0.92). So I omitted one and the results were much more
> in line with other tests.
>
> But in my list of independent variables I still have a variable for
> age (of panel subject) and a variable for the square of age. These 2
> variables are, of course, also highly correlated. So why is it
> correct to leave both these highly correlated variables in the
> regression, and yet to exclude the other highly correlated variable?
Good question. The way I think about problems due to highly correlated
independent variables is that those variables tend to be imperfect
measures of the same concept, so including both would mean you are
controlling a variable for itself. If the two variables are exactly the
same Stata will drop one. If the correlation is close to one, Stata
will do its best. However if the variables truly are two imperfect
measures of the same concept than the results won't make sense.
Age and age squared will measure something different, so if Stata can
estimate it, the results will make sense. Very high correlation may
cause some numerecial problems. In those cases it is possible to remove
the correlation between these variables using the -orthpoly- command,
see: -help orthpoly-.
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html
*
* 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/