SampleSizeProportions-package: Bayesian Sample Size Determination for the Difference between...

SampleSizeProportions-packageR Documentation

Bayesian Sample Size Determination for the Difference between Two Binomial Proportions

Description

Calculate sample sizes based on highest posterior density intervals when comparing two binomial proportions using three different Bayesian approaches.

Details

Package: SampleSizeProportions
Type: Package
Version: 1.1.3
Date: 2023-08-22
License: GLP (version 2 or later)
URL: http://www.medicine.mcgill.ca/epidemiology/Joseph/Methodological-Publications-Bayesian-Sample-Size.html

A set of R functions for calculating sample size requirements using three different Bayesian criteria in the context of designing an experiment to estimate the difference between two binomial proportions. Functions for calculation of required sample sizes for the Average Length Criterion, the Average Coverage Criterion and the Worst Outcome Criterion in the context of binomial observations are provided. In all cases, estimation of the difference between two binomial proportions is considered. Functions for both the fully Bayesian and the mixed Bayesian/likelihood approaches are provided.

See the related package SampleSizeMeans for Bayesian sample sizes calculations based on highest posterior density intervals for normal means
https://CRAN.R-project.org/package=SampleSizeMeans

Author(s)

Lawrence Joseph, Roxane du Berger and Patrick Bélisle
Maintainer: Patrick Bélisle patrickb.stat@gmail.com

References

Joseph L, du Berger R, and Bélisle P.
Bayesian and mixed Bayesian/likelihood criteria for sample size determination
Statistics in Medicine 1997;16(7):769-781.

See Also

propdiff.acc, propdiff.alc, propdiff.modwoc, propdiff.woc, propdiff.mblacc, propdiff.mblalc, propdiff.mblmodwoc, propdiff.mblwoc


SampleSizeProportions documentation built on Aug. 23, 2023, 1:09 a.m.