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 条
  • [21] The analysis of serve decisions in tennis using Bayesian hierarchical models
    Tea, Peter
    Swartz, Tim B.
    ANNALS OF OPERATIONS RESEARCH, 2023, 325 (01) : 633 - 648
  • [22] Empirical Bayesian analysis through the lens of a particular class of constrained Bayesian hierarchical models
    Bradley, Jonathan R.
    Zong, Qingying
    STAT, 2021, 10 (01):
  • [23] Hierarchical Bayesian Models of Subtask Learning
    Anglim, Jeromy
    Wynton, Sarah K. A.
    JOURNAL OF EXPERIMENTAL PSYCHOLOGY-LEARNING MEMORY AND COGNITION, 2015, 41 (04) : 957 - 974
  • [24] Aspects of Bayesian robustness in hierarchical models
    Gustafson, P
    BAYESIAN ROBUSTNESS, 1996, 29 : 63 - 80
  • [25] AUC Maximization in Bayesian Hierarchical Models
    Gonen, Mehmet
    ECAI 2016: 22ND EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2016, 285 : 21 - 27
  • [26] Bayesian hierarchical models for linear networks
    Al-kaabawi, Zainab
    Wei, Yinghui
    Moyeed, Rana
    JOURNAL OF APPLIED STATISTICS, 2022, 49 (06) : 1421 - 1448
  • [27] Criterion constrained Bayesian hierarchical models
    Qingying Zong
    Jonathan R. Bradley
    TEST, 2023, 32 : 294 - 320
  • [28] BAYESIAN DESIGNS FOR HIERARCHICAL LINEAR MODELS
    Liu, Qing
    Dean, Angela M.
    Allenby, Greg M.
    STATISTICA SINICA, 2012, 22 (01) : 393 - 417
  • [29] Learning overhypotheses with hierarchical Bayesian models
    Kemp, Charles
    Perfors, Amy
    Tenenbaum, Joshua B.
    DEVELOPMENTAL SCIENCE, 2007, 10 (03) : 307 - 321
  • [30] Nonparametric Bayesian methods in hierarchical models
    Escobar, M. D.
    Parfumerie und Kosmetik, 7646