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 con ditional 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.
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
Alam, et al., "Fitting Conditional and Simultaneous Autoregressive Spatial Models in hglm", The R Journal, 2015
BibTeX citation
@article{RJ-2015-017, author = {Alam, Moudud and Rönnegård, Lars and Shen, Xia}, title = {Fitting Conditional and Simultaneous Autoregressive Spatial Models in hglm}, journal = {The R Journal}, year = {2015}, note = {https://doi.org/10.32614/RJ-2015-017}, doi = {10.32614/RJ-2015-017}, volume = {7}, issue = {2}, issn = {2073-4859}, pages = {5-18} }