First, I summarize the manuscript Thall, Peter F., and Richard Simon. “Practical Bayesian guidelines for phase IIB clinical trials.” Biometrics (1994): 337-349. Second, I sought to replicate the results in the manuscript.
The paper proposed a design for a Bayesian single arm, phase II study with sequential stopping boundaries for a promising treatment and for futility.
Prior Distributions Parameters
Other Design Parameters
Other Notation
Throughout, I will use these values in examples: \(\mu_S = 0.20\), \(W_{90} = 0.2\) \(\delta_0 = 0.15\), \(c_E = 2\), \(n_{min} = 10\), and \(n_{max} = 65\)
I was able to derive and code the prior distribution for \(\Theta_S\) using \(\mu_S\) and \(W_\alpha\). Rather than solving for an analytic solution to solve for \(a_S\) and \(b_S\), I used a the golden-section search algorithm.
I was also able to derive and code the prior distribution for \(\Theta_E\) using the \(c_E\) and \(\delta_0\) as outlined in the paper.
| treatment | Beta Distribution Parameters | Prior Distribution Mean/Variance | ||
|---|---|---|---|---|
| a | b | mean | variance | |
| Standard | 8.37 | 33.5 | 0.200 | 0.004 |
| Experimental | 0.550 | 1.45 | 0.275 | 0.066 |
I coded the posterior distribution \(\lambda(.) = Pr(\Theta_S + \delta_0 < \Theta_E | X_n)\).
The figure below shows all the combinations of \(n\), \(X_n\), and the probability \(\lambda(.)\) for success and futility. The true effect of the experimental treatment here is \(p_E = \mu_S + \delta_0 = 0.35\). We see that around an an event rate of \(35\%\), the \(\lambda(.)\) probability is approximately \(50\%\) for stopping early for futility which makes sense.
I’ve written a function to perform the simulations and added to a package for easier use. The documentation of the package is here http://www.danieldsjoberg.com/sjofun/reference/ph2_single_bayes_seq_sim.html, and the code is here https://github.com/ddsjoberg/sjofun/blob/master/R/ph2_single_bayes_seq_sim.R .
I have replicated the figure in the top left corner.
The figure matches the published results well.