Hello,
I am attempting to analyze data from a discrete choice experiment using the "mixlogit" package and I am getting the following error, " __00000P not found". I was able to estimate a conditional logit model using the same data/code and have estimated a mixed logit model in the past using very similar code. I have searched the forums and can not find an example of this.
The data is made up of about 1100 respondents who were each presented with 8 choice sets. Each choice set contained 2 options, with varying prices and one other variable (anti) as well as an opt out option (asc). anti2 and anti3 are coded as dummy variables.
Code:
mixlogit y asc price if MRK_CELL1==1 & MRK_Level_LFQ1==1, rand (anti 2 anti3) group(gid) id(pid) nrep(500)
I used set trace to identify where the error was coming from.
----------------------------------------------------- begin ml_count_eval ---
- version 10
- args f type
- if `:length global ML_dots' {
= if 1 {
- $ML_dots "`f'" "`type'" = * "__00000N" "input"
- }
------------------------------------------------------- end ml_count_eval ---
- scalar `h' = 1/(2*`h')
= scalar __00000O = 1/(2*__00000O)
- mat `dd2' = `dd2' - `dd1'
= mat __00000P = __00000P - __00000M
__00000P not found
mat `dd2' = `h' * `dd2'
mat `v' = nullmat(`v') \ `dd2'
local i = `i' + 1
}
----------------------------------------------------------------- end ml_e1 ---
------------------------------------------------------------------ end ml_opt --- }
Any help on this issue would be greatly appreciated.
Best regards,
Mitchell King
University of Guelph
Related Posts with Error using "mixlogit" on StataSE 15: "__00000P not found"
Simultaneous Equation Models in SVYHi everyone! I am trying to do survey analysis, but I cannot find a way to perform three-stage leas…
New -omega- commandHappy Monday to all. There is a new module, -omega-, now available on the SSC, that calculates the ω…
Power for a household-randomised RCT with variable cluster sizesHi, I want to power a household-randomised, two-arm, post-exposure prophylaxis (PEP) trial where th…
Appending to a matrix in a loopHi, I am looping over several independent variables, and I am trying to end up with a matrix that c…
Measuring the strength of instruments using WeakivtestI'm interesting in estimating Montiel-Pflueger-style 'effective' F stats for a series of panel model…
Subscribe to:
Post Comments (Atom)
0 Response to Error using "mixlogit" on StataSE 15: "__00000P not found"
Post a Comment