Package: hglm 2.2-1

Xia Shen
hglm: Hierarchical Generalized Linear Models
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>.
Authors:
hglm_2.2-1.tar.gz
hglm_2.2-1.tar.gz(r-4.5-noble)hglm_2.2-1.tar.gz(r-4.4-noble)
hglm_2.2-1.tgz(r-4.4-emscripten)hglm_2.2-1.tgz(r-4.3-emscripten)
hglm.pdf |hglm.html✨
hglm/json (API)
# Install 'hglm' in R: |
install.packages('hglm', repos = 'https://cloud.r-project.org') |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 6 years agofrom:59125b70c7. Checks:3 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 12 2025 |
R-4.5-linux | OK | Mar 12 2025 |
R-4.4-linux | OK | Mar 12 2025 |
Citation
To cite hglm in publications use:
Lars Ronnegard, Xia Shen and Moudud Alam (2010) hglm: A Package for Fitting Hierarchical Generalized Linear Models. The R Journal, 2(2): 20-28. URL https://journal.r-project.org/archive/2010-2/RJournal_2010-2_Roennegaard~et~al.pdf.
Moudud Alam, Lars Ronnegard and Xia Shen (2014) Fitting Conditional and Simultaneous Autoregressive Spatial Models in hglm. Submitted, 7(2): 5-18. URL https://journal.r-project.org/archive/2015/RJ-2015-017/RJ-2015-017.pdf
Corresponding BibTeX entries:
@Article{, title = {hglm: A Package for Fitting Hierarchical Generalized Linear Models}, author = {Lars Ronnegard and Xia Shen and Moudud Alam}, journal = {The R Journal}, year = {2010}, volume = {2}, number = {2}, pages = {20-28}, url = {https://journal.r-project.org/archive/2010-2/RJournal_2010-2_Roennegaard~et~al.pdf}, }
@Article{, title = {Fitting Conditional and Simultaneous Autoregressive Spatial Models in hglm}, author = {Moudud Alam and Lars Ronnegard and Xia Shen}, journal = {The R Journal}, year = {2015}, volume = {7}, number = {2}, pages = {5-18}, url = {https://journal.r-project.org/archive/2015/RJ-2015-017/RJ-2015-017.pdf}, }
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Hierarchical Generalized Linear Models | hglm-package |
Extended Beta Family | Beta |
Conditional Autoregressive Family | CAR |
Fitting Hierarchical Generalized Linear Models | hglm |
Fitting Hierarchical Generalized Linear Models | hglm2 |
Inverse Gamma Family | inverse.gamma |
Inverse Square Root Family | inverse.sqrt |
Extracts log-likelihood values | logLik logLik.hglm |
Likelihood-ratio test for variance components in 'hglm' | lrt |
Plot Hierarchical Generalized Linear Model Objects | plot plot.hglm |
Simultaneous Autoregressive Family | SAR |