arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.01097stat.COstat.AP
收藏

hdtg:一个用于高维截断法向模拟的R包

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

Zhenyu Zhang, Andrew Chin, Akihiko Nishimura, Marc A. Suchard

摘要:

从多元截断正态分布(MTN)进行模拟在各种统计应用中是必需的,但在高维中仍然具有挑战性。目前可用的算法和它们的实现往往失败时,参数的数量超过几百个。为了提供一个通用的计算工具,有效地从高维MTN采样,我们介绍了hdtg包,实现了两个国家的最先进的模拟算法:谐波哈密顿蒙特卡罗(谐波HMC)和锯齿形哈密顿蒙特卡罗(Zigzag-HMC)。这两种算法都利用解析解的哈密顿动力学下的二次势能与硬边界约束,导致拒绝自由的方法。我们比较他们的效率对另一个国家的最先进的算法MTN模拟,最小最大倾斜接受拒绝采样器(MET)。这三种方法的运行时间在很大程度上取决于底层的多元正态相关结构。Zigzag-HMC和harmonic-HMC都在3,600秒内实现了100个有效样本,所有测试的维度范围从100到1,600,而MET在几个高维示例中有困难。我们提供了如何选择一个适当的方法为特定情况下的指导,并说明了hdtg的用法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑