logitr: Logit Models w/Preference & WTP Space Utility Parameterizations

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.1
Depends: R (≥ 3.5.0)
Imports: generics, MASS, nloptr, parallel, randtoolbox, stats, tibble
Suggests: apollo, broom, dplyr, fastDummies, ggplot2, ggrepel, gmnl, gtsummary, here, kableExtra, knitr, mixl, mlogit, rmarkdown, testthat, texreg, tidyr
Published: 2023-09-29
Author: John Helveston ORCID iD [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

Documentation:

Reference manual: logitr.pdf
Vignettes: Basic Usage
Benchmarking estimation speed against other packages
WTP space convergence issues in other packages
Data Formatting and Encoding
Estimating Models with Interactions
Estimating Multinomial Logit Models
Estimating Weighted Logit Models
Estimating Mixed Logit Models
Predicting Probabilities and Outcomes with Estimated Models
Summarizing Results
Utility Models in the Preference & WTP Space

Downloads:

Package source: logitr_1.1.1.tar.gz
Windows binaries: r-devel: logitr_1.1.1.zip, r-release: logitr_1.1.1.zip, r-oldrel: logitr_1.1.1.zip
macOS binaries: r-release (arm64): logitr_1.1.1.tgz, r-oldrel (arm64): logitr_1.1.1.tgz, r-release (x86_64): logitr_1.1.1.tgz
Old sources: logitr archive

Reverse dependencies:

Reverse imports: cbcTools
Reverse suggests: broom.helpers, insight
Reverse enhances: texreg

Linking:

Please use the canonical form https://CRAN.R-project.org/package=logitr to link to this page.