From | Suzy <[email protected]> |
To | [email protected] |
Subject | Re: Antwort: st: why is a category being dropped by Stata? |
Date | Mon, 11 Jul 2005 11:33:32 -0400 |
Hi Suzy,
the xi indcatvargenerates dummies for each category. Since you did not use the nocons option, one dummy has to be dropped. Otherwise the dummies were perfectly collinear with the constant, since they add up to unity. So everything is correct and the coefficient on _I_indcatvar should be interpreted relative to the dummy-base.
Hans
[email protected] schrieb am 11/07/2005 14:30:20:
Dear Statamembers,*
I have a categorical variable, coded as 0, 1, 2.
When I do a a simple regression equation using "xi: regress depvar, indcontvar, i.indcatvar, "
Stata drops the category 2 (n=40/1196)
I have other categorical variables in the model, but everything else looks OK.
I have no idea why it's being dropped.
thanks for any insight.
Suzy
*
* 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/
* 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/
* * 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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |