logitr: Fast Estimation of Multinomial and Mixed Logit Models with Preference Space and Willingness to Pay Space Utility Parameterizations

John Paul Helveston
10/19/2022
stat.ME

Official code: jhelvy/logitr (63 stars, R, last commit 2026-11-04).

Abstract

This paper introduces the logitr R package for fast maximum likelihood estimation of multinomial logit and mixed logit models with unobserved heterogeneity across individuals, which is modeled by allowing parameters to vary randomly over individuals according to a chosen distribution. The package is faster than other similar packages such as mlogit, gmnl, mixl, and apollo, and it supports utility models specified with "preference space" or "willingness to pay (WTP) space" parameterizations, allowing for the direct estimation of marginal WTP.

Show full abstract

The typical procedure of computing WTP post-estimation using a preference space model can lead to unreasonable distributions of WTP across the population in mixed logit models. The paper provides a discussion of some of the implications of each utility parameterization for WTP estimates. It also highlights some of the design features that enable logitr's performant estimation speed and includes a benchmarking exercise with similar packages. Finally, the paper highlights additional features that are designed specifically for WTP space models, including a consistent user interface for specifying models in either space and a parallelized multi-start optimization loop, which is particularly useful for searching the solution space for different local minima when estimating models with non-convex log-likelihood functions.

View on arXivView PDF

Code Implementations(1)

jhelvy/logitrOfficial100%

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

6317R, Jupyter NotebookNov 3, 20143 weeks agoNOASSERTION
log-likelihoodlogitlogit-modelmixed-logitmlogit+10 more

Similar Papers

Cite this paper

@article{helveston2022logitr,
  title  = {logitr: Fast Estimation of Multinomial and Mixed Logit Models with Preference Space and Willingness to Pay Space Utility Parameterizations},
  author = {John Paul Helveston},
  year   = {2022},
  eprint = {2210.10875},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.10875}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.10875.svg)](https://codeofpaper.com/paper/2210.10875)

Discussion