hglm: A Package for Fitting Hierarchical Generalized Linear Models

We present the hglm package for fitting hierarchical generalized linear models. It can be used for linear mixed models and generalized linear mixed models with random effects for a variety of links and a variety of distributions for both the outcomes and the random effects. Fixed effects can also be fitted in the dispersion part of the model.

Lars Rönnegård , Xia Shen , Moudud Alam

CRAN packages used

hglm, lme4, MASS, dglm, HGLMMM, nlme

CRAN Task Views implied by cited packages

Econometrics, Environmetrics, Psychometrics, SocialSciences, OfficialStatistics, Pharmacokinetics, SpatioTemporal, Bayesian, ChemPhys, Distributions, Finance, Multivariate, NumericalMathematics, Robust, Spatial


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Rönnegård, et al., "hglm: A Package for Fitting Hierarchical Generalized Linear Models", The R Journal, 2010

BibTeX citation

  author = {Rönnegård, Lars and Shen, Xia and Alam, Moudud},
  title = {hglm: A Package for Fitting Hierarchical Generalized Linear Models},
  journal = {The R Journal},
  year = {2010},
  note = {https://doi.org/10.32614/RJ-2010-009},
  doi = {10.32614/RJ-2010-009},
  volume = {2},
  issue = {2},
  issn = {2073-4859},
  pages = {20-28}