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 on April 23, and its replacement, statalist.org is already up and running.


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

re: st: effect coding with interaction variables


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   re: st: effect coding with interaction variables
Date   Wed, 10 Mar 2010 08:46:20 -0500

At 07:57 AM 3/10/2010, Airey, David C wrote:
.

Phil Ender has written "anovalator" which gets you interaction tests from indicator coded regression _as if_ you had used effect coding (http://www.ats.ucla.edu/stat/stata/faq/anovalator.htm). Especially, see the FAQ on use of the margins command here, if you are using Stata 11 (http://www.ats.ucla.edu/stat/stata/faq/default.htm).

This sounds good. Perhaps some future version of Stata will allow effect coding in addition to the current 0/1 coding you get with the i.xvar notation. Mitchell & Ender's -xi3- command (available from UCLA) has a lot of nice coding options that can sometimes be helpful.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

*
*   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