Skip to content

Handling of output objects from Bayesian MCMC runs

Notifications You must be signed in to change notification settings

mikemeredith/mcmcOutput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcmcOutput

CRAN status Downloads

An efficient format for storing Monte Carlo chains in R.

R interfaces for JAGS, WinBUGS and OpenBUGS have a variety of formats for storing the MCMC chains produced. Many store more than one copy of the chains in different formats as each has its pros and cons. For example, R2WinBUGS output includes a 3-d array, a matrix and a sims.list; jagsUIoutput has two different lists.

The mcmcOutput class stores a single copy of the MCMC values, with customised extractor functions which allow it to behave as a data frame, a matrix, a 3-d array, or a sims.list.

A range of constructor methods are provided covering common output formats, and window, print, plot, and summary methods are available.

The summary and diagPlot functions allow the user to select the diagnostic statistics to display.

The wiqid and saveJAGS packages now Depend on mcmcOutput for the processing of MCMC output.

For more information see here.

About

Handling of output objects from Bayesian MCMC runs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages