Fast estimation of multinomial (MNL) and mixed logit (MXL) models in R. Models can be estimated using "Preference" space or "Willingness-to-pay" (WTP) space utility parameterizations. Weighted models can also be estimated. An option is available to run a parallelized multistart optimization loop with random starting points in each iteration, which is useful for non-convex problems like MXL models or models with WTP space utility parameterizations. The main optimization loop uses the 'nloptr' package to minimize the negative log-likelihood function. Additional functions are available for computing and comparing WTP from both preference space and WTP space models and for predicting expected choices and choice probabilities for sets of alternatives based on an estimated model. Mixed logit models can include uncorrelated or correlated heterogeneity covariances and are estimated using maximum simulated likelihood based on the algorithms in Train (2009) <doi:10.1017/CBO9780511805271>. More details can be found in Helveston (2023) <doi:10.18637/jss.v105.i10>.
Version: |
1.1.2 |
Depends: |
R (≥ 3.5.0) |
Imports: |
generics, MASS, nloptr, parallel, randtoolbox, stats, tibble |
Suggests: |
apollo, broom, broom.helpers (≥ 1.15.0), dplyr, fastDummies, ggplot2, ggrepel, gmnl, gtsummary (≥ 2.0.0), here, kableExtra, knitr, mixl, mlogit, rmarkdown, testthat, texreg, tidyr |
Published: |
2024-07-24 |
DOI: |
10.32614/CRAN.package.logitr |
Author: |
John Helveston
[aut, cre, cph],
Connor Forsythe [ctb] |
Maintainer: |
John Helveston <john.helveston at gmail.com> |
BugReports: |
https://github.com/jhelvy/logitr/issues |
License: |
MIT + file LICENSE |
URL: |
https://github.com/jhelvy/logitr |
NeedsCompilation: |
no |
Citation: |
logitr citation info |
Materials: |
README NEWS |
In views: |
Econometrics |
CRAN checks: |
logitr results |