char var[omit] valuetoomit
for example for a data set 3 digit occupation categories, if the
occuptaion that I want to omit is number 804, then I do:
char occ[omit] 804
xi: sum i.occ
hope this helps.
Fernando
____________________________________________________________________________
Fernando Antonio Lozano
PhD Candidate
Department of Economics
University of California
Santa Barbara CA 93106
www.econ.ucsb.edu/~lozano
On Mon, 21 Jul 2003, Dimitriy V. Masterov wrote:
> Dear Statalist,
>
> I can't seem to figure out how to alter what the Stata criteria are for
> dropping one dummy variable from a collinear set of such variables in an
> OLS regression. Is there a command that sets it to be the most common
> category, the way one can do with xi using char _dta[omit] "prevalent" ?
>
> Dimitriy V. Masterov
>
> *
> * 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/