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: