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 条
  • [1] Bayesian Subgroup Analysis with Hierarchical Models
    Pennello, Gene
    Rothmann, Mark
    BIOPHARMACEUTICAL APPLIED STATISTICS SYMPOSIUM: BIOSTATISTICAL ANALYSIS OF CLINICAL TRIALS, VOL 2, 2018, : 175 - 192
  • [2] Bayesian Hierarchical Models for Subgroup Analysis
    Wang, Yun
    Tu, Wenda
    Koh, William
    Travis, James
    Abugov, Robert
    Hamilton, Kiya
    Zheng, Mengjie
    Crackel, Roberto
    Bonangelino, Pablo
    Rothmann, Mark
    PHARMACEUTICAL STATISTICS, 2024,
  • [3] Sensitivity Analysis for Bayesian Hierarchical Models
    Roos, Malgorzata
    Martins, Thiago G.
    Held, Leonhard
    Rue, Havard
    BAYESIAN ANALYSIS, 2015, 10 (02): : 321 - 349
  • [4] Bayesian Hierarchical Models
    McGlothlin, Anna E.
    Viele, Kert
    JAMA-JOURNAL OF THE AMERICAN MEDICAL ASSOCIATION, 2018, 320 (22): : 2365 - 2366
  • [5] Bayesian hierarchical models
    Schmid, CH
    Brown, EN
    NUMERICAL COMPUTER METHODS, PART C, 2000, 321 : 305 - 330
  • [6] Bayesian multivariate hierarchical transformation models for ROC analysis
    O'Malley, AJ
    Zou, KH
    STATISTICS IN MEDICINE, 2006, 25 (03) : 459 - 479
  • [7] Bayesian analysis of hierarchical Poisson models with latent variables
    Dagne, GA
    COMMUNICATIONS IN STATISTICS-THEORY AND METHODS, 1999, 28 (01) : 119 - 136
  • [8] An MCMC algorithm for bayesian analysis of Hierarchical Partition Models
    Stefano Sampietro
    Piero Veronese
    Journal of the Italian Statistical Society, 1998, 7 (2) : 209 - 220
  • [9] Semiparametric hierarchical selection models for Bayesian meta analysis
    Chung, YS
    Dey, DK
    Jang, JH
    JOURNAL OF STATISTICAL COMPUTATION AND SIMULATION, 2002, 72 (10) : 825 - 839
  • [10] Bayesian hierarchical models for serial analysis of gene expression
    Nam, Seungyoon
    Lee, Seungmook
    Lee, Sanghyuk
    Shin, Seokmin
    Park, Taesung
    DATA MINING AND BIOINFORMATICS, 2006, 4316 : 29 - +