Dear stata community,
I have a very basic stata question.
I have a dependent variable that has values from 1-10, thus is a categorical variable which is why I wanted to use a logistic regression.
However, I have longitudal data which is why I used the command: xtlogit.
Now stata tells me: outcome does not vary in any group
I thought maybe my dependent variable is not "labeled" as categorical in stata so that I have to first transform it but I would not know how or is there even a different problem?
Thank you soooo much for you help in advance.
Best
Lisa
I have a very basic stata question.
I have a dependent variable that has values from 1-10, thus is a categorical variable which is why I wanted to use a logistic regression.
However, I have longitudal data which is why I used the command: xtlogit.
Now stata tells me: outcome does not vary in any group
I thought maybe my dependent variable is not "labeled" as categorical in stata so that I have to first transform it but I would not know how or is there even a different problem?
Thank you soooo much for you help in advance.
Best
Lisa
Comment