perms:在 Python 和 R 中对二元响应数据进行边际似然的无似然估计
perms: Likelihood-free estimation of marginal likelihoods for binary response data in Python and R
AI总结:
本文介绍 Python/R 软件包 perms,用无似然的排列计数方法估计可交换二元响应模型的边际似然,支持非参数模型与大数据,并通过示例和模拟验证其效率。
摘要:
在贝叶斯统计学中,边际似然(ML)是模型比较和模型平均所需的关键要素。遗憾的是,准确估计 ML 历来十分困难,尤其是在无法进行后验模拟的模型中。最近,Christensen(2023)提出了排列计数的概念,它能够准确估计可交换二元响应模型的 ML。这类数据出现在大量统计问题中,包括二元分类、生物测定和敏感性测试。排列计数完全是无似然的,并且适用于任何能够生成随机样本的模型,包括非参数模型。在这里,我们介绍 perms,这是一个实现排列计数的软件包。由于进行了大量优化工作,perms 在计算上高效,并能够处理大数据问题。它同时提供 R 包和 Python 库。文中提供了展示其用法的丰富示例集,既包括标准的参数化二元分类,也包括非参数模型的新颖应用,例如变点分析。我们还介绍了 perms 的实现细节,并通过一项简单的模拟研究说明其计算速度。
英文摘要:
In Bayesian statistics, the marginal likelihood (ML) is the key ingredient needed for model comparison and model averaging. Unfortunately, estimating MLs accurately is notoriously difficult, especially for models where posterior simulation is not possible. Recently, Christensen (2023) introduced the concept of permutation counting, which can accurately estimate MLs of models for exchangeable binary responses. Such data arise in a multitude of statistical problems, including binary classification, bioassay and sensitivity testing. Permutation counting is entirely likelihood-free and works for any model from which a random sample can be generated, including nonparametric models. Here we present perms, a package implementing permutation counting. As a result of extensive optimisation efforts, perms is computationally efficient and able to handle large data problems. It is available as both an R package and a Python library. A broad gallery of examples illustrating its usage is provided, which includes both standard parametric binary classification and novel applications of nonparametric models, such as changepoint analysis. We also cover the details of the implementation of perms and illustrate its computational speed via a simple simulation study.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。