art photo

DSDR KB

Q:  

I am getting an error in stata “outcome does not vary” when I am trying to run a logistic regression.

A:  

Stata wants the coding of your dependent variable to be “0” and “1” not “1” and “2”

You can find the answer to many stata problems by searching:

http://www.stata.com/gsearch.php

Here’s the link to an answer to your specific question via this search utility:

http://www.stata.com/support/faqs/stat/outcomes.html

Annotated Resources:

Direct Links:

Related Question Groups:


W A R N I N G

If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software. The following are good choices:

Firefox
Opera
Safari