Skip to content

Multinomial Logit Models with Random Parameters

0packages dependsuggested by 3
47.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

An implementation of maximum simulated likelihood method for the estimation of multinomial logit models with random coefficients as presented by Sarrias and Daziano (2017) doi:10.18637/jss.v079.i02. Specifically, it allows estimating models with continuous heterogeneity such as the mixed multinomial logit and the generalized multinomial logit. It also allows estimating models with discrete heterogeneity such as the latent class and the mixed-mixed multinomial logit model.

Changes in 1.1-4

NEW FEATURES

  • Fixed compatibility with mlogit >= 2.0-0 and dfidx-based mlogit.data objects. This restores latent-class model estimation with recent versions of mlogit, including examples using the Fishing and Electricity data sets.
  • Fixed mixed-mixed logit models when some coefficients are fixed and others are random. Previously, model = "mm" could fail when ranp did not include all variables in the utility specification.
  • For mixed-mixed logit models, Qir now stores both prior class probabilities (wnq) and posterior class probabilities (qir).

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1-4
READMENoVignettesNoNEWSYes · mentions 1.1-4Citation fileYes · cites a publicationWebsiteYes
Cites a JSS article
Help pages
11
Examples that run
50%3 run in a plain check · 3 never run
Exported functions with examples
50%
Documented parameters
91%
Return-value docs
75%
Help pages citing references
64%

Downloads

47.8K
CRAN downloads in the past year
Rank #2,011 · ~131/day · ~4K/mo
Daily download trend is not available in this view yet.
3.1K30 days
9.1K90 days
47.8K1 year
Compare downloads with other packages →
Also on148 r2u7 autocran114 c2d4u

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing gmnl adds 31 packages (18 with compiled code, 15 MB of source tarballs). Heaviest: Rcpp 1.8 MB, sandwich 1.4 MB, micsr 1.2 MB.

Depends (3)
R >= 3.6.0maxLikFormula
Imports (7)
plotrixmsmmlogittruncnormstatsgraphicsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 3
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 1.0 (2015)
Contributor · added in 1.1
Releases (7)

Pick two releases to compare their code metrics.

  • 1.1-4Latest
    record
    2026-07-08 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 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-3.2
    record
    2020-05-27 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1-3.1
    record
    2018-11-06 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1-3
    record
    2017-07-09 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1-1
    record
    2015-11-07 · diff ↗
Show 4 earlier eventsHide 4 earlier events
  • 1.1
    record
    2015-05-31 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0
    record
    2015-02-23
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2015-02-23
Total releases
7 / 11 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Download size
35 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("gmnl")

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

It points to 10.18637/jss.v079.i02.

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 gmnl version 1.1-4 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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