arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.06206stat.CO
收藏

Nimble R软件包中的序贯蒙特卡罗方法

Sequential Monte Carlo Methods in the nimble R Package

Nicholas Michaud, Perry de Valpine, Daniel Turek, Christopher J. Paciorek, Dao Nguyen

摘要:

nimble是一个R软件包,用于构建算法并对分层模型进行推理。敏捷包提供了灵活的模型规范和编程模型通用算法的能力的独特组合。具体来说,该包允许用户使用BUGS语言编写模型,并允许用户编写可应用于任何适当模型的算法。在本文中,我们介绍了灵活的能力,状态空间模型分析使用序贯蒙特卡罗(SMC)技术。我们首先提供了一个概述的状态空间模型和常用的SMC算法。然后,我们描述了如何建立一个状态空间模型,并进行推理,使用现有的SMC算法在敏捷。目前,Nimble中的SMC算法包括自举滤波器、辅助粒子滤波器、集合卡尔曼滤波器、迭代滤波的IF2方法和粒子MCMC采样器。这些算法可以在R中运行,也可以编译成C++以提高执行效率。应用SMC算法的线性自回归模型和随机波动率模型的例子。最后,我们通过提供一个简单的SMC算法的代码,概述了如何在Nimble中对模型通用算法进行编码。这说明了用户如何在高级代码中轻松扩展nimble的SMC方法。

英文摘要:

nimble is an R package for constructing algorithms and conducting inference on hierarchical models. The nimble package provides a unique combination of flexible model specification and the ability to program model-generic algorithms. Specifically, the package allows users to code models in the BUGS language, and it allows users to write algorithms that can be applied to any appropriate model. In this paper, we introduce nimble's capabilities for state-space model analysis using sequential Monte Carlo (SMC) techniques. We first provide an overview of state-space models and commonly-used SMC algorithms. We then describe how to build a state-space model and conduct inference using existing SMC algorithms within nimble. SMC algorithms within nimble currently include the bootstrap filter, auxiliary particle filter, ensemble Kalman filter, IF2 method of iterated filtering, and a particle MCMC sampler. These algorithms can be run in R or compiled into C++ for more efficient execution. Examples of applying SMC algorithms to linear autoregressive models and a stochastic volatility model are provided. Finally, we give an overview of how model-generic algorithms are coded within nimble by providing code for a simple SMC algorithm. This illustrates how users can easily extend nimble's SMC methods in high-level code.

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

↑