PostP: The posterior probability criterion function for Phase II...

Description Usage Arguments Value References Examples

Description

Thall and Simon's criterion function for determining the trial decision boundaries based on the posterior probability.

Usage

1
PostP(x, n, a, b, p0)

Arguments

x

the number of responses among n patients treated by the experimental drug.

n

the number of patients treated by the experimental drug.

a

the hyperparameter (shape1) of the Beta prior for the experimental drug.

b

the hyperparameter (shape2) of the Beta prior for the experimental drug.

p0

the prespecified reseponse rate.

Value

prob

the posterior probability: Pr(p > p_0 | X=x)

References

Berry, S. M., Carlin, B. P., Lee, J. J., & Muller, P. (2010). Bayesian adaptive methods for clinical trials. CRC press.

Thall, P. F., Simon, R. (1994). Practical Bayesian guidelines for phase IIB clinical trials. Biometrics 50: 337-349.

Yin, G. (2013). Clinical Trial Design: Bayesian and Frequentist Adaptive Methods. New York: Wiley.

Examples

1
PostP(8,15,1,1,0.8)

Example output

Loading required package: animation
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
Loading required package: nleqslv
[1] 0.007003561

ph2bye documentation built on May 1, 2019, 6:33 p.m.

Related to PostP in ph2bye...