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
This PR closes #11 by adding support for proper panel log-likelihood calculations, implemented by specifying the panelID argument in the logitr() function. I also changed the argument name from cluster to clusterID to be more consistent with the other ID argument names. Finally, the argument alpha in the prediction functions was changed to ci as specifying a confidence interval is more intuitive than alpha (e.g. a 95% CI is just ci = 0.95, but for alpha it is alpha = 0.025).
This PR closes #11 by adding support for proper panel log-likelihood calculations, implemented by specifying the
panelID
argument in thelogitr()
function. I also changed the argument name fromcluster
toclusterID
to be more consistent with the otherID
argument names. Finally, the argumentalpha
in the prediction functions was changed toci
as specifying a confidence interval is more intuitive thanalpha
(e.g. a 95% CI is justci = 0.95
, but foralpha
it isalpha = 0.025
).