Rönnegård, Lars
- Department of Animal Biosciences, Swedish University of Agricultural Sciences
- Department of Clinical Sciences, Swedish University of Agricultural Sciences
Research article2015Peer reviewed
Alam, Moudud; Rönnegård, Lars; Shen, Xia
We present a new version (>= 2.0) of the hglm package for fitting hierarchical generalized linear models (HGLMs) with spatially correlated random effects. CAR() and SAR() families for conditional and simultaneous autoregressive random effects were implemented. Eigen decomposition of the matrix describing the spatial structure (e.g., the neighborhood matrix) was used to transform the CAR/SAR random effects into an independent, but heteroscedastic, Gaussian random effect. A linear predictor is fitted for the random effect variance to estimate the parameters in the CAR and SAR models. This gives a computationally efficient algorithm for moderately sized problems.
The R journal
2015, Volume: 7, number: 2, pages: 5-18 Publisher: R FOUNDATION STATISTICAL COMPUTING
Probability Theory and Statistics
https://res.slu.se/id/publ/77180