Skip to main content

A library to perform MCMC simulations using DRAM

Project description

pymcmcstat

docs build coverage license codacy zenodo

The pymcmcstat package is a Python program for running Markov Chain Monte Carlo (MCMC) simulations. Included in this package is the ability to use different Metropolis based sampling techniques:

  • Metropolis-Hastings (MH): Primary sampling method.

  • Adaptive-Metropolis (AM): Adapts covariance matrix at specified intervals.

  • Delayed-Rejection (DR): Delays rejection by sampling from a narrower distribution. Capable of n-stage delayed rejection.

  • Delayed Rejection Adaptive Metropolis (DRAM): DR + AM

The pymcmcstat homepage contains tutorials for users as well as installation instructions.

Python implementation of MATLAB toolbox “mcmcstat”. This code is designed to replicate the functionality of the MATLAB routines developed and posted here: http://helios.fmi.fi/~lainema/mcmc/

The user interface is designed to be as similar to the MATLAB version as possible, but this implementation has taken advantage of certain data structure concepts more amenable to Python.

Installation

This code can be found on the Github project page. It is open source and provided under the MIT license. To install directly from Github,

pip install git+https://github.com/prmiles/pymcmcstat.git

You can also clone the repository and run python setup.py install.

Package is also available on the PyPI distribution site.

pip install pymcmcstat

Getting Started

License

MIT

Contributors

See the GitHub contributor page

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymcmcstat-1.5.0rc2.tar.gz (86.9 kB view hashes)

Uploaded Source

Built Distribution

pymcmcstat-1.5.0rc2-py2-none-any.whl (115.8 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page