jhelvy / logitr

Fast estimation of multinomial (MNL) and mixed logit (MXL) models in R with "Preference" space or "Willingness-to-pay" (WTP) space utility parameterizations in R
https://jhelvy.github.io/logitr/
Other
43 stars 15 forks source link

Add a `predict()` function #7

Closed jhelvy closed 3 years ago

jhelvy commented 3 years ago

simulateShares() just gives probabilities of choosing each alternative, but it could easily be extended to predict choices (e.g. for a hold out set).

jhelvy commented 3 years ago

This was done in v0.1.4.