Learn R Programming

MGLM (version 0.2.1)

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

694

Version

0.2.1

License

GPL (>= 2)

Maintainer

Juhyun Kim

Last Published

April 13th, 2022

Functions in MGLM (0.2.1)

MGLM-package

MGLM: A package for multivariate response generalized linear models
MGLMreg-class

Class "MGLMreg"
AIC

Akaike's Information Criterion (AIC)
MGLM-deprecated

Deprecated function(s) in the MGLM package
MGLMsparsereg-class

Class "MGLMsparsereg"
MGLMfit-class

Class "MGLMfit"
MGLMsparsereg

Fit multivariate GLM sparse regression
MGLMreg

Fit multivariate response GLM regression
BIC

Bayesian information criterion (BIC)
DMD.DM.fit

Fit multivariate discrete distributions
rgdirmn

The Generalized Dirichlet Multinomial Distribution
kr

Khatri-Rao product of two matrices
rnaseq

RNA-seq count data
predict

Predict method for MGLM Fits
show

Show an object
dist

Details of the distributions
dof

Extract degrees of freedom
coef

Extract Model Coefficients
rdirmn

The Dirichlet Multinomial Distribution
maxlambda

Extract maximum lambda
rnegmn

The Negative Multinomial Distribution
logLik

Extract log-likelihood
rmn

The Multinomial Distribution
path

Extract path
MGLMtune

Choose the tuning parameter value in sparse regression
internals

Internal Functions
MGLMtune-class

Class "MGLMtune"