CARrampsOcl: Reparameterized and marginalized posterior sampling for conditional autoregressive models, OpenCL implementation
Version 0.1.4

This package fits Bayesian conditional autoregressive models for spatial and spatiotemporal data on a lattice. It uses OpenCL kernels running on GPUs to perform rejection sampling to obtain independent samples from the joint posterior distribution of model parameters.

Browse man pages Browse package API and functions Browse package files

AuthorKate Cowles and Michael Seedorff and Alex Sawyer
Date of publication2013-10-25 18:55:12
MaintainerKate Cowles <kate-cowles@uiowa.edu>
LicenseGPL (>= 3)
Version0.1.4
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("CARrampsOcl")

Man pages

CARrampsOcl.fit: Fit Bayesian normal conditional autoregressive model
CARrampsOcl-package: Draws independent samples from joint posterior in Bayesian...
eigenCAR1: Function to compute eigenvalues and eigenvectors of CAR1...
eigenRW1: Function to compute eigenvalues and eigenvectors of RW1...
inprod: Function to compute inner product of two vectors.
iowaSW06: Iowa normalized difference vegetation index (NDVI) data
iowaSW97_06small: Southwest Iowa 10-year normalized difference vegetation index...
makeQ: Function to construct a structure matrix for 2-dimensional...
makeRW1Q: Function to construct structure matrix for 1-dimenstional...
makeRW2Q: Function to construct structure matrix for 1-dimensional...
multivspost2blog: Evaluate marginalized and reparameterized joint posterior.
multivspost2blogandtausqtot: Function to evaluate marginalized and reparameterized...
oclCombo1col: Function to call OpenCL to calculate posterior means and...
oclCombo1col1: Function to call OpenCL to calculate posterior means and...
oclCombo1col3: Function to call OpenCL to calculate posterior means and...
oclKronVectMult1col: Function to call OpenCL program to compute product of a...
oclKronVectMult1col3Q: Function to call OpenCL program to premultiply a matrix by a...
oclSampling: Function to call OpenCL for rejection sampling.
optimizelogpost: Optimize log of marginalized and reparameterized joint...
plot2Q: Function to produce image plot of 2-dimensional data modeled...
plot3Q: Plot 3-dimensional data modeled with 3 separate structure...
plotCAR1: Function to plot 2-dimensional data modeled using a single...
plotCAR1plus1Q: Plot 3-dimensional data modeled with a 2-dimensional CAR1...
plotem: Utility function used by plotting functions.
rdirichlet: Generate random samples from dirichlet distribution.
setup1: Function to invoke OpenCL package and create kernels
setup2: Function to invoke OpenCL package and create kernels
setup3: Function to invoke OpenCL package and create kernels

Functions

CARrampsOcl Man page
CARrampsOcl-package Man page
CARrampsOcl.fit Man page Source code
eigenCAR1 Man page Source code
eigenRW1 Man page Source code
inprod Man page Source code
iowaSW06 Man page
iowaSW97_06small Man page
makeQ Man page Source code
makeRW1Q Man page Source code
makeRW2Q Man page Source code
multivspost2blog Man page Source code
multivspost2blogandtausqtot Man page Source code
oclCombo1col Man page Source code
oclCombo1col1 Man page Source code
oclCombo1col3 Man page Source code
oclKronVectMult1col Source code
oclKronVectMult1col3Q Man page Source code
oclKronVectMult1colFrom Man page
oclSampling Man page Source code
optimizelogpost Man page Source code
plot2Q Man page Source code
plot3Q Man page Source code
plotCAR1 Man page Source code
plotCAR1plus1Q Man page Source code
plotem Man page Source code
rdirichlet Man page Source code
setup1 Man page Source code
setup2 Man page Source code
setup3 Man page Source code

Files

src
src/Makevars
src/oclCombo1col1.c
src/oclCombo1col3.c
src/oclCombo1col.c
NAMESPACE
INSTALL
data
data/iowaSW06.rda
data/iowaSW97_06small.rda
R
R/oclCombo1col3.R
R/makeRW1Q.R
R/setup3.R
R/plot2Q.R
R/oclSampling.R
R/multivspost2blog.R
R/setup2.R
R/oclKronVectMult1col.R
R/plotCAR1plus1Q.R
R/makeQmkc2.R
R/rdirichlet.R
R/oclKronVectMult1col3Q.R
R/plot3Q.R
R/oclCombo1col.R
R/inprod.R
R/multivspost2blogandtausqtot.R
R/eigenRW1.R
R/makeQ.R
R/eigenCAR1.R
R/CARrampsOcl.fit.R
R/optimizelogpost.R
R/plotCAR1.R
R/setup1.R
R/oclCombo1col1.R
R/plotem.R
R/makeRW2Q.R
MD5
DESCRIPTION
man
man/setup3.Rd
man/multivspost2blog.Rd
man/CARrampsOcl.fit.Rd
man/eigenRW1.Rd
man/oclKronVectMult1col3Q.Rd
man/plotem.Rd
man/plotCAR1.Rd
man/setup1.Rd
man/rdirichlet.Rd
man/plot2Q.Rd
man/oclKronVectMult1col.Rd
man/CARrampsOcl-package.Rd
man/oclCombo1col3.Rd
man/oclCombo1col.Rd
man/plotCAR1plus1Q.Rd
man/inprod.Rd
man/multivspost2blogandtausqtot.Rd
man/plot3Q.Rd
man/setup2.Rd
man/makeRW1Q.Rd
man/optimizelogpost.Rd
man/makeQ.Rd
man/makeRW2Q.Rd
man/eigenCAR1.Rd
man/iowaSW97_06small.Rd
man/iowaSW06.Rd
man/oclSampling.Rd
man/oclCombo1col1.Rd
CARrampsOcl documentation built on May 19, 2017, 2:22 p.m.