Hello everyone,
I am really new to Stata, and when I use the mixlogit command by Arne R. Hole, I get the message of "At least one group has more than one chosen alternative" even though I'm sure I don't have more than one alternatives chosen for each scenario, does anyone know what to do? Do I have to transfer my data into some other kind of format?
And then, when I want to use the lclogit command to check, I get the message "weights must be the same for all observations in a group." How do I set weight for the observations? Also, can anyone show me how to include my ASC in these two commands? I haven't seen it in the examples.
The attachment is the snapshot of my data, I don't know what's wrong with my choices.
Thank you very much for helping me ahead.
Related Posts with Questions with the mixlogit and lclogit command
Loop for Blood pressure recodificationHi all, I have some data of Blood pressure in pediatric data, my task is recode Blood pressure in: …
Generating New Variable in Time Series DataHello and thank you for taking the time to help. I am working on an analysis of voter roll purges a…
how to graph the confidence intervalHello! I was trying to create a hypothesis test based on this model: yi = β0 + β1xi1 + ui this mod…
How to report hazard ratio as 1 unit change in SDHi all, I am running survival analyses and I would like to report my hazard ratio's as 1 SD change …
Wide to long reshape-- Is it possible to include two variables in code for "j"Dear Stata experts, Here's the sample data ID Clinical_1 Clinical_2 Clinical_3 Visit_4 Visit_5 1 0…
Subscribe to:
Post Comments (Atom)
0 Response to Questions with the mixlogit and lclogit command
Post a Comment