Package: gmnl 1.1-3.3

gmnl: Multinomial Logit Models with Random Parameters

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.

Authors:Mauricio Sarrias [aut, cre], Ricardo Daziano [aut], Yves Croissant [ctb]

gmnl_1.1-3.3.tar.gz
gmnl_1.1-3.3.zip(r-4.5)gmnl_1.1-3.3.zip(r-4.4)gmnl_1.1-3.3.zip(r-4.3)
gmnl_1.1-3.3.tgz(r-4.5-any)gmnl_1.1-3.3.tgz(r-4.4-any)gmnl_1.1-3.3.tgz(r-4.3-any)
gmnl_1.1-3.3.tar.gz(r-4.5-noble)gmnl_1.1-3.3.tar.gz(r-4.4-noble)
gmnl_1.1-3.3.tgz(r-4.4-emscripten)gmnl_1.1-3.3.tgz(r-4.3-emscripten)
gmnl.pdf |gmnl.html
gmnl/json (API)
NEWS

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

Bug tracker:https://github.com/mauricio1986/gmnl/issues

On CRAN:

Conda:

4.27 score 4 stars 51 scripts 2.3k downloads 4 mentions 11 exports 37 dependencies

Last updated 3 years agofrom:d08ddca3b5. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 04 2025
R-4.5-winOKMar 04 2025
R-4.5-macOKMar 04 2025
R-4.5-linuxOKMar 04 2025
R-4.4-winOKMar 04 2025
R-4.4-macOKMar 04 2025
R-4.4-linuxOKMar 04 2025
R-4.3-winOKMar 04 2025
R-4.3-macOKMar 04 2025

Exports:bread.gmnlcor.gmnlcov.gmnleffect.gmnlestfun.gmnlgetSummary.gmnlgmnlis.gFormulanObs.gmnlse.cov.gmnlwtp.gmnl

Dependencies:clidfidxdigestdplyrexpmfansiFormulagenericsgluelatticelifecyclelmtestmagrittrMASSMatrixmaxLikmiscToolsmlogitmsmmvtnormpillarpkgconfigplotrixR6rbibutilsRdpackrlangsandwichstatmodsurvivaltibbletidyselecttruncnormutf8vctrswithrzoo

Readme and manuals

Help Manual

Help pageTopics
Akaike's Information CriterionAIC.gmnl BIC.gmnl
Bread for Sandwichesbread.gmnl
Functions for Correlated Random Parameterscor.gmnl cov.gmnl se.cov.gmnl
Get the Conditional Individual Coefficientseffect.gmnl
Gradient for Observationsestfun.gmnl
Get Model Summaries for Use with "mtable"getSummary.gmnl
Model Formula for Multinomial Logit ModelsgFormula is.gFormula model.frame.gFormula model.matrix.gFormula
Estimate Multinomial Logit Models with Observed and Unobserved Individual Heterogeneity.coef.gmnl df.residual.gmnl fitted.gmnl gmnl logLik.gmnl model.matrix.gmnl nObs.gmnl print.gmnl print.summary.gmnl residuals.gmnl summary.gmnl update.gmnl
Plot of the Distribution of the Conditional Expectation of Random Parametersplot.gmnl
vcov method for gmnl objectsvcov.gmnl
Compute Willingness-to-paywtp.gmnl