BinSing_PPoS: Interim analaysis predictive probability of success

Description Usage Arguments Value

View source: R/BinSing_PPoS.R

Description

Interim analaysis predictive probability of success

Usage

1
BinSing_PPoS(alpha, beta, Nmax, x, Rx, n)

Arguments

alpha

prior alpha

beta

prior beta

Nmax

Final sample size

x

Number of successes at iterim

Rx

Final required number of successes

n

sample size at interim

Value

the probability of observing Rx or more successes at Nmax if x successes are observed in the first n samples. This is a helper function which translates pbetabinom into more meaningful paramiters for this application.


lylyf1987/GNGpkg documentation built on May 19, 2020, 12:07 a.m.