Skip to content

hglm

Hierarchical Generalized Linear Models

v2.2-1 · Apr 4, 2019 · GPL (>= 2)

Description

Implemented here are procedures for fitting hierarchical generalized linear models (HGLM). 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 mean model. As statistical models, HGLMs were initially developed by Lee and Nelder (1996) <https://www.jstor.org/stable/2346105?seq=1>. We provide an implementation (Ronnegard, Alam and Shen 2010) <https://journal.r-project.org/archive/2010-2/RJournal_2010-2_Roennegaard~et~al.pdf> following Lee, Nelder and Pawitan (2006) <ISBN: 9781420011340> with algorithms extended for spatial modeling (Alam, Ronnegard and Shen 2015) <https://journal.r-project.org/archive/2015/RJ-2015-017/RJ-2015-017.pdf>.

Downloads

397

Last 30 days

8345th

397

Last 90 days

397

Last year

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xia Shen <xia.shen@ki.se>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Moudud",
                      family = "Alam",
                      role = "aut"),
               person(given = "Lars",
                      family = "Ronnegard",
                      role = "aut"),
               person(given = "Xia",
                      family = "Shen",
                      role = c("aut", "cre"),
                      email = "xia.shen@ki.se"))
as necessary.

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xia Shen <xia.shen@ki.se>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Moudud",
                      family = "Alam",
                      role = "aut"),
               person(given = "Lars",
                      family = "Ronnegard",
                      role = "aut"),
               person(given = "Xia",
                      family = "Shen",
                      role = c("aut", "cre"),
                      email = "xia.shen@ki.se"))
as necessary.

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Xia Shen <xia.shen@ki.se>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Moudud",
                      family = "Alam",
                      role = "aut"),
               person(given = "Lars",
                      family = "Ronnegard",
                      role = "aut"),
               person(given = "Xia",
                      family = "Shen",
                      role = c("aut", "cre"),
                      email = "xia.shen@k
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Xia Shen <xia.shen@ki.se>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Moudud",
                      family = "Alam",
                      role = "aut"),
               person(given = "Lars",
                      family = "Ronnegard",
                      role = "aut"),
               person(given = "Xia",
                      family = "Shen",
                      role = c("aut", "cre"),
                      email = "xia.shen@k

Reverse Dependencies (1)

depends

Dependency Network

Dependencies Reverse dependencies Matrix MASS hglm.data RepeatABEL hglm

Version History

new 2.2-1 Mar 10, 2026