MNL model using allocation data
Posted: 15 Jan 2021, 01:13
Does Apollo allow one to use proportions data from stated preference tasks in the MNL model?
I often have projects where I ask doctors to allocate a proportion of their patients across alternatives in the task. The log likelihood function becomes a simple weighted sum of the predicted probabilities across all alternatives in the task weighted by a proportion that sums to 1.0 across all alternatives in a task. E.G., LogLikelihood = sum[across all Alts](proportion * probability)[for each alt]. The likelihood is the product across all alts of the predicted probability raised to the proportion assign to the alt. It can be considered a proportion-form of the weighted MNL model where the weights are the frequency of observations choosing the alternative in the choice task -- only the frequency of observations is replaced by the proportions assigned to the alternative by the respondent.
Does anyone have an example likelihood function routine I can use to write my own? Or does someone already have such a routine. I would like to use in the HB routines of Apollo...
Thanks,
Tom
I often have projects where I ask doctors to allocate a proportion of their patients across alternatives in the task. The log likelihood function becomes a simple weighted sum of the predicted probabilities across all alternatives in the task weighted by a proportion that sums to 1.0 across all alternatives in a task. E.G., LogLikelihood = sum[across all Alts](proportion * probability)[for each alt]. The likelihood is the product across all alts of the predicted probability raised to the proportion assign to the alt. It can be considered a proportion-form of the weighted MNL model where the weights are the frequency of observations choosing the alternative in the choice task -- only the frequency of observations is replaced by the proportions assigned to the alternative by the respondent.
Does anyone have an example likelihood function routine I can use to write my own? Or does someone already have such a routine. I would like to use in the HB routines of Apollo...
Thanks,
Tom