R: Bayesian Bayes Factor Design for Two-Arm Binomial Trials

# Bayesian Bayes Factor Design for Two-Arm Binomial Trials

## Documentation for package ‘bfbin2arm’ version 0.1.0

- DESCRIPTION file
- User guides, package vignettes and other documentation

## Help Pages

BFminus0 | Bayes factor BF-0: H- vs H0
BFminus1 | Bayes factor BF-1: H- vs H1
BFplus0 | Bayes factor BF+0: H+ vs H0
BFplus1 | Bayes factor BF+1: H+ vs H1
BFplusMinus | Bayes factor BF+-: H+ vs H-
ntwoarmbinbf01 | Sample size calibration for two-arm binomial Bayes factor designs
postProbHminus | Posterior probability P(p2 <= p1 | data)
postProbHplus | Posterior probability P(p2 > p1 | data) under independent Beta priors
powertwoarmbinbf01 | Bayesian power, type-I error, and PCE(H0) for two-arm binomial Bayes factors
predictiveDensityH0 | Predictive density under H0: p1 = p2 = p
predictiveDensityH1 | Predictive density under H1: p1 != p2
predictiveDensityHminus_trunc | Predictive density under H-: p2 <= p1 (truncated prior)
predictiveDensityHplus_trunc | Predictive density under H+: p2 > p1 (truncated prior)
priorProbHminus | Prior probability P(p2 <= p1) under independent Beta priors
priorProbHplus | Prior probability P(p2 > p1) under independent Beta priors
twoarmbinbf01 | Two-arm binomial Bayes factor BF01