Learning Hamiltonian Monte Carlo in R

06/29/2020
by   Samuel Thomas, et al.
0

Hamiltonian Monte Carlo (HMC) is a powerful tool for Bayesian computation. In comparison with the traditional Metropolis-Hastings algorithm, HMC offers greater computational efficiency, especially in higher dimensional or more complex modeling situations. To most statisticians, however, the idea of HMC comes from a less familiar origin, one that is based on the theory of classical mechanics. Its implementation, either through Stan or one of its derivative programs, can appear opaque to beginners. A lack of understanding of the inner working of HMC, in our opinion, has hindered its application to a broader range of statistical problems. In this article, we review the basic concepts of HMC in a language that is more familiar to statisticians, and we describe an HMC implementation in R, one of the most frequently used statistical software environments. We also present hmclearn, an R package for learning HMC. This package contains a general-purpose HMC function for data analysis. We illustrate the use of this package in common statistical models. In doing so, we hope to promote this powerful computational tool for wider use. Example code for common statistical models is presented as supplementary material for online publication.

READ FULL TEXT

page 8

page 33

page 34

page 35

page 36

page 38

page 39

page 40

research
10/30/2010

Discussion of "Riemann manifold Langevin and Hamiltonian Monte Carlo methods" by M. Girolami and B. Calderhead

This technical report is the union of two contributions to the discussio...
research
01/20/2022

Metropolis Augmented Hamiltonian Monte Carlo

Hamiltonian Monte Carlo (HMC) is a powerful Markov Chain Monte Carlo (MC...
research
06/06/2018

Dynamically rescaled Hamiltonian Monte Carlo for Bayesian Hierarchical Models

Dynamically rescaled Hamiltonian Monte Carlo (DRHMC) is introduced as a ...
research
07/05/2023

Adaptive multi-stage integration schemes for Hamiltonian Monte Carlo

Hamiltonian Monte Carlo (HMC) is a powerful tool for Bayesian statistica...
research
04/13/2022

Investigating the efficiency of marginalising over discrete parameters in Bayesian computations

Bayesian analysis methods often use some form of iterative simulation su...
research
12/01/2020

mlOSP: Towards a Unified Implementation of Regression Monte Carlo Algorithms

We introduce mlOSP, a computational template for Machine Learning for Op...
research
09/03/2023

Tropical Geometric Tools for Machine Learning: the TML package

In the last decade, developments in tropical geometry have provided a nu...

Please sign up or login with your details

Forgot password? Click here to reset