Cobaya: code for Bayesian analysis of hierarchical physical models

被引:222
|
作者
Torrado, Jesus [1 ,2 ]
Lewis, Antony [1 ]
机构
[1] Univ Sussex, Dept Phys & Astron, Pevensey 2, Brighton BN1 9QH, E Sussex, England
[2] Rhein Westfal TH Aachen, Inst Theoret Particle Phys & Cosmol TTK, Sommerfeldstr 16, D-52056 Aachen, Germany
关键词
cosmological parameters from CMBR; cosmological parameters from LSS; HALO MODEL;
D O I
10.1088/1475-7516/2021/05/057
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
We present Cobaya, a general-purpose Bayesian analysis code aimed at models with complex internal interdependencies. Without the need for specific code by the user, interdependencies between different stages of a model pipeline are exploited for sampling efficiency: intermediate results are automatically cached, and parameters are grouped in blocks according to their dependencies and optimally sorted, taking into account their individual computational costs, so as to minimize the cost of their variation during sampling, thanks to a novel algorithm. Cobaya allows exploration of posteriors using a range of Monte Carlo samplers, and also has functions for maximization and importance-reweighting of Monte Carlo samples with new priors and likelihoods. Cobaya is written in Python in a modular way that allows for extendability, use of calculations provided by external packages, and dynamical reparameterization without modifying its source. It can exploit hybrid OpenMP/MPI parallelization, and has sub-millisecond overhead per posterior evaluation. Though Cobaya is a general purpose statistical framework, it includes interfaces to a set of cosmological Boltzmann codes and likelihoods (the latter being agnostic with respect to the choice of the former), and automatic installers for external dependencies.
引用
收藏
页数:29
相关论文
共 50 条
  • [31] Bayesian hierarchical statistical SIRS models
    Lili Zhuang
    Noel Cressie
    Statistical Methods & Applications, 2014, 23 : 601 - 646
  • [32] Hierarchical Bayesian models of cognitive development
    Thomas Glassen
    Verena Nitsch
    Biological Cybernetics, 2016, 110 : 217 - 227
  • [33] Hierarchical Bayesian models of cognitive development
    Glassen, Thomas
    Nitsch, Verena
    BIOLOGICAL CYBERNETICS, 2016, 110 (2-3) : 217 - 227
  • [34] Hierarchical Bayesian time series models
    Berliner, LM
    MAXIMUM ENTROPY AND BAYESIAN METHODS, 1996, 79 : 15 - 22
  • [35] Criterion constrained Bayesian hierarchical models
    Zong, Qingying
    Bradley, Jonathan R.
    TEST, 2023, 32 (01) : 294 - 320
  • [36] Bayesian hierarchical statistical SIRS models
    Zhuang, Lili
    Cressie, Noel
    STATISTICAL METHODS AND APPLICATIONS, 2014, 23 (04): : 601 - 646
  • [37] Nonparametric Bayesian methods in hierarchical models
    Escobar, M. D.
    Journal of Statistical Planning and Inference, 43 (1-2):
  • [38] Generalized moment theory and Bayesian robustness analysis for hierarchical mixture models
    Betro, Bruno
    Bodini, Antonella
    Guglielmi, Alessandra
    ANNALS OF THE INSTITUTE OF STATISTICAL MATHEMATICS, 2006, 58 (04) : 721 - 738
  • [39] Analysis of tornado counts with hierarchical Bayesian spatio-temporal models
    Anderson, CJ
    Wikle, CK
    21ST CONFERENCE ON SEVERE LOCAL STORMS, 2002, : 459 - 460
  • [40] Comparative Analysis of Empirical Bayes and Bayesian Hierarchical Models in Hotspot Identification
    Guo, Xiaoyu
    Wu, Lingtao
    Zou, Yajie
    Fawcett, Lee
    TRANSPORTATION RESEARCH RECORD, 2019, 2673 (07) : 111 - 121