CRAN/E | logitr

logitr

Logit Models w/Preference & WTP Space Utility Parameterizations

Installation

About

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.

Citation logitr citation info
github.com/jhelvy/logitr
Bug report File report

Key Metrics

Version 1.1.1
R ≥ 3.5.0
Published 2023-09-29 204 days ago
Needs compilation? no
License MIT
License File
CRAN checks logitr results

Downloads

Yesterday 69 0%
Last 7 days 398 -13%
Last 30 days 1.793 -6%
Last 90 days 7.700 -12%
Last 365 days 27.596 +61%

Maintainer

Maintainer

John Helveston

john.helveston@gmail.com

Authors

John Helveston

aut / cre / cph

Connor Forsythe

ctb

Material

README
NEWS
Reference manual
Package source

In Views

Econometrics

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

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

logitr archive

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

Reverse Imports

cbcTools

Reverse Suggests

broom.helpers
insight