Learn R Programming

CARBayesST (version 4.0)

Spatio-Temporal Generalised Linear Mixed Models for Areal Unit Data

Description

Implements a class of univariate and multivariate spatio-temporal 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, but for some models only the binomial and Poisson data likelihoods are available. The spatio-temporal autocorrelation is modelled by random effects, which are assigned conditional autoregressive (CAR) style prior distributions. A number of different random effects structures are available, including models similar to Rushworth et al. (2014) . Full details are given in the vignette accompanying this package. The creation and development of this package was supported by the Engineering and Physical Sciences Research Council (EPSRC) grants EP/J017442/1 and EP/T004878/1 and the Medical Research Council (MRC) grant MR/L022184/1.

Copy Link

Version

Install

install.packages('CARBayesST')

Monthly Downloads

662

Version

4.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 30th, 2023

Functions in CARBayesST (4.0)

ST.CARlocalised

Fit a spatio-temporal generalised linear mixed model to data, with a spatio-temporal autoregressive process and a piecewise constant intercept term.
ST.CARlinear

Fit a spatio-temporal generalised linear mixed model to data, where the spatial units have linear time trends with spatially varying intercepts and slopes.
ST.CARar

Fit a spatio-temporal generalised linear mixed model to data, with a spatio-temporal autoregressive process.
ST.CARclustrends

Fit a spatio-temporal generalised linear mixed model to data, with a clustering of temporal trend functions and a temporally common spatial surface.
W.estimate

Estimate an appropriate neighbourhood matrix for a set of spatial data using a baseline neighbourhood matrix and a graph based optimisation algorithm.
ST.CARsepspatial

Fit a spatio-temporal generalised linear mixed model to data, with a common temporal main effect and separate spatial surfaces with individual variances.
coef.CARBayesST

Extract the regression coefficients from a model.
model.matrix.CARBayesST

Extract the model (design) matrix from a model.
logLik.CARBayesST

Extract the estimated loglikelihood from a fitted model.
print.CARBayesST

Print a summary of the fitted model to the screen.
residuals.CARBayesST

Extract the residuals from a model.
fitted.CARBayesST

Extract the fitted values from a model.
CARBayesST-package

Spatio-Temporal Generalised Linear Mixed Models For Areal Unit Data
ST.CARadaptive

Fit a spatio-temporal generalised linear mixed model to data, with a spatio-temporal autoregressive process that has an adaptive autocorrelation stucture.
MVST.CARar

Fit a multivariate spatio-temporal generalised linear mixed model to data, with a multivariate spatio-temporal autoregressive process.
ST.CARanova

Fit a spatio-temporal generalised linear mixed model to data, with spatial and temporal main effects and a spatio-temporal interaction.