Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[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 <Amal.Khanolkar@ki.se>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index