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

12/29/2021
by   Yueqi Shen, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/12/2022

Normalized Power Prior Bayesian Analysis

The elicitation of power priors, based on the availability of historical...
research
03/29/2022

bayesassurance: An R package for calculating sample size and Bayesian assurance

We present a bayesassurance R package that computes the Bayesian assuran...
research
03/27/2023

Prior Elicitation for Generalised Linear Models and Extensions

A statistical method for the elicitation of priors in Bayesian generalis...
research
11/20/2019

Additive Bayesian Network Modelling with the R Package abn

The R package abn is designed to fit additive Bayesian models to observa...
research
02/28/2023

Optimal Priors for the Discounting Parameter of the Normalized Power Prior

The power prior is a popular class of informative priors for incorporati...
research
09/07/2022

The R package predint: Prediction intervals for overdispersed binomial and Poisson data or based on linear random effects models in R

A prediction interval is a statistical interval that should encompass on...
research
04/30/2020

On the normalized power prior

The power prior is a popular tool for constructing informative prior dis...

Please sign up or login with your details

Forgot password? Click here to reset