Description Details Author(s) References

Performs general Metropolis-Hastings Markov Chain Monte Carlo sampling of a user defined function which returns the un-normalized value (likelihood times prior) of a Bayesian model. The proposal variance-covariance structure is updated adaptively for efficient mixing when the structure of the target distribution is unknown. The package also provides some functions for Bayesian inference including Bayesian Credible Intervals (BCI) and Deviance Information Criterion (DIC) calculation.

Package: | MHadaptive |

Type: | Package |

Version: | 1.1-6 |

Date: | 2011-12-20 |

License: | GPL (>= 3) |

LazyLoad: | yes |

This package provides a simple Metropolis-Hastings algorithm with an adaptive proposal distribution for estimating posterior distributions of Bayesian models. The user need only define the model as a function which returns the un-normalized posterior distribution (ie. *log[L(theta | x)P(theta)]*).

Corey Chivers <[email protected]>

Spiegelhalter, D. J., Best, N. G., Carlin, B. P. and Van Der Linde, A. (2002), Bayesian measures of model complexity and fit. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 64: 583-639. doi: 10.1111/1467-9868.00353

MHadaptive documentation built on May 29, 2017, 2:07 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.