Learn R Programming

⚠️There's a newer version (6.1.1) of this package.Take me there.

CARBayes (version 1.6)

Spatial areal unit modelling

Description

This package implements Bayesian hierarchical spatial areal unit models. In such models the spatial correlation is modelled by a set of random effects, which are assigned a conditional autoregressive (CAR) prior distribution. Examples of the models included are the BYM model as well as a recently developed localised spatial smoothing model.The creation of this package was supported by the Economic and Social Research Council (ESRC) grant RES-000-22-4256.

Copy Link

Version

Install

install.packages('CARBayes')

Monthly Downloads

847

Version

1.6

License

GPL (>= 2)

Maintainer

Duncan Lee

Last Published

November 5th, 2013

Functions in CARBayes (1.6)

gaussian.independent

Fit an independent random effects model to spatial Gaussian data
CARBayes-package

Spatial areal unit modelling
binomial.bymCAR

Fit the BYM conditional autoregressive (CAR) model to spatial binomial data
gaussian.dissimilarityCAR

Fit a localised conditional autoregressive (CAR) model based on dissimilarity metrics with binary neighbourhood relations to spatial Gaussian data
binomial.lerouxCAR

Fit the Leroux conditional autoregressive (CAR) model to spatial binomial data
combine.data.shapefile

Combine a data frame with a shapefile to create a SpatialPolygonsDataFrame object.
binomial.independent

Fit the independent random effects model to spatial binomial data
gaussian.bymCAR

Fit the BYM conditional autoregressive (CAR) model to spatial Gaussian data
poisson.dissimilarityCAR

Fit a localised conditional autoregressive (CAR) model based on dissimilarity metrics with binary neighbourhood relations to spatial Poisson data
poisson.bymCAR

Fit the BYM conditional autoregressive (CAR) model to spatial Poisson data
gaussian.properCAR

Fit the proper conditional autoregressive (CAR) model to spatial Gaussian data
binomial.properCAR

Fit the proper conditional autoregressive (CAR) model to spatial binomial data
poisson.properCAR

Fit the proper conditional autoregressive (CAR) model to spatial Poisson data
poisson.iarCAR

Fit the intrinsic conditional autoregressive (IAR) model to spatial Poisson data
gaussian.lerouxCAR

Fit the Leroux conditional autoregressive (CAR) model to spatial Gaussian data
highlight.borders

Create a SpatialPoints object identifying a subset of borders between neighbouring areas, which allows them to be overlaid on a spatial map.
poisson.independent

Fit an independent random effects model to spatial Poisson data
gaussian.iarCAR

Fit the intrinsic conditional autoregressive (IAR) model to spatial Gaussian data
housedata

Property price data for the 271 Intermediate Geographies (IG) in the Greater Glasgow and Clyde health board.
shp

Shapefile (.shp) for all Intermediate Geographies (IG) in Scotland.
binomial.dissimilarityCAR

Fit a localised conditional autoregressive (CAR) model based on dissimilarity metrics with binary neighbourhood relations to spatial binomial data
poisson.lerouxCAR

Fit the Leroux conditional autoregressive (CAR) model to spatial count data
binomial.iarCAR

Fit the intrinsic conditional autoregressive (IAR) model to spatial binomial data
print.carbayes

Print a summary of the fitted model to the screen.
dbf

Shapefile (.dbf) for all Intermediate Geographies (IG) in Scotland.
respdata

Respiratory hosptial admissions data for the 271 Intermediate Geographies (IG) in the Greater Glasgow and Clyde health board.