Good evening. My name is Sean and I am a current graduate student, in an advanced econometrics class. I am having trouble with formatting my data, so that I can create a mixed logit and ordered outcome model. Most recently, I have been receiving the error "Variable has no within-group variance." I have been through the help section in STATA, talked to some classmates, and tried to hire a tutor online, but no one seems to be able to help me, for some reason. I am hoping that someone in these forums can walk me through it. Thank you for reading and responding.
I have my data in a wide format, as a .csv file. These are the models that I am having generating:
- Mixed logit model
- Dependent variable: camera brand (1,2,3)
- Independent variables: age, sex, income, price of camera (modeled as a random variable), choice of other camera brands
- Ordered choice model
- Dependent variable: camera brand (1 = budget camera,2=prosumer (middle of the line) camera,3=professional camera)
- Independent variables: age, sex, income, price of camera
And here is a snapshot of the data that I need to reshape:
Array
e
0 Response to Mixed logit and ordered outcome models (help please)
Post a Comment