postprob: The posterior probability criterion function

Description Usage Arguments Value References

View source: R/stats-postprob.r

Description

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

Usage

1
postprob(y, n, alpha_e, beta_e, alpha_s, beta_s, delta)

Arguments

y

the number of responses among n patients treated by the experimental drug at a certain stage of the trial.

n

the number of patients treated by the experimental drug at a certain stage of the trial.

alpha_e

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

beta_e

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

alpha_s

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

beta_s

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

delta

the minimally acceptable increment of the response rate for the experimental drug compared with the standard drug.

Value

prob

the posterior probability: \Pr(p_E > p_S + δ | y)

References

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

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



ph2bayes documentation built on May 20, 2017, 12:27 a.m.
Search within the ph2bayes package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.