Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: RE: controlling what variables to dropping?


From   Scott Cunningham <scunning@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: RE: controlling what variables to dropping?
Date   Mon, 17 Oct 2005 13:05:27 -0400

Andrea,

I misunderstood your post. I thought you were asking about fixed effects, not cross-section. Stata is dropping because of the dummy variable trap, so ignore my recommendation. I don't know how to prioritize which dummies Stata will drop, offhand. One longway solution might be vary the order of your regressors. That might cause Stata to drop certain dummies differently, but I'm not sure. So, for instance, if there are two dummies (d1 and d2), you might try

. reg y d1 d2
. reg y d2 d1

But that's just a guess.

sc
*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index