Learn R Programming

MGLM (version 0.2.3)

Multivariate Response Generalized Linear Models

Description

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.

Copy Link

Version

Install

install.packages('MGLM')

Monthly Downloads

572

Version

0.2.3

License

GPL (>= 2)

Maintainer

Juhyun Kim

Last Published

August 23rd, 2026

Functions in MGLM (0.2.3)

kr

Khatri-Rao product of two matrices
show

Show an object
predict

Predict method for MGLM Fits
rnaseq

RNA-seq count data
rnegmn

The Negative Multinomial Distribution
path

Extract path
internals

Internal Functions
rmn

The Multinomial Distribution
MGLMsparsereg-class

Class "MGLMsparsereg"
BIC

Bayesian information criterion (BIC)
MGLM-package

MGLM: A package for multivariate response generalized linear models
AIC

Akaike's Information Criterion (AIC)
MGLM-deprecated

Deprecated function(s) in the MGLM package
dof

Extract degrees of freedom
maxlambda

Extract maximum lambda
logLik

Extract log-likelihood
coef

Extract Model Coefficients
MGLMsparsereg

Fit multivariate GLM sparse regression
MGLMtune-class

Class "MGLMtune"
MGLMfit-class

Class "MGLMfit"
MGLMtune

Choose the tuning parameter value in sparse regression
rgdirmn

The Generalized Dirichlet Multinomial Distribution
rdirmn

The Dirichlet Multinomial Distribution
dist

Details of the distributions
MGLMreg

Fit multivariate response GLM regression
MGLMreg-class

Class "MGLMreg"
DMD.DM.fit

Fit multivariate discrete distributions