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/