Open jonah-allen opened 1 week ago
This is almost certainly because the model is converging to a local minimum. What is the log-likelihood of the WTP space model, and what is it for the preference space model? A preference space MNL model has a convex log-likelihood function, so it will always converge to the global minimum. You can use this to compare - your WTP space LL should be the same. If it's not then you need to keep searching.
It also looks like you're using the outdata API for specifying multi-starts. It should be this (here I'm using 100 starts to search a broader space):
mnl_wtp <- logitr(
data = wtp_risk,
outcome = "choice",
obsID = "obsID",
pars = c("risk", "tech_change", "crop_change"),
scalePar = "loss_value",
numMultiStarts = 100
)
Hi John,
It’s me again—now running into a quirk implementing dummies. I currently have two dummy columns, crop_change and tech_change. These are analogous to the yogurt brands in your example, as each respondent receives three options in their survey question: no change, a cropping change, or a technology change to the farm. Here’s a snapshot of the data:
Observations and Issues
And the model output is:
I suspect this issue might be due to the small data size (60 observations). However, the problem does not occur during preference-space estimation.
I also tested the results with only only one dummy (tech_change), and the issues persist,
Questions
Please let me know if you’d like a portion of my data to replicate these issues. Once again, thank you for this incredibly useful package!
Best, Jonah