Dear all,
I'm using Stata 17 xtmlogit.
I have a dataset of 55 individuals, each making six repeated choice tasks, between regular face mask=1, cloth face mask=2, and Nano mask=3. 35 individuals chose, the same type of mask in all tasks. However, while the DV doesn't vary the IVs (which are the attributes of the alternatives) do vary.
The problem is that 35 groups (210 obs) were omitted because of no variation in the outcome variable over time.
I'm not sure if I'm using the correct model.
I have attached a sample of 10 respondents using dataex, I hope I could get some advice.
regards,
Anat
I'm using Stata 17 xtmlogit.
I have a dataset of 55 individuals, each making six repeated choice tasks, between regular face mask=1, cloth face mask=2, and Nano mask=3. 35 individuals chose, the same type of mask in all tasks. However, while the DV doesn't vary the IVs (which are the attributes of the alternatives) do vary.
The problem is that 35 groups (210 obs) were omitted because of no variation in the outcome variable over time.
I'm not sure if I'm using the correct model.
I have attached a sample of 10 respondents using dataex, I hope I could get some advice.
regards,
Anat
Code:
* Example generated by -dataex-. For more info, type help dataex clear input byte(id chosen_alt reject_virus) float virus_effctive byte(desgin_level price_month) 1 3 1 .95 2 35 1 3 1 .95 2 35 1 3 1 .95 2 35 1 3 1 .99 1 30 1 3 1 .99 2 25 1 3 1 .9 1 35 2 3 1 .95 2 35 2 3 1 .95 2 35 2 3 1 .95 2 35 2 3 1 .99 1 30 2 3 1 .99 2 25 2 3 1 .9 1 35 3 1 0 .9 1 25 3 1 0 .85 1 15 3 1 0 .85 1 15 3 1 0 .9 1 15 3 1 0 .9 1 20 3 1 0 .9 1 25 4 3 1 .95 2 35 4 3 1 .95 2 35 4 3 1 .95 2 35 4 3 1 .99 1 30 4 3 1 .99 2 25 4 3 1 .9 1 35 5 3 1 .95 2 35 5 3 1 .95 2 35 5 2 0 .9 1 20 5 3 1 .99 1 30 5 3 1 .99 2 25 5 2 0 .8 2 20 6 3 1 .95 2 35 6 3 1 .95 2 35 6 2 0 .9 1 20 6 3 1 .99 1 30 6 3 1 .99 2 25 6 3 1 .9 1 35 7 2 0 .7 1 15 7 1 0 .85 1 15 7 1 0 .85 1 15 7 1 0 .9 1 15 7 3 1 .99 2 25 7 2 0 .8 2 20 8 1 0 .9 1 25 8 1 0 .85 1 15 8 1 0 .85 1 15 8 1 0 .9 1 15 8 1 0 .9 1 20 8 1 0 .9 1 25 9 3 1 .95 2 35 9 3 1 .95 2 35 9 2 0 .9 1 20 9 3 1 .99 1 30 9 3 1 .99 2 25 9 3 1 .9 1 35 10 3 1 .95 2 35 10 3 1 .95 2 35 10 3 1 .95 2 35 10 3 1 .99 1 30 10 3 1 .99 2 25 10 3 1 .9 1 35 end
Comment