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]

st: too many base levels specified?


From   Traci Schlesinger <[email protected]>
To   [email protected]
Subject   st: too many base levels specified?
Date   Mon, 6 Dec 2010 10:33:11 -0800

Fellow Stata Users:

I am analyzing racial disparities in criminal justice outcomes using
both logistic and reg on individual-level data split by sentencing
structure.  I first run the models on states with traditional codes
and then on states with presumptive guidelines.  I am using the SUEST
command so that I can compare the values of the variables "black" and
"latino" across these two models.  In other words, I want to know if
the value of "black", for example, is different in states with
traditional codes than in states with presumptive guidelines.

here is (part of) my code:

logistic incarcerate black latino young1 young2 drugt totchgs2 chg1att
second_fel cjstatus priarr prifconv primconv pripris y1998 y2000 y2002
y2004 y2006 i.county if guidelines_cat == 0;
est store a;
logistic incarcerate black latino young1 young2 drugt totchgs2 chg1att
second_fel cjstatus priarr prifconv primconv pripris y1998 y2000 y2002
y2004 y2006 i.county if guidelines_cat == 2;
est store b;
suest a b;
test [a_incarcerated]black=[b_incarcerated]black;
test [a_incarcerated]latino=[b_incarcerated]latino;

While this code is very similar to codes I have used in the past, I am
getting the error code "too many base levels specified r(198);" when
stata gets to the "suest a b;" line.  What does this mean?  And, is
there anything I can do about it?

thank you in advance for any help on this!
traci
*
*   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/


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