Why Interim Timing Matters
In a single-arm phase 2 trial, an interim decision depends not only on how many responses have been observed, but also on how many patients have already been assessed. If the trial is still early, many future outcomes can change whether the planned terminal criterion is reached. At a late look, fewer outcomes remain, so the observed record may constrain the final result more strongly. Yet a late look is not automatically more favorable: observed nonresponses also provide information, and a patient who has not yet been observed is not a response.
This tutorial studies that interaction using the beta-binomial model for a binary response. The focus is the predictive probability (PP) of satisfying a prespecified terminal success rule, conditional on the interim data. It is a probability about the future terminal result under the model, not the posterior probability that the response rate exceeds a particular value.
Model and Interim Quantities
Assume that each patient has a binary response outcome, responses are independent conditional on a common response probability \(p\), and \(p\) has a beta prior, \(p\sim\mathrm{Beta}(a,b)\), with \(a,b>0\). Outcomes are treated as fully observed at the interim look. The planned sample size and the terminal rule are fixed, and there are no changes to the endpoint definition or response assessment process. These assumptions give a simple reference model; departures such as heterogeneous response probabilities or pending outcomes require different modelling.
After observing \(x\) responses among \(m\) patients, conjugacy gives \(p\mid x,m\sim\mathrm{Beta}(a+x,b+m-x)\). Conditional on \(p\), the future response count satisfies \(Y\mid p,x,m\sim\mathrm{Binomial}(r,p)\). Integrating over the posterior uncertainty in \(p\) gives the beta-binomial predictive distribution.
Here \(B(u,v)\) is the beta function. The predictive probability of terminal success is the upper tail beginning at the number of additional responses needed:
If \(d>r\), terminal success is impossible and the sum is zero. If \(d=0\), the terminal response-count criterion has already been met and the probability is one, provided the success rule depends only on reaching at least \(K\) responses. These edge cases are useful checks on an implementation.
Why the Predictive Distribution Has This Form
For any particular future count \(y\), first condition on \(p\). The probability of exactly \(y\) responses among \(r\) patients is \(\binom{r}{y}p^y(1-p)^{r-y}\). Average this probability over the posterior distribution of \(p\), whose density is proportional to \(p^{a+x-1}(1-p)^{b+m-x-1}\). The integral is a beta-function ratio:
The integration matters: treating \(p\) as known at its posterior mean would instead give a binomial predictive distribution and omit posterior uncertainty. In the beta-binomial model, future outcomes are positively associated marginally because they share the uncertain \(p\). The formula therefore combines uncertainty about the response rate with the randomness of future patient outcomes.
Worked Examples: Matched Early and Late Looks
Worked Example: Same Observed Rate, Different Timing
Suppose a hypothetical single-arm trial plans \(N=20\) patients and defines terminal success as at least \(K=10\) responses. Use a uniform prior, \(p\sim\mathrm{Beta}(1,1)\). Compare an early look after \(m=5\) patients with \(x=3\) responses to a later look after \(m=15\) patients with \(x=9\) responses. Both looks have an observed response rate of \(60\%\).
At the early look, \(r=20-5=15\) patients remain and \(d=10-3=7\) additional responses are needed. The posterior is \(\mathrm{Beta}(4,3)\), so
Summing this probability for \(y=7,\ldots,15\) gives \(\mathrm{PP}(3,5)=0.7322\). For example, the first term is \(\binom{15}{7}B(11,11)/B(4,3)\approx0.09951\); the full tail sum, not just that term, is the predictive probability.
At the later look, \(r=20-15=5\), and only \(d=10-9=1\) additional response is needed. The posterior is \(\mathrm{Beta}(10,7)\). It is simpler to subtract the probability of no future responses:
Thus, under this model and terminal rule, the later look has a higher predictive probability of success: about \(97.73\%\), compared with \(73.22\%\) early. The observed response rates match, but the later record includes more responses and requires only one more response to reach the target. The comparison does not show that later looks are always more favorable; it shows why the rate alone cannot determine PP.
Worked Example: More Observed Failures Can Lower PP
Keep \(N=20\), \(K=10\), and the \(\mathrm{Beta}(1,1)\) prior. Compare two hypothetical interim states with the same \(x=3\) responses: one after \(m=5\) patients and the other after \(m=10\). In the second state, five additional patients have been observed without a response.
The early state has PP \(0.7322\), as calculated above. At \(m=10\), there are \(r=10\) patients remaining and \(d=7\) responses are still needed. The posterior is \(\mathrm{Beta}(4,8)\), giving
For an arithmetic check, the four terms for \(y=7,8,9,10\) are approximately \(0.04083\), \(0.01684\), \(0.00499\), and \(0.00081\), respectively. Their sum is \(0.06347\). Although the same number of responses has been seen, the later state includes five additional observed nonresponses and leaves fewer opportunities to collect the seven needed responses. The posterior has also shifted toward lower values of \(p\).
Worked Example: A One-Response Change Near the Terminal Target
Again take \(N=20\), \(K=10\), and a \(\mathrm{Beta}(1,1)\) prior. At a hypothetical late look after \(m=18\) patients, compare \(x=8\) responses with \(x=9\). In either state, two patients remain.
With \(x=8\), the posterior is \(\mathrm{Beta}(9,11)\). Both remaining patients must respond. For a beta-binomial count with \(r=2\), the probability of two responses is the second rising-factorial ratio:
With \(x=9\), the posterior is \(\mathrm{Beta}(10,10)\), and at least one of the two remaining patients must respond. Therefore,
One additional observed response changes both the posterior and the number still needed, from two responses to one. The resulting PP change is therefore not just a small adjustment to the observed response rate. Near a discrete terminal threshold, a one-response difference can have a substantial effect.
Reading Timing Effects Correctly
The interim state affects PP through several connected quantities: the posterior distribution of \(p\), the number of patients remaining \(r\), and the gap \(d\) between the current response count and the terminal target. These do not act in isolation. More remaining patients create more opportunities to reach \(K\), but they also mean that more outcomes are uncertain. More observed patients sharpen the posterior in light of both responses and nonresponses. And the required future count changes whenever \(x\) changes.
Consequently, there is no general rule that PP must rise or fall as an interim look moves later. For instance, if the response count stays fixed while additional nonresponses accrue, PP can fall sharply, as in the second example. If responses accrue and the remaining required count falls, PP may rise, as in the first and third examples. A comparison should state the complete interim state—at least \(x\), \(m\), \(r\), and \(K\)—rather than reporting an observed response rate alone.
A useful distinction is between predictive probability and two related quantities. The posterior probability \(P(p>p_0\mid x,m)\) concerns whether the unknown response rate exceeds a specified benchmark \(p_0\). Predictive probability concerns whether future outcomes lead to a specified terminal result. Fixed-parameter conditional power instead calculates future success probability at a chosen value of \(p\), rather than averaging over its posterior. Each answers a different question; they should not be substituted for one another without an explicit design rationale.
Diagnostics, Limitations, and a Common Pitfall
Before interpreting an interim PP, verify the arithmetic and the assumptions. The remaining sample size must equal \(N-m\), the needed count must equal \(\max(0,K-x)\), and the predictive probabilities over \(y=0,\ldots,r\) must sum to one. The PP must lie between zero and one; it is zero if the target is unreachable and one if the response-count target has already been reached. When feasible, calculate the same tail by summing its terms and by subtracting the lower tail; agreement is a useful computational check.
A model-based PP can be poorly calibrated if response outcomes are not adequately represented by a common-probability model—for example, if patient subgroups have materially different response rates, eligibility or assessment changes over time, or the prior is not appropriate for the clinical context. It also depends on the endpoint and terminal threshold being specified correctly. PP describes the probability of the defined terminal rule under the assumed model; it is not by itself a clinical benefit assessment or a guarantee about the realized outcome. A stopping boundary for acting on PP is a separate design choice.
- Mistake: comparing observed response rates alone. Two looks with the same rate can have different \(x\), \(m\), \(r\), and \(d\), and therefore different predictive tails. Correction: report the response count, assessed sample size, remaining sample size, terminal target, and PP together.
- Mistake: treating the posterior mean as a known response probability. Plugging that mean into a binomial tail omits uncertainty in \(p\). Correction: integrate over the posterior, using the beta-binomial distribution under the stated model.
- Mistake: interpreting PP as the probability that the treatment works. PP is conditional on the observed data, model, prior, planned sample size, and terminal rule. Correction: describe it as the model-based probability of meeting the specified terminal criterion.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- A trial plans \(N=24\) patients and requires \(K=12\) responses. At an interim look, \(m=8\) patients have been assessed, including \(x=5\) responses. Find \(r\) and \(d\).
- Under a \(\mathrm{Beta}(1,1)\) prior, what is the posterior distribution after \(x=4\) responses among \(m=9\) patients?
- For fixed \(N\) and \(K\), explain why the same observed response rate at two different looks need not produce the same PP.
- In one sentence, distinguish PP of terminal success from the posterior probability that \(p\) exceeds a benchmark \(p_0\).
Solutions. (1) \(r=N-m=24-8=16\) patients remain, and \(d=K-x=12-5=7\) additional responses are needed. (2) The posterior is \(\mathrm{Beta}(1+4,1+9-4)=\mathrm{Beta}(5,6)\). (3) The looks can differ in the response count, the number remaining, the number of additional responses required, and posterior uncertainty, all of which affect the predictive tail. (4) PP is the posterior predictive probability that future outcomes bring the trial to terminal success, whereas \(P(p>p_0\mid x,m)\) is the posterior probability that the unknown response rate exceeds \(p_0\).