Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st:the disadvantage of using -xi- to create indicators for categorical variables


From   Steven Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st:the disadvantage of using -xi- to create indicators for categorical variables
Date   Fri, 17 Dec 2010 11:18:20 -0500

-

That default behavior can be changed. See "Summary of controlling the omitted dummy" in the -help- for -xi-. But factor variables offer many more options for choosing the reference category.


Steve
sjsamuels@gmail.com

On Dec 17, 2010, at 2:43 AM, Laura R. wrote:

As far as I know, with -xi- the reference category is chosen
automatically, wich might be a disadvantage.

Laura

2010/12/17 Maarten buis <maartenbuis@yahoo.co.uk>:
--- On Thu, 16/12/10, Amanda Fu wrote:
I am curious: can some one here share how you decide to
decide to use -xi- or not to run a regression with lot
of categorical variables interactions?

I only used -xi- for a preliminary analysis when I was in
a hurry. Otherwise I prefered to create my own dummies
and interactions. Now I am slowly warming to Stata's new
factor variable notation, see: -help factor variable-,
and I see no use for -xi- at all.

--maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index