Crandore Hub

nimbleHMC

Hamiltonian Monte Carlo and Other Gradient-Based MCMC Sampling Algorithms for 'nimble'

Provides gradient-based MCMC sampling algorithms for use with the MCMC engine provided by the 'nimble' package. This includes two versions of Hamiltonian Monte Carlo (HMC) No-U-Turn (NUTS) sampling, and (under development) Langevin samplers. The `NUTS_classic` sampler implements the original HMC-NUTS algorithm as described in Hoffman and Gelman (2014) <doi:10.48550/arXiv.1111.4246>. The `NUTS` sampler is a modern version of HMC-NUTS sampling matching the HMC sampler available in version 2.32.2 of Stan (Stan Development Team, 2023). In addition, convenience functions are provided for generating and modifying MCMC configuration objects which employ HMC sampling. Functionality of the 'nimbleHMC' package is described further in Turek, et al (2024) <doi: 10.21105/joss.06745>.

Versions across snapshots

VersionRepositoryFileSize
0.2.4 rolling linux/jammy R-4.5 nimbleHMC_0.2.4.tar.gz 680.1 KiB
0.2.4 rolling linux/noble R-4.5 nimbleHMC_0.2.4.tar.gz 677.0 KiB
0.2.4 rolling source/ R- nimbleHMC_0.2.4.tar.gz 40.5 KiB
0.2.4 latest linux/jammy R-4.5 nimbleHMC_0.2.4.tar.gz 680.1 KiB
0.2.4 latest linux/noble R-4.5 nimbleHMC_0.2.4.tar.gz 677.0 KiB
0.2.4 latest source/ R- nimbleHMC_0.2.4.tar.gz 40.5 KiB
0.2.4 2026-04-26 source/ R- nimbleHMC_0.2.4.tar.gz 40.5 KiB
0.2.4 2026-04-23 source/ R- nimbleHMC_0.2.4.tar.gz 40.5 KiB
0.2.4 2026-04-09 windows/windows R-4.5 nimbleHMC_0.2.4.zip 675.4 KiB
0.2.3 2025-04-20 source/ R- nimbleHMC_0.2.3.tar.gz 40.0 KiB

Dependencies (latest)

Depends

Imports

Suggests