MCMCpack: Markov Chain Monte Carlo in R

Andrew D. Martin, Kevin M. Quinn, Jong Hee Park

Main Article Content


We introduce MCMCpack, an R package that contains functions to perform Bayesian inference using posterior simulation for a number of statistical models. In addition to code that can be used to fit commonly used models, MCMCpack also contains some useful utility functions, including some additional density functions and pseudo-random number generators for statistical distributions, a general purpose Metropolis sampling algorithm, and tools for visualization.

Article Details

Article Sidebar