search across all the following databases:
Data and documentation
Common questions and answers.
Entire collection of data resources.
I am getting an error in stata “outcome does not vary” when I am trying to run a logistic regression.
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:
Here’s the link to an answer to your specific question via this search utility: