Learn R Programming

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

cudaBayesreg (version 0.3-8)

CUDA Parallel Implementation of a Bayesian Multilevel Model for fMRI Data Analysis

Description

Compute Unified Device Architecture (CUDA) is a software platform for massively parallel high-performance computing on NVIDIA GPUs. This package provides a CUDA implementation of a Bayesian multilevel model for the analysis of brain fMRI data. A fMRI data set consists of time series of volume data in 4D space. Typically, volumes are collected as slices of 64 x 64 "voxels". Analysis of fMRI data often relies on fitting linear regression models at each voxel of the brain. The volume of the data to be processed, and the type of statistical analysis to perform in fMRI analysis, call for high-performance computing strategies. In this package, the CUDA programming model uses a separate thread for fitting a linear regression model at each voxel in parallel. The global statistical model implements a Gibbs Sampler for hierarchical linear models with a normal prior. This model has been proposed by Rossi, Allenby and McCulloch in "Bayesian Statistics and Marketing", Chapter 3, and is referred to as "rhierLinearModel" in the R-package "bayesm". A notebook equipped with a NVIDIA "GeForce 8400M GS" card having Compute Capability 1.1 has been used in the tests. The data sets used in the package's examples are available in the separate package "cudaBayesregData".

Copy Link

Version

Install

install.packages('cudaBayesreg')

Monthly Downloads

6

Version

0.3-8

License

GPL (>= 2)

Maintainer

Adelino da Silva

Last Published

September 8th, 2010

Functions in cudaBayesreg (0.3-8)

post.shrinkage.mean

Computes shrinkage of fitted estimates over regressions
post.shrinkage.minmax

Computes shrinkage of fitted estimates over regressions
fmri_design

Example of design matrix for the real visual-auditory dataset
post.overlay

Rendering a Posterior Probability Map (PPM) volume
read.Zsegslice

Read brain segmented data based on structural regions for CSF, gray, and white matter.
read.fmrislice

Read fMRI data
premask

Mask out voxels with constant time-series
post.ppm

Posterior Probability Map (PPM) image
post.tseries

Show fitted time series of active voxel
swrfM_design

Example of design matrix for the real SPM auditory dataset
post.randeff

Plots of the random effects distribution
buildzstat.volume

Build a Posterior Probability Map (PPM) NIFTI volume
plot.hcoef.post

Plot Method for Hierarchical Model Coefficients
cudaMultireg.slice

CUDA Parallel Implementation of a Bayesian Multilevel Model for fMRI Data Analysis on a fMRI slice
plot.bayesm.mat

Plot Method for Arrays of MCMC Draws
regpostsim

Estimation of voxel activations
post.simul.betadraw

Postprocessing of MCMC simulation
cudaMultireg.volume

CUDA Parallel Implementation of a Bayesian Multilevel Model for fMRI Data Analysis on a fMRI NIFTI volume
post.simul.hist

Histogram of the posterior distribution of a regression coefficient
pmeans.hcoef

Posterior mean for each regression variable