Hi,
I'm trying to replicate my coauthor's findings this morning and cannot do so. He used Stata 11 and got results, while I can't get results using either Stata 13 on my laptop or Stata 15 on my desktop (remotely via a VPN). We're using the exact same .do file. The error I get is "__00000Q not found". I've searched for the error everywhere, but I can't find anything even remotely useful.
The dataset covers a series decisions made by roughly 100 of people. Each decision has 3 choice alternatives (A, B, or C), each of which has a price and a corresponding value of X and Y. The only real variation within these across choices is for choice alternative B, where the price and the X and Y values change. That said, they do not always change, even within subject. (That is, each subject faces each decision multiple times.)
The command of interest is:
Interestingly, if I instead interact "price" with a dummy variable for choice alternative B to create a variable I called "PB", then the command executes fine. Unfortunately, that's not the specification we need.
I should add that I'm positive that the "group" and "id" variables are correct. We've been using the "mixlogit" command with a very different setup for quite a while and have had no problems. The same goes for the "mixLogID" and "Kink3Pnt" restrictions, too.
Any help would be greatly appreciated!
Best,
Matt
I'm trying to replicate my coauthor's findings this morning and cannot do so. He used Stata 11 and got results, while I can't get results using either Stata 13 on my laptop or Stata 15 on my desktop (remotely via a VPN). We're using the exact same .do file. The error I get is "__00000Q not found". I've searched for the error everywhere, but I can't find anything even remotely useful.
The dataset covers a series decisions made by roughly 100 of people. Each decision has 3 choice alternatives (A, B, or C), each of which has a price and a corresponding value of X and Y. The only real variation within these across choices is for choice alternative B, where the price and the X and Y values change. That said, they do not always change, even within subject. (That is, each subject faces each decision multiple times.)
The command of interest is:
Code:
mixlogit choice price if mixLogID==1 & Kink3Pnt==1 , rand(XX YY) group(choiceID) id(SubjectID) cluster(SubjectID)
I should add that I'm positive that the "group" and "id" variables are correct. We've been using the "mixlogit" command with a very different setup for quite a while and have had no problems. The same goes for the "mixLogID" and "Kink3Pnt" restrictions, too.
Any help would be greatly appreciated!
Best,
Matt
Comment