arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.14616stat.AP
收藏

BayesPPD:一个利用广义线性模型的功效和归一化功效先验确定贝叶斯样本量的R包

BayesPPD: An R Package for Bayesian Sample Size Determination Using the Power and Normalized Power Prior for Generalized Linear Models

Yueqi Shen, Matthew A. Psioda, Joseph G. Ibrahim

摘要:

R软件包BayesPPD(Bayesian Power Prior Design)支持将历史数据与广义线性模型(GLM)的功效先验和归一化功效先验合并后的贝叶斯功效和第一类错误计算以及模型拟合。该包可容纳汇总水平数据或具有协变量信息的受试者水平数据。它支持使用多个历史数据集以及没有历史数据的设计。响应的支持分布包括正态分布、二进制分布(Bernoulli/binomial)、泊松分布和指数分布。功效参数$a_0$可以是固定的,或者使用这些分布中的每一个的归一化功效先验来随机建模。此外,该软件包支持使用任意采样先验来计算贝叶斯功效和第一类错误率,并具有GLM的特定功能,可以从历史数据半自动生成采样先验。由于GLM的样本量确定(SSD)是计算密集型的,已经实现了基于渐近理论的近似方法,以支持使用功率先验的应用。除了描述统计方法学和功能包中实现的SSD,我们还展示了使用贝叶斯PPD在两个全面的案例研究。

英文摘要:

The R package BayesPPD (Bayesian Power Prior Design) supports Bayesian power and type I error calculation and model fitting after incorporating historical data with the power prior and the normalized power prior for generalized linear models (GLM). The package accommodates summary level data or subject level data with covariate information. It supports use of multiple historical datasets as well as design without historical data. Supported distributions for responses include normal, binary (Bernoulli/binomial), Poisson and exponential. The power parameter $a_0$ can be fixed or modeled as random using a normalized power prior for each of these distributions. In addition, the package supports the use of arbitrary sampling priors for computing Bayesian power and type I error rates, and has specific features for GLMs that semi-automatically generate sampling priors from historical data. Since sample size determination (SSD) for GLMs is computationally intensive, an approximation method based on asymptotic theory has been implemented to support applications using the power prior. In addition to describing the statistical methodology and functions implemented in the package to enable SSD, we also demonstrate the use of BayesPPD in two comprehensive case studies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑