Skip to main content
Research article - Peer-reviewed, 2010

hglm: A Package for Fitting Hierarchical Generalized Linear Models

Ronnegard, Lars; Shen, Xia; Alam, Moudud


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.

Published in

The R journal
2010, Volume: 2, number: 2, pages: 20-28

    SLU Authors

      • Shen, Xia

        • Dalarna University
        • Uppsala University

      UKÄ Subject classification

      Veterinary Science
      Animal and Dairy Science

      Permanent link to this page (URI)