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: esttab will not drop or keep factor variables
From
Richard Tardanico <[email protected]>
To
[email protected]
Subject
st: esttab will not drop or keep factor variables
Date
Tue, 5 Nov 2013 15:35:23 -0500
Although esttab has no problem dropping or keeping continuous
variables or categorical variables not marked as factor, esttab won't
drop or keep factor variables, no matter how I format the drop/keep
command (Stata 13). A mini-example:
sysuse auto
reg mpg c.price i.foreign
esttab, drop(foreign)
coefficient foreign not found
esttab, drop(i.foreign)
coefficient i.foreign not found
esttab, keep(foreign)
coefficient foreign not found
esttab, keep(i.foreign)
coefficient i.foreign not found
esttab will indeed drop/keep the continuous variable price, but not
c.price. Thanks for any advice you may have.
Rick Tardanico
*
* 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/