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]
st: Omitted category interaction variables
From
Estrella Gomez <[email protected]>
To
[email protected]
Subject
st: Omitted category interaction variables
Date
Mon, 4 Nov 2013 11:36:37 +0100
Hi all,
I'm regressing an equation where three variables are interacted with
years. I would like to have 2006 as base year; that's it, I want Stata
to omit this year in all cases. I use the command:
xtreg lpq b2006i.year#c.ldist b2006i.year#i.dhome b2006i.year#i.dlang i.year, fe
but it does not work; Stata omit a different year in each case. I have
also tried with:
xtreg lpq b(first).year#c.ldist b(first).year#i.dhome
b(first).year#i.dlang i.year, fe
and to use fvset base 2006 year, but I obtained the same results
Any idea on this?
Thanks,
Estrella
*
* 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/