Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Omitted category interaction variables


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: Omitted category interaction variables
Date   Mon, 4 Nov 2013 14:48:01 +0100

On Mon, Nov 4, 2013 at 2:18 PM, Estrella Gomez wrote:
> Yes, but this is not what I want. Then it excludes the year 2006  in
> the last set of dummies; i.year; but I want it to be excluded from
> every interaction term (i.year#c.ldist; i.year#i.dhome and
> i.year#i.dlang)

You forget to include the main effects of ldist dhome and dlang. That
is probably what is causing the problems, as in that case you don't
want to exclude a reference category. If you include the main effects,
then setting the baseline once will be enough.

-- Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index