Package: mlogit 1.0-3

Yves Croissant

mlogit: Multinomial Logit Models

Maximum Likelihood estimation of random utility discrete choice models, as described in Kenneth Train (2009) Discrete Choice Methods with Simulations <doi:10.1017/CBO9780511805271>.

Authors:Yves Croissant [aut, cre]

mlogit_1.0-3.tar.gz
mlogit_1.0-3.zip(r-4.5)mlogit_1.0-3.zip(r-4.4)mlogit_1.0-3.zip(r-4.3)
mlogit_1.0-3.tgz(r-4.4-any)mlogit_1.0-3.tgz(r-4.3-any)
mlogit_1.0-3.tar.gz(r-4.5-noble)mlogit_1.0-3.tar.gz(r-4.4-noble)
mlogit_1.0-3.tgz(r-4.4-emscripten)mlogit_1.0-3.tgz(r-4.3-emscripten)
mlogit.pdf |mlogit.html
mlogit/json (API)
NEWS

# Install 'mlogit' in R:
install.packages('mlogit', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/mlogit

Datasets:
  • Car - Stated Preferences for Car Choice
  • Catsup - Choice of Brand for Catsup
  • Cracker - Choice of Brand for Crakers
  • Electricity - Stated preference data for the choice of electricity suppliers
  • Fishing - Choice of Fishing Mode
  • Game - Ranked data for gaming platforms
  • Game2 - Ranked data for gaming platforms
  • HC - Heating and Cooling System Choice in Newly Built Houses in California
  • Heating - Heating System Choice in California Houses
  • JapaneseFDI - Japanese Foreign Direct Investment in European Regions
  • Mode - Mode Choice
  • ModeCanada - Mode Choice for the Montreal-Toronto Corridor
  • NOx - Technologies to reduce NOx emissions
  • RiskyTransport - Risky Transportation Choices
  • Train - Stated Preferences for Train Traveling

On CRAN:

18 exports 5.05 score 8 dependencies 14 dependents 40 mentions 1.2k scripts 8.0k downloads

Last updated 5 years agofrom:f1afb1c851. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 24 2024
R-4.5-winERRORAug 24 2024
R-4.5-linuxERRORAug 24 2024
R-4.4-winERRORAug 24 2024
R-4.4-macERRORAug 24 2024
R-4.3-winERRORAug 24 2024
R-4.3-macERRORAug 24 2024

Exports:cor.mlogitcov.mlogitdrparhmftestis.mFormulalogsummedmFormulamlogitmlogit.datamlogit.optimmodel.response.mlogitprparqrparrgrparscoreteststdev

Dependencies:FormulalatticelmtestMASSrbibutilsRdpackstatmodzoo

Data management, model description and testing

Rendered fromc2.formula.data.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-07-02
Started: 2019-01-29

Random utility model and the multinomial logit model

Rendered fromc3.rum.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-06-03
Started: 2019-01-29

Logit models relaxing the iid hypothesis

Rendered fromc4.relaxiid.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-07-20
Started: 2019-01-29

The random parameters (or mixed) logit model

Rendered fromc5.mxl.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-07-20
Started: 2019-01-29

Multinomial probit

Rendered fromc6.mprobit.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-07-20
Started: 2019-01-29

Miscellaneous models

Rendered fromc7.miscmodels.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-07-20
Started: 2019-01-29

Exercise 1: Multinomial logit model

Rendered frome1mlogit.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-01-29
Started: 2019-01-29

Exercise 2: Nested logit model

Rendered frome2nlogit.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-01-29
Started: 2019-01-29

Exercise 3: Mixed logit model

Rendered frome3mxlogit.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-01-29
Started: 2019-01-29

Exercise 4: Multinomial probit

Rendered frome4mprobit.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-01-29
Started: 2019-01-29

mlogit

Rendered frommlogit.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2019-07-02
Started: 2019-01-11

Readme and manuals

Help Manual

Help pageTopics
mlogit package: estimation of random utility discrete choice models by maximum likelihoodmlogit-package
Stated Preferences for Car ChoiceCar
Choice of Brand for CatsupCatsup
Correlation structure of the random parameterscor.mlogit cov.mlogit
Choice of Brand for CrakersCracker
Functions used to describe the characteristics of estimated random parametersdistribution drpar drpar.mlogit drpar.rpar mean.mlogit mean.rpar med med.mlogit med.rpar prpar prpar.mlogit prpar.rpar qrpar qrpar.mlogit qrpar.rpar rg rg.mlogit rg.rpar stdev stdev.mlogit stdev.rpar
Marginal effects of the covariateseffects.mlogit
Stated preference data for the choice of electricity suppliersElectricity
Choice of Fishing ModeFishing
Ranked data for gaming platformsGame Game2
Heating and Cooling System Choice in Newly Built Houses in CaliforniaHC
Heating System Choice in California HousesHeating
Hausman-McFadden Testhmftest hmftest.formula hmftest.mlogit
Japanese Foreign Direct Investment in European RegionsJapaneseFDI
Compute the log-sum or inclusive value/utilitylogsum
Model formula for logit modelsis.mFormula mFormula mFormula.formula model.frame.mFormula model.matrix.mFormula
Methods for mlogit objectscoef.mlogit coef.summary.mlogit df.residual.mlogit fitted.mlogit index.mlogit logLik.mlogit miscmethods.mlogit model.matrix.mlogit model.response.mlogit predict.mlogit print.mlogit print.summary.mlogit residuals.mlogit summary.mlogit terms.mlogit update.mlogit
Multinomial logit modelmlogit
data.frame for logit model$.mlogit.data $<-.mlogit.data formula.mlogit.data index index.mlogit.data mean.mlogit.data mlogit.data print.mlogit.data print.pseries [.mlogit.data [[.mlogit.data [[<-.mlogit.data
Non-linear minimization routinemlogit.optim
Mode ChoiceMode
Mode Choice for the Montreal-Toronto CorridorModeCanada
Technologies to reduce NOx emissionsNOx
Plot of the distribution of estimated random parametersplot.mlogit plot.rpar
Risky Transportation ChoicesRiskyTransport
random parameter objectsprint.rpar rpar summary.rpar
The three tests for mlogit modelslrtest lrtest.mlogit scoretest scoretest.default scoretest.mlogit waldtest waldtest.mlogit
Stated Preferences for Train TravelingTrain
vcov method for mlogit objectsprint.summary.vcov.mlogit print.vcov.mlogit summary.vcov.mlogit vcov.mlogit