Learn R Programming

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

CARBayes (version 1.5)

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.5

License

GPL (>= 2)

Maintainer

Duncan Lee

Last Published

September 2nd, 2013

Functions in CARBayes (1.5)

binomial.bymCAR

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

Fit the intrinsic conditional autoregressive (IAR) model to spatial Gaussian data
CARBayes-package

Spatial areal unit modelling
combine.data.shapefile

Combine a data frame with a shapefile to create a SpatialPolygonsDataFrame object.
dbf

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

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

Fit the BYM conditional autoregressive (CAR) model to spatial Gaussian data
binomial.iarCAR

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

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

Fit the Leroux conditional autoregressive (CAR) model to spatial binomial data
poisson.lerouxCAR

Fit the Leroux conditional autoregressive (CAR) model to spatial count data
respdata

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

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

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

Fit the Leroux conditional autoregressive (CAR) model to spatial Gaussian data
poisson.bymCAR

Fit the BYM conditional autoregressive (CAR) model to spatial Poisson data
housedata

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

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

Fit the proper conditional autoregressive (CAR) model to spatial Poisson 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.properCAR

Fit the proper conditional autoregressive (CAR) model to spatial Gaussian data
gaussian.independent

Fit an independent random effects model to spatial Gaussian data
gaussian.dissimilarityCAR

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

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