All Projects → tpapp → Dynamichmc.jl

tpapp / Dynamichmc.jl

Licence: other
Implementation of robust dynamic Hamiltonian Monte Carlo methods (NUTS) in Julia.

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to Dynamichmc.jl

Stan
Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
Stars: ✭ 2,177 (+1165.7%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics, bayesian-methods
Rhat ess
Rank-normalization, folding, and localization: An improved R-hat for assessing convergence of MCMC
Stars: ✭ 19 (-88.95%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics, bayesian-methods
Bayesian Analysis Recipes
A collection of Bayesian data analysis recipes using PyMC3
Stars: ✭ 479 (+178.49%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics, bayesian-methods
Rstanarm
rstanarm R package for Bayesian applied regression modeling
Stars: ✭ 285 (+65.7%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics, bayesian-methods
Shinystan
shinystan R package and ShinyStan GUI
Stars: ✭ 172 (+0%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics, bayesian-methods
Autoppl
C++ template library for probabilistic programming
Stars: ✭ 34 (-80.23%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics
Scikit Stan
A high-level Bayesian analysis API written in Python
Stars: ✭ 22 (-87.21%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics
geostan
Bayesian spatial analysis
Stars: ✭ 40 (-76.74%)
Mutual labels:  bayesian, bayesian-inference, bayesian-statistics
statrethink course in pymc3
Statistical Rethinking course in pymc3
Stars: ✭ 141 (-18.02%)
Mutual labels:  bayesian-methods, bayesian, bayesian-inference
Probflow
A Python package for building Bayesian models with TensorFlow or PyTorch
Stars: ✭ 95 (-44.77%)
Mutual labels:  bayesian-inference, bayesian-statistics, bayesian-methods
LogDensityProblems.jl
A common framework for implementing and using log densities for inference.
Stars: ✭ 26 (-84.88%)
Mutual labels:  bayesian-methods, bayesian, bayesian-inference
Bayesian Stats Modelling Tutorial
How to do Bayesian statistical modelling using numpy and PyMC3
Stars: ✭ 480 (+179.07%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics
Rethinking Pyro
Statistical Rethinking with PyTorch and Pyro
Stars: ✭ 116 (-32.56%)
Mutual labels:  bayesian-inference, bayesian-statistics, bayesian-methods
Resources
PyMC3 educational resources
Stars: ✭ 930 (+440.7%)
Mutual labels:  bayesian-inference, bayesian-statistics
Pyro
Deep universal probabilistic programming with Python and PyTorch
Stars: ✭ 7,224 (+4100%)
Mutual labels:  bayesian-inference, bayesian
Projpred
Projection predictive variable selection
Stars: ✭ 76 (-55.81%)
Mutual labels:  bayesian-inference, bayesian
Turing.jl
Bayesian inference with probabilistic programming.
Stars: ✭ 1,150 (+568.6%)
Mutual labels:  bayesian-inference, bayesian-statistics
Bat.jl
A Bayesian Analysis Toolkit in Julia
Stars: ✭ 82 (-52.33%)
Mutual labels:  bayesian-inference, bayesian-statistics
Bayesian Cognitive Modeling In Pymc3
PyMC3 codes of Lee and Wagenmakers' Bayesian Cognitive Modeling - A Pratical Course
Stars: ✭ 93 (-45.93%)
Mutual labels:  bayesian-inference, bayesian-methods
Paramonte
ParaMonte: Plain Powerful Parallel Monte Carlo and MCMC Library for Python, MATLAB, Fortran, C++, C.
Stars: ✭ 88 (-48.84%)
Mutual labels:  bayesian-inference, bayesian-statistics

DynamicHMC

Implementation of robust dynamic Hamiltonian Monte Carlo methods in Julia.

Project Status: Active – The project has reached a stable, usable state and is being actively developed. build codecov.io Documentation Documentation DOI

Overview

This package implements a modern version of the “No-U-turn sampler” in the Julia language, mostly as described in Betancourt (2017), with some tweaks.

In contrast to frameworks which utilize a directed acyclic graph to build a posterior for a Bayesian model from small components, this package requires that you code a log-density function of the posterior in Julia. Derivatives can be provided manually, or using automatic differentiation.

Consequently, this package requires that the user is comfortable with the basics of the theory of Bayesian inference, to the extent of coding a (log) posterior density in Julia. This approach allows the use of standard tools like profiling and benchmarking to optimize its performance.

The building blocks of the algorithm are implemented using a functional (non-modifying) approach whenever possible, allowing extensive unit testing of components, while at the same time also intended to serve as a transparent, pedagogical introduction to the low-level mechanics of current Hamiltonian Monte Carlo samplers, and as a platform for research into MCMC methods.

Please start with the documentation.

Examples

Support and participation

For general questions, open an issue or ask on the Discourse forum. I am happy to help with models.

Users who rely on this package and want to participate in discussions are recommended to subscribe to the Github notifications (“watching” the package). Also, I will do my best to accommodate feature requests, just open issues.

Bibliography

Betancourt, M. J., Byrne, S., & Girolami, M. (2014). Optimizing the integrator step size for Hamiltonian Monte Carlo. arXiv preprint arXiv:1411.6669.

Betancourt, M. (2016). Diagnosing suboptimal cotangent disintegrations in Hamiltonian Monte Carlo. arXiv preprint arXiv:1604.00695.

Betancourt, M. (2017). A Conceptual Introduction to Hamiltonian Monte Carlo. arXiv preprint arXiv:1701.02434.

Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A., & Rubin, D. B. (2013). Bayesian data analysis. : CRC Press.

Gelman, A., & Hill, J. (2007). Data analysis using regression and multilevel/hierarchical models.

Hoffman, M. D., & Gelman, A. (2014). The No-U-turn sampler: adaptively setting path lengths in Hamiltonian Monte Carlo. Journal of Machine Learning Research, 15(1), 1593-1623.

McElreath, R. (2018). Statistical rethinking: A Bayesian course with examples in R and Stan. Chapman and Hall/CRC.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].