CARBayes: Spatial Generalised Linear Mixed Models for Areal Unit Data

Implements a class of univariate and multivariate spatial generalised linear mixed models for areal unit data, with inference in a Bayesian setting using Markov chain Monte Carlo (MCMC) simulation using a single or multiple Markov chains. The response variable can be binomial, Gaussian, multinomial, Poisson or zero-inflated Poisson (ZIP), and spatial autocorrelation is modelled by a set of random effects that are assigned a conditional autoregressive (CAR) prior distribution. A number of different models are available for univariate spatial data, including models with no random effects as well as random effects modelled by different types of CAR prior, including the BYM model (Besag et al., 1991, <doi:10.1007/BF00116466>) and Leroux model (Leroux et al., 2000, <doi:10.1007/978-1-4612-1284-3_4>). Additionally, a multivariate CAR (MCAR) model for multivariate spatial data is available, as is a two-level hierarchical model for modelling data relating to individuals within areas. Full details are given in the vignette accompanying this package. The initial creation of this package was supported by the Economic and Social Research Council (ESRC) grant RES-000-22-4256, and on-going development has been supported by the Engineering and Physical Science Research Council (EPSRC) grant EP/J017442/1, ESRC grant ES/K006460/1, Innovate UK / Natural Environment Research Council (NERC) grant NE/N007352/1 and the TB Alliance.

Version: 6.1.1
Depends: MASS, R (≥ 3.5.0), Rcpp (≥ 0.11.5)
Imports: CARBayesdata, coda, dplyr, GGally, glmnet, igraph, mapview, MCMCpack, parallel, RColorBrewer, sf, spam, spdep, stats, truncnorm, utils
LinkingTo: Rcpp
Published: 2024-03-08
DOI: 10.32614/CRAN.package.CARBayes
Author: Duncan Lee
Maintainer: Duncan Lee <Duncan.Lee at glasgow.ac.uk>
BugReports: https://github.com/duncanplee/CARBayes/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/duncanplee/CARBayes
NeedsCompilation: yes
Citation: CARBayes citation info
In views: Bayesian, Spatial
CRAN checks: CARBayes results

Documentation:

Reference manual: CARBayes.pdf
Vignettes: Vignette for CARBayes package.

Downloads:

Package source: CARBayes_6.1.1.tar.gz
Windows binaries: r-devel: CARBayes_6.1.1.zip, r-release: CARBayes_6.1.1.zip, r-oldrel: CARBayes_6.1.1.zip
macOS binaries: r-release (arm64): CARBayes_6.1.1.tgz, r-oldrel (arm64): CARBayes_6.1.1.tgz, r-release (x86_64): CARBayes_6.1.1.tgz, r-oldrel (x86_64): CARBayes_6.1.1.tgz
Old sources: CARBayes archive

Reverse dependencies:

Reverse imports: bmstdr
Reverse enhances: emmeans

Linking:

Please use the canonical form https://CRAN.R-project.org/package=CARBayes to link to this page.