powered by
Lee and Liu's criterion function for determining the trial decision cutoffs based on the predictive probability.
predprob(y, n, nmax, alpha_e, beta_e, p_s, theta_t)
the number of responses among \(n\) patients treated by the experimental drug at a certain stage of the trial.
the number of patients treated by the experimental drug at a certain stage of the trial.
the maximum number of patients treated by the experimental drug.
the hyperparameter (shape1) of the Beta prior for the experimental drug.
the hyperparameter (shape2) of the Beta prior for the experimental drug.
the the response rate for the standard drug.
the prespecified target probability; tipically, \(\theta_T = [0.85, 0.95]\).
the predictive probability: \(PP = \sum_{x=0}^{n_{max}-n} P(x | y) I(\Pr(p_E > p_S | y, x) \geq \theta_T) \)
Lee, J. J., Liu, D. D. (2008). A predictive probability design for phase II cancer clinical trials. Clinical Trials 5: 93-106.
Yin, G. (2012). Clinical Trial Design: Bayesian and Frequentist Adaptive Methods. New York: Wiley.
# NOT RUN { # p. 97, PP = 0.5656 predprob(16, 23, 40, 0.6, 0.4, 0.6, 0.9) # }
Run the code above in your browser using DataLab