Learn R Programming

BayesSummaryStatLM (version 2.0)

MCMC Sampling of Bayesian Linear Models via Summary Statistics

Description

Methods for generating Markov Chain Monte Carlo (MCMC) posterior samples of Bayesian linear regression model parameters that require only summary statistics of data as input. Summary statistics are useful for systems with very limited amounts of physical memory. The package provides two functions: one function that computes summary statistics of data and one function that carries out the MCMC posterior sampling for Bayesian linear regression models where summary statistics are used as input. The function read.regress.data.ff utilizes the R package 'ff' to handle data sets that are too large to fit into a user's physical memory, by reading in data in chunks. See Miroshnikov, Savel'ev and Conlon (2015) .

Copy Link

Version

Install

install.packages('BayesSummaryStatLM')

Monthly Downloads

47

Version

2.0

License

GPL (>= 2)

Maintainer

Erin Conlon

Last Published

July 1st, 2021

Functions in BayesSummaryStatLM (2.0)

regressiondata.nz.all

Simulated data for Bayesian linear regression models, for use in package examples.
regressiondata.nz.pt1

Simulated data for Bayesian linear regression models, for use in package examples.
regressiondata.nz.pt2

Simulated data for Bayesian linear regression models, for use in package examples.
read.regress.data.ff

Read in Tabulated Data and Compute Summary Statistics
bayes.regress

MCMC posterior sampling of Bayesian linear regression model parameters using only summary statistics