hdtg: An R package for high-dimensional truncated normal simulation

09/23/2022
by   Zhenyu Zhang, et al.
0

Simulating from the multivariate truncated normal distribution (MTN) is required in various statistical applications yet remains challenging in high dimensions. Currently available algorithms and their implementations often fail when the number of parameters exceeds a few hundred. To provide a general computational tool to efficiently sample from high-dimensional MTNs, we introduce the hdtg package that implements two state-of-the-art simulation algorithms: harmonic Hamiltonian Monte Carlo (harmonic-HMC) and zigzag Hamiltonian Monte Carlo (Zigzag-HMC). Both algorithms exploit analytical solutions of the Hamiltonian dynamics under a quadratic potential energy with hard boundary constraints, leading to rejection-free methods. We compare their efficiencies against another state-of-the-art algorithm for MTN simulation, the minimax tilting accept-reject sampler (MET). The run-time of these three approaches heavily depends on the underlying multivariate normal correlation structure. Zigzag-HMC and harmonic-HMC both achieve 100 effective samples within 3,600 seconds across all tests with dimension ranging from 100 to 1,600, while MET has difficulty in several high-dimensional examples. We provide guidance on how to choose an appropriate method for a given situation and illustrate the usage of hdtg.

READ FULL TEXT
research
12/23/2022

Design of Hamiltonian Monte Carlo for perfect simulation of general continuous distributions

Hamiltonian Monte Carlo (HMC) is an efficient method of simulating smoot...
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
11/11/2021

Simulating High-Dimensional Multivariate Data using the bigsimr R Package

It is critical to accurately simulate data when employing Monte Carlo te...
research
01/18/2022

Hamiltonian zigzag accelerates large-scale inference for conditional dependencies between complex biological traits

Inferring dependencies between complex biological traits while accountin...
research
06/14/2022

Conservative Hamiltonian Monte Carlo

We introduce a new class of Hamiltonian Monte Carlo (HMC) algorithm call...
research
11/02/2019

Implicit Hamiltonian Monte Carlo for Sampling Multiscale Distributions

Hamiltonian Monte Carlo (HMC) has been widely adopted in the statistics ...

Please sign up or login with your details

Forgot password? Click here to reset