Package: mclogit 0.9.9

Martin Elff

mclogit: Multinomial Logit Models, with or without Random Effects or Overdispersion

Provides estimators for multinomial logit models in their conditional logit and baseline logit variants, with or without random effects, with or without overdispersion. Random effects models are estimated using the PQL technique (based on a Laplace approximation) or the MQL technique (based on a Solomon-Cox approximation). Estimates should be treated with caution if the group sizes are small.

Authors:Martin Elff

mclogit_0.9.9.tar.gz
mclogit_0.9.9.zip(r-4.5)mclogit_0.9.9.zip(r-4.4)mclogit_0.9.9.zip(r-4.3)
mclogit_0.9.9.tgz(r-4.4-any)mclogit_0.9.9.tgz(r-4.3-any)
mclogit_0.9.9.tar.gz(r-4.5-noble)mclogit_0.9.9.tar.gz(r-4.4-noble)
mclogit_0.9.9.tgz(r-4.4-emscripten)mclogit_0.9.9.tgz(r-4.3-emscripten)
mclogit.pdf |mclogit.html
mclogit/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/melff/mclogit/issues

Pkgdown site:https://melff.github.io

Datasets:
  • Transport - Choice of Means of Transport
  • electors - Class, Party Position, and Electoral Choice

On CRAN:

10.82 score 23 stars 3 packages 261 scripts 3.4k downloads 5 mentions 12 exports 8 dependencies

Last updated 30 days agofrom:220dbd4cfb. Checks:1 OK, 6 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 13 2025
R-4.5-winNOTEJan 13 2025
R-4.5-linuxNOTEJan 13 2025
R-4.4-winNOTEJan 13 2025
R-4.4-macNOTEJan 13 2025
R-4.3-winNOTEJan 13 2025
R-4.3-macNOTEJan 13 2025

Exports:dispersiongetSummary.mblogitgetSummary.mclogitgetSummary.mmblogitgetSummary.mmclogitmblogitmclogitmclogit.controlmclogit.fitmmclogit.controlmmclogit.fitPQLMQLrebase

Dependencies:data.tablejsonlitelatticeMASSMatrixmemiscnlmeyaml

Approximate Inference for Multinomial Logit Models with Random Effects

Rendered fromapproximations.Rmdusingknitr::rmarkdownon Jan 13 2025.

Last update: 2023-12-27
Started: 2023-12-27

Baseline-category logit models

Rendered frombaseline-logit.Rmdusingknitr::rmarkdownon Jan 13 2025.

Last update: 2023-12-27
Started: 2023-12-27

Conditional logit models

Rendered fromconditional-logit.Rmdusingknitr::rmarkdownon Jan 13 2025.

Last update: 2023-12-27
Started: 2023-12-27

Random effects in baseline logit models and conditional logit models

Rendered fromrandom-effects.Rmdusingknitr::rmarkdownon Jan 13 2025.

Last update: 2023-12-27
Started: 2023-12-27

The IWLS algorithm used to fit conditional logit models

Rendered fromfitting-mclogit.Rmdusingknitr::rmarkdownon Jan 13 2025.

Last update: 2023-12-27
Started: 2023-12-27

The relation between baseline logit and conditional logit models

Rendered frombaseline-and-conditional-logit.Rmdusingknitr::rmarkdownon Jan 13 2025.

Last update: 2023-12-27
Started: 2023-12-27

Readme and manuals

Help Manual

Help pageTopics
Overdispersion in Multinomial Logit Modelsdispersion dispersion.mclogit
Class, Party Position, and Electoral Choiceelectors
`getSummary` MethodsgetSummary.mblogit getSummary.mclogit getSummary.mmblogit getSummary.mmclogit
Baseline-Category Logit Models for Categorical and Multinomial Responsesfitted.mblogit mblogit print.mblogit print.mmblogit print.summary.mblogit print.summary.mmblogit summary.mblogit summary.mmblogit weights.mblogit
Conditional Logit Models and Mixed Conditional Logit ModelsAIC.mclogit anova.mclogit BIC.mclogit deviance.mclogit fitted.mclogit logLik.mclogit mclogit print.mclogit print.summary.mclogit print.summary.mmclogit ranef.mmclogit residuals.mclogit summary.mclogit summary.mmclogit update.mclogit vcov.mclogit weights.mclogit
Control Parameters for the Fitting Processmclogit.control mmclogit.control
Internal functions used for model fit.mclogit.fit mmclogit.fitPQLMQL
Predicting responses or linear parts of the baseline-category and conditional logit modelspredict.mblogit predict.mclogit predict.mmblogit predict.mmclogit
Change baseline category of multinomial logit or similar modelrebase rebase.mblogit
Simulating responses from baseline-category and conditional logit modelssimulate.mblogit simulate.mclogit simulate.mmblogit simulate.mmclogit
Choice of Means of TransportTransport