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 error - too many base levels specified
From
Deborah Goldschmidt <[email protected]>
To
[email protected]
Subject
st: esttab error - too many base levels specified
Date
Mon, 19 Mar 2012 11:00:09 -0400
Hello,
I'm running a bunch of regressions, storing the results, and trying to
output the results using esttab. Whenever I run my regressions and
include state or year dummies, esttab gives me the error "too many base
levels specified" (even though the dummies aren't included in the
table). If I run the regressions without the state & year dummies,
there's no problem. Is there any way to fix this, so that I can include
the dummies in my analysis and still get the table I want?
Thank you!
debbie
here is some of my code:
eststo clear
eststo y1Reg: reg y1 law i.state i.year, cluster(state)
eststo y2Reg: reg y2 law i.state i.year, cluster(state)
eststo y3Reg: reg y3 law i.state i.year, cluster(state)
esttab y* using myfile.tex, replace b(a2) se ///
dropped(---) star(* 0.1 ** 0.05 *** 0.01) ///
mlabels(, none) label nogaps nonotes noobs ///
noconstant keep(law) ///
nolines delimit(&) end(\\) posthead("\addlinespace") ///
nonumbers ///
varwidth(46) modelwidth(21) ///
noisily
too many base levels specified
r(198);
*
* 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/