Learn R Programming

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

CARBayes (version 4.4)

Spatial Generalised Linear Mixed Models for Areal Unit Data

Description

Implements a class of spatial generalised linear mixed models for areal unit data, with inference in a Bayesian setting using Markov chain Monte Carlo (McMC) simulation. The response variable can be binomial, Gaussian or Poisson. The spatial autocorrelation is modelled by a set of random effects, which are assigned a conditional autoregressive (CAR) prior distribution. A number of different CAR priors are available for the random effects, and 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 was supported by the Engineering and Physical Science Research Council (EPSRC) grant EP/J017442/1.

Copy Link

Version

Install

install.packages('CARBayes')

Monthly Downloads

847

Version

4.4

License

GPL (>= 2)

Maintainer

Duncan Lee

Last Published

February 3rd, 2016

Functions in CARBayes (4.4)

summarise.lincomb

Compute the posterior distribution for a linear combination of the covariates from the linear predictor.
S.CARleroux

Fit a spatial generalised linear mixed model to data, where the random effects have a Leroux conditional autoregressive prior.
S.CARlocalised

Fit a spatial generalised linear mixed model to data, where a set of spatially smooth random effects are augmented with a piecewise constant intercept process.
CARBayes-package

Spatial Generalised Linear Mixed Models for Areal Unit Data
print.carbayes

Print a summary of a fitted carbayes model to the screen.
summarise.samples

Summarise a matrix of Markov chain Monte Carlo samples.
highlight.borders

Creates a SpatialPoints object identifying a subset of borders between neighbouring areas.
S.CARdissimilarity

Fit a spatial generalised linear mixed model to data, where the random effects have a localised conditional autoregressive prior.
combine.data.shapefile

Combines a data frame with a shapefile to create a SpatialPolygonsDataFrame object.
S.CARbym

Fit a spatial generalised linear mixed model to data, where the random effects have a BYM conditional autoregressive prior.