MGLM: Multivariate Response Generalized Linear Models

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.

Author
Yiwen Zhang <yzhang31@ncsu.edu> and Hua Zhou <hua_zhou@ncsu.edu>
Date of publication
2016-02-17 09:14:37
Maintainer
Yiwen Zhang <yzhang31@ncsu.edu>
License
GPL (>= 2)
Version
0.0.7

View on CRAN

Man pages

ddirm
Calculate log of Dirichlet multinomial probability mass...
dgdirm
Calculate log of generalized Dirichlet multinomial...
dist
Details of the distributions
dmn
Calculate log of multinomial probability mass function
dnegmn
Calculate log of negative multinomial probability mass...
kr
Khatri-Rao product of two matrices
MGLMfit
Fit multivariate discrete distributions
MGLMfit-class
Class '"MGLMfit"'
MGLM-package
Multivariate response generalized linear models
MGLMreg
Fit multivariate response GLM regression
MGLMreg-class
Class '"MGLMreg"'
MGLMsparsereg
Fit multivariate GLM sparse regression
MGLMsparsereg-class
Class '"MGLMsparsereg"'
MGLMtune
Choose the tuning parameter value in sparse regression.
MGLMtune-class
Class '"MGLMtune"'
pkg-internal
Internal Functions
predict-methods
Predict using the fitted model
print-methods
Print out the defined objects
rdirm
Generate random deviates from the Dirichlet multinomial...
rgdirm
Generate random deviates from the generalized Dirichlet...
rnaseq
RNA-seq count data
rnegmn
Generate random deviates from the negative multinomial...

Files in this package

MGLM
MGLM/inst
MGLM/inst/doc
MGLM/inst/doc/Vignette.pdf
MGLM/NAMESPACE
MGLM/data
MGLM/data/rnaseq.rda
MGLM/R
MGLM/R/pdfln.R
MGLM/R/predict.R
MGLM/R/print.R
MGLM/R/MGLMreg.R
MGLM/R/MGLMsparsereg.R
MGLM/R/MGLMtune.R
MGLM/R/MGLMgen.R
MGLM/R/MGLMfit.R
MGLM/R/kr.R
MGLM/vignettes
MGLM/vignettes/Vignette.Rnw
MGLM/MD5
MGLM/DESCRIPTION
MGLM/man
MGLM/man/MGLMsparsereg.Rd
MGLM/man/rgdirm.Rd
MGLM/man/rnegmn.Rd
MGLM/man/dmn.Rd
MGLM/man/ddirm.Rd
MGLM/man/dgdirm.Rd
MGLM/man/MGLMreg-class.Rd
MGLM/man/MGLM-package.Rd
MGLM/man/MGLMfit-class.Rd
MGLM/man/MGLMtune.Rd
MGLM/man/rnaseq.Rd
MGLM/man/MGLMreg.Rd
MGLM/man/pkg-internal.Rd
MGLM/man/print-methods.Rd
MGLM/man/dnegmn.Rd
MGLM/man/predict-methods.Rd
MGLM/man/MGLMtune-class.Rd
MGLM/man/kr.Rd
MGLM/man/rdirm.Rd
MGLM/man/MGLMsparsereg-class.Rd
MGLM/man/dist.Rd
MGLM/man/MGLMfit.Rd