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: esttab error - too many base levels specified
From
Tim Wade <[email protected]>
To
[email protected]
Subject
Re: st: esttab error - too many base levels specified
Date
Mon, 19 Mar 2012 12:33:03 -0400
try using -fvset-, e.g.,
fvset base 1 state
fvset base 1 year
this might be relevant:
http://www.stata.com/statalist/archive/2010-12/msg00235.html
hope this helps. Tim
On Mon, Mar 19, 2012 at 11:00 AM, Deborah Goldschmidt
<[email protected]> wrote:
> 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/
*
* 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/