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: Error message when trying to regression model with eststo prefix.


From   Amal Khanolkar <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Error message when trying to regression model with eststo prefix.
Date   Mon, 11 Feb 2013 12:38:15 +0000

Hi all,

I'm trying to run the regression model below. I get an error message that says 'factor variables' not allowed.

This is quite strange, given that I ran the exact same regression model last week and had no problems! Can anyone tell me what's going wrong?

. eststo: xi: logistic verypreterm i.ethnicity2 sex byear ib3.magecat i.parity if education!=. & famsit_new2!=. & smoke1!=. & multibirth==1, vce (robust)
i.ethnicity2      _Iethnicity_1-22    (naturally coded; _Iethnicity_1 omitted)
i.parity          _Iparity_1-3        (naturally coded; _Iparity_1 omitted)
factor variables not allowed
r(101);
end of do-file

Regards,
Amal Khanolkar
*
*   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/


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