Learn R Programming

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

ggmcmc (version 0.2)

Graphical tools for analyzing Markov Chain Monte Carlo simulations from Bayesian inference.

Description

ggmcmc is a tool for assessing and diagnosing convergence of Markov Chain Monte Carlo simulations, as well as for graphically display results from full MCMC analysis. The package also facilitates the graphical interpretation of models by providing flexible functions to plot the results against observed variables.

Copy Link

Version

Install

install.packages('ggmcmc')

Monthly Downloads

2,052

Version

0.2

License

GPL-2

Maintainer

Xavier i Marín

Last Published

September 5th, 2012

Functions in ggmcmc (0.2)

ggs

Manage the output from a coda object to be plotted by ggmcmc and convert it in an object that ggplot understands
ggs_autocorrelation

Plot an autocorrelation matrix
ggs_traceplot

Traceplot of the chains
ggs_caterpillar

Caterpillar plot with thick and thin CI
ggs_compare_partial

Compare the distribution of the whole chain with only the last part of it
ggs_crosscorrelation

Cross-correlation between-chain
ggs_histogram

Plot a histogram of each of the chains
ggmcmc

Wrapper for creating a single pdf file with all plots that ggmcmc can produce.
ac

Compute the autocorrelation of a single chain, for a specified amount of lags
S

Simulations of the parameters of a simple linear regression y = beta[0] + beta[1] * X + sigma with fake data
ggs_chain

Manage each chain
ggs_running

Running means of the chains
ggs_density

Density plots