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]
st: regression factor variables and multicollinearity
From
simone pedemonte <[email protected]>
To
[email protected]
Subject
st: regression factor variables and multicollinearity
Date
Thu, 13 Feb 2014 19:27:30 +0000
Dear all,
I am running a linear regression on three dummy variables, one
categorical variable, plus all their interactions.
I understand the basic stata command to do this should be:
reg y d1##d2##d3##x
where x has six categories.
I tried to create the variables myself to double check, so I generated
variables for the full set of interactions, and I ran the same
regression (omitting one the same categories in both regressions).
I can't understand why the two regressions give me exactly the same
results (coefficients, std errors, etc.) except for the fact that
different coefficients are omitted by stata because of collinerarity.
Does anyone know why that could happen?
Thank you,
Simone Pedemonte
*
* 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/