目录

CRAN_Status_Badge Workflow Licence monthly downloads total downloads

MCMCprecision: Precision for discrete parameters in transdimensional MCMC

The R package `MCMCprecision` estimates the precision of the posterior model probabilities in transdimensional Markov chain Monte Carlo methods (e.g., reversible jump MCMC or product-space MCMC). This is useful for applications of transdimensional MCMC, such as model selection, mixtures with varying numbers of components, change-point detection, capture-recapture models, phylogenetic trees, variable selection, and for discrete parameters in MCMC output in general.

To install MCMCprecision from GitHub, paste the following code into R (dependencies need to be installed manually):

### Dependencies:
# install.packages(c("combinat", "devtools", "RcppProgress", "RcppArmadillo", "RcppEigen"))

library(devtools)
install_github("danheck/MCMCprecision")

To compile C++ code, Windows requires Rtools and Mac Xcode Command Line Tools, respectively. Moreover, on Mac, it might be necessary to install the library gfortran manually, as required to compile the package RcppArmadillo.

Reference

  • Heck, D. W., Overstall, A. M., Gronau, Q. F., & Wagenmakers, E.-J. (2019). Quantifying uncertainty in transdimensional Markov chain Monte Carlo using discrete Markov models. Statistics & Computing, 29, 631–643. doi:10.1007/s11222-018-9828-0 arxiv:1703.10364
关于

评估 transdimensional MCMC 输出精度的不确定性和有效样本量,适用于模型选择等贝叶斯分析场景。

616.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号