Skip to content

mlogit

2.0-0Package record

Multinomial Logit Models

9packages dependsuggested by 25
267Kdownloads / year
28.6%test coverage
11/13flavors OK

Overview

About

Maximum likelihood estimation of random utility discrete choice models. The software is described in Croissant (2020) doi:10.18637/jss.v095.i11 and the underlying methods in Train (2009) doi:10.1017/CBO9780511805271.

Changes in 2.0-0
  • the msumarry tables are rendered in markdown
  • functions preds and slps are introduced to compute the predictions, the slopes and their standard deviations
  • micsr::gaze is now re-exported
  • a new param argument is introduced for mlogit; it should be a vector of coefficients and, if not null, the fitted probabilities are returned
  • dependence on R (>= 3.5.0)
  • there where small differences between the .Rout and .Rout.save files, the later have been updated
  • the first vignette is renamed 1. Introduction
  • the estimate argument of mlogit is now operational : if FALSE, the model frame is returned
Show all changes in 2.0-0Hide the rest of the changes in 2.0-0
  • scoretest.mlogit now unables to test models with different covariates sets
  • the formula element of mlogit objects is replaced by a term element FO FIX scoretest.default
  • the vcov method is now inherited from micsr
  • a value element is added to the result
  • the logLik element is now a named numeric (model, saturated and null)
  • the numerical hessian is now computed using numDeriv when the analytical hessian is not provided if hessian = TRUE
  • a df.residual element is added to the result, the df.residual method is removed
  • a bug in residuals.mlogit is fixed, probabilities is used instead of fitted
  • mlogit doesn't depends on dfidx anymore, dfidx, idx and idx_name are re-exported
  • in logsum, bug fix, the names of the indexes used to be alt and chid
  • in the vignette, dfidx now use tibbles instead of ordinary data frames
  • LazyData is now TRUE
  • the dependence on MASS and zoo is removed
  • the index function (methods for the zoo function), already deprecated is now suppressed
  • roxygen fixes (names.rpar and print.est.stat are now exported, "_PACKAGE" is added in the man page of the package
  • in hmftest, class(z) == "a" replaced by inherits(z, "a")
  • fixed web adress for JAE data archive, Train's website and Fox's book
  • enhanced vignettes, which now are quarto files
  • the description of the values of rpar is fixed in the mlogit man page thanks to Martin Eckhoff Andresen
  • bug fixed in mlogit (the to.omit variable could be NULL which caused a bug) thanks to Matt Woeran
  • update of the Rout.save files

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage:
  ‘three.tests.Rd’
\arguments should not be documented without \usage.

CRAN check page ↗

Slowest check: 10.4 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • NOTE12 OK, 1 NOTE2026-06-03
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0-0
READMENoVignettesYes · 11 · dynamicNEWSYes · 100% structured · mentions 2.0-0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
33 (2 internal)includes a package overview page
Examples that run
100%5 run in a plain check
Exported functions with examples
17%
Documented parameters
95%
Return-value docs
83%
Help pages citing references
39% with a bibliography file

Downloads

267K
CRAN downloads in the past year
Rank #821 · ~731/day · ~22.2K/mo
Daily download trend is not available in this view yet.
17.7K30 days
55.5K90 days
267K1 year
Compare downloads with other packages →
Also on2K r2u8 autocran3.1K conda_forge191 c2d4u

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing mlogit adds 12 packages (6 with compiled code, 7.1 MB of source tarballs). Heaviest: Rcpp 1.8 MB, sandwich 1.4 MB, micsr 1.2 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (8)
Enhances (0)
none
Reverse dependencies
9direct
1indirect
Depends 2 · Imports 7
Suggested by 25
Show all 34 packagesHide all 34 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.1-0 (2008)
Releases (29)

Pick two releases to compare their code metrics.

  • 2.0-0Latest
    record
    2026-06-02 · current release · diff ↗ ·
    removed 2 exports
    index, model.response.mlogit
    added 6 exports
    dfidx, gaze, idx, idx_name, preds, slps
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1-3
    record
    2025-07-12 · diff ↗
  • 1.1-2
    record
    2025-04-28 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1-1
    record
    2020-10-02 · diff ↗
  • 1.1-0
    record
    2020-05-26 · diff ↗ ·
    added 4 exports
    has.intercept, index, lrtest, waldtest
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0-3.1
    record
    2020-03-12 · diff ↗
  • unarchivedReturned to CRAN
    2020-03-07
  • 1.0-3
    record
    2020-03-07 · diff ↗
  • orphanedOrphaned by its maintainer
    2020-02-16
    there was no response to repeated requests
Show 38 earlier eventsHide 38 earlier events
  • 1.0-2.1
    record
    2020-02-16 · diff ↗
  • 1.0-2
    record
    2019-12-09 · diff ↗
  • 1.0-1
    record
    2019-07-22 · diff ↗
  • 1.0-0
    record
    2019-07-21 · diff ↗
  • 0.4-2
    record
    2019-06-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.4-1
    record
    2019-02-01 · diff ↗
  • 0.4-0
    record
    2019-01-31 · diff ↗ ·
    removed 3 exports
    lrtest, waldtest, index
    added 1 export
    model.response.mlogit
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3-0
    record
    2018-04-20 · diff ↗ ·
    added 1 export
    logsum
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 0.2-4
    record
    2013-12-27 · diff ↗ ·
    added 3 exports
    lrtest, waldtest, index
  • R
    R 3.0.0 released · 2013-04-03
  • 0.2-3
    record
    2012-12-07 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.2-2
    record
    2011-11-23 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • 0.2-1
    record
    2011-02-06 · diff ↗
  • 0.2-0
    record
    2011-01-13 · diff ↗ ·
    added 1 export
    scoretest
  • R
    R 2.12.0 released · 2010-10-15
  • 0.1-8
    record
    2010-07-24 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 0.1-7
    record
    2010-04-18 · diff ↗
  • 0.1-6
    record
    2010-04-16 · diff ↗ ·
    added 2 exports
    mFormula, is.mFormula
  • 0.1-5
    record
    2010-03-25 · diff ↗ ·
    added 9 exports
    cov.mlogit, cor.mlogit, rpar, med, rg, stdev, qrpar, prpar, drpar
  • 0.1-4
    record
    2010-01-27 · diff ↗
  • 0.1-3
    record
    2010-01-26 · diff ↗ ·
    removed 2 exports
    logitform, is.logitform
    added 1 export
    mlogit.optim
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • 0.1-2
    record
    2008-12-19 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • 0.1-1
    record
    2008-08-27 · diff ↗ ·
    added 3 exports
    hmftest, logitform, is.logitform
  • 0.1-0
    record
    2008-05-16
  • R
    R 2.7.0 released · 2008-04-22

Package metadata

First published
2008-05-16
Total releases
29 / 18 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
406 KB / 15 files
Download size
720 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("mlogit")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v095.i11.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mlogit version 2.0-0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy