Multivariate Response Generalized Linear Models
Overview
Provides functions that (1) fit multivariate discrete distributions, (2) generate random numbers from multivariate discrete distributions, and (3) run regression and penalized regression on the multivariate categorical response data. Implemented models include: multinomial logit model, Dirichlet multinomial model, generalized Dirichlet multinomial model, and negative multinomial model. Making the best of the minorization-maximization (MM) algorithm and Newton-Raphson method, we derive and implement stable and efficient algorithms to find the maximum likelihood estimates. On a multi-core machine, multi-threading is supported.
- Updated
inst/CITATIONto usebibentry()andperson()instead of the defunctcitEntry()andpersonList(). - Removed redundant
\itemize{}wrappers inside\value{}sections of the documentation forMGLMfit(),MGLMreg(),MGLMsparsereg(),MGLMtune()andpath(), which caused "lost braces" notes inR CMD check. - Reduced the size of the
MGLMtune()andpath()examples so that they run well within CRAN's example timing limits.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-30
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 27 (1 internal)includes a package overview page
- Examples that run
- 100%22 run in a plain check
- Exported functions with examples
- 82%
- Documented parameters
- 76%
- Return-value docs
- 82%
- Help pages citing references
- 0%
- MGLM Vignette HTML
Downloads
Dependencies
Installing MGLM adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Maintainer since 0.0.9 (2018), previously Yiwen Zhang (0.0.1 to 0.0.8)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- archivedRemoved from CRAN2015-03-03misuse of '\donttest' was not corrected
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- 3.0.22013-07-06 · diff ↗ ·
added 13 exports
pattern:^[[:alpha:]]+, ddirm, dgdirm, dmn, dnegmn, kr, MGLMfit, MGLMreg, MGLMsparsereg, MGLMtune, rdirm, rgdirm, rnegmn
Show 14 earlier eventsHide 14 earlier events
- 0.2.32026-08-23 · diff ↗
- 0.2.12022-04-14 · diff ↗
- 0.2.02018-10-19 · diff ↗
- 0.1.0
- 0.0.92018-01-14 · diff ↗ ·
removed 5 exports
pattern:^[[:alpha:]]+, ddirm, dgdirm, rdirm, rgdirmadded 8 exports
MGLMreg.fit, MGLMsparsereg.fit, ddirmn, dgdirmn, dmultn, rdirmn, rgdirmn, rmn - 0.0.82017-03-27 · diff ↗
- 0.0.7
- 0.0.62014-04-27 · diff ↗
- 0.0.5
- 0.0.42014-02-23 · diff ↗
- 0.0.32014-01-05 · diff ↗
- 0.0.22013-11-07 · diff ↗
- 0.0.12013-09-25
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-07-06
- Total releases
- 15 / 13 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 3.9 KB / 1 file
- Download size
- 72 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("MGLM")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
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.