Why Examine Prior Sensitivity?
An interim stopping rule can be mathematically precise and still depend on an uncertain modeling choice: the prior distribution for the response probability. If two clinically defensible priors produce different predictive probabilities, the same interim data may lead to different recommendations. Prior sensitivity analysis makes that dependence visible. It asks whether plausible alternatives change the probability enough to cross a prespecified efficacy or futility boundary.
The comparison is conditional on the same interim dataset, terminal success definition, remaining sample size, and decision rule. Changing any of those along with the prior would make it difficult to identify what caused an action to change. The aim is not to choose whichever prior gives the preferred result. It is to assess whether a decision is robust to reasonable prior uncertainty and to report any instability clearly.
Model and Decision Rule
Consider a hypothetical single-arm trial with a binary response endpoint. Let \(p\) be the response probability, \(n\) the number of patients with observed outcomes at an interim look, and \(x\) the number of responses among them. Suppose \(m\) additional patients remain, and let \(Y\) be their eventual number of responses. The terminal trial is successful if at least \(K\) responses are observed among all \(n+m\) patients. Thus, success requires \(Y\geq K-x\).
Assume outcomes are independent Bernoulli observations conditional on a common response probability \(p\), and place a beta prior on \(p\). This model assumes the response definition is consistent, outcomes are observed as specified, and the response probability does not change systematically across patients or time. If these assumptions are not credible, changing the prior alone will not repair the model.
A beta prior has mean \(a/(a+b)\); \(a+b\) is often described as its prior effective sample size, although the prior is a distribution rather than literal observed data. Alternatives can reflect reasonable uncertainty about the prior mean, its concentration, or both. The alternatives should be scientifically defensible and chosen or documented without selecting them to produce a desired interim action.
For clarity, use a two-boundary rule throughout the examples: declare early efficacy if the predictive probability is at least \(c_E\); declare futility if it is at most \(c_F\); otherwise continue. The cutoffs satisfy \(c_F<c_E\). The equality conventions are part of the rule and should be stated in an analysis plan. If the rule includes only a futility boundary, a probability above that boundary establishes only that futility is not triggered; it does not, by itself, establish continuation if a separate efficacy rule might apply.
Predictive Probability Under Each Prior
Write \(A=a+x\) and \(B=b+n-x\) for the interim posterior parameters. The predictive distribution of \(Y\), the response count among the \(m\) remaining patients, is beta-binomial:
where \(\mathrm{B}(u,v)=\int_0^1 p^{u-1}(1-p)^{v-1}\,dp\) is the beta function. Therefore, for \(0\leq K-x\leq m\), the predictive probability of success is
If \(K-x\leq 0\), terminal success is already assured by the observed responses and the predictive probability is 1. If \(K-x>m\), even the maximum possible future response count cannot reach the target, so the predictive probability is 0. These boundary cases should be checked before summing.
A Useful Special Case
When success requires every remaining patient to respond, \(K-x=m\), the event is \(Y=m\). Its predictive probability has a simple form:
To justify the last equality, use \(\mathrm{B}(u,v)=\Gamma(u)\Gamma(v)/\Gamma(u+v)\) and \(\Gamma(z+m)/\Gamma(z)=z(z+1)\cdots(z+m-1)\). For \(m=2\), this reduces to \(A(A+1)/[(A+B)(A+B+1)]\). It is the posterior expectation of \(p^2\), not the square of the posterior mean: future outcomes share uncertainty about \(p\), which is why integrating over the posterior matters.
Worked Example: A Prior Change Triggers Futility
Suppose a hypothetical trial has \(n=8\) observed patients, \(x=4\) responses, and \(m=2\) patients remaining. Terminal success requires at least \(K=6\) responses, so both remaining patients must respond. Use the rule \(c_E=0.80\) and \(c_F=0.20\): efficacy at or above 0.80, futility at or below 0.20, and continuation otherwise.
First consider the uniform prior \(\mathrm{Beta}(1,1)\). The posterior is \(\mathrm{Beta}(5,5)\), so \(A=5\), \(A+B=10\), and
This value is below the efficacy cutoff and above the futility cutoff, so the action is continuation.
For the alternative prior \(\mathrm{Beta}(2,2)\), the posterior is \(\mathrm{Beta}(6,6)\). Thus
This also lies between 0.20 and 0.80, so the action is continuation. For a third, more skeptical alternative \(\mathrm{Beta}(1,3)\), the posterior is \(\mathrm{Beta}(5,7)\), giving
This is at or below the futility cutoff, so the action is futility. None of the three probabilities reaches the efficacy cutoff. Under the fully specified two-boundary rule, the same interim data therefore lead to continuation under the first two priors and futility under the third. The result is prior-sensitive at this look.
When a Prior Change Triggers Efficacy
Worked Example: Crossing an Efficacy Boundary
In a second hypothetical trial, \(n=10\) patients have been observed and \(x=7\) have responded. Two patients remain, and terminal success requires at least \(K=9\) responses. Both remaining patients must respond. Set \(c_E=0.50\) and \(c_F=0.10\), using the same inclusive boundary conventions.
Under \(\mathrm{Beta}(1,1)\), the interim posterior is \(\mathrm{Beta}(8,4)\). The predictive probability is
Because \(0.10<0.4615<0.50\), this prior leads to continuation. Now consider the alternative \(\mathrm{Beta}(4,1)\), which has prior mean \(4/5=0.80\) and effective sample size 5. The posterior is \(\mathrm{Beta}(11,4)\), and
This is at least 0.50, so the action is early efficacy. Neither probability is at or below the futility cutoff. The calculation establishes a change from continuation to efficacy under these stated assumptions and cutoffs; it does not establish that the more favorable prior is appropriate. Its clinical justification must be assessed separately.
When Probabilities Differ but the Decision Does Not
Worked Example: A Robust Continuation Decision
Suppose a third hypothetical trial has \(n=10\), \(x=6\), and \(m=1\), with terminal success defined as at least \(K=7\) responses. The one remaining patient must respond. Use \(c_E=0.75\) and \(c_F=0.45\).
With prior \(\mathrm{Beta}(1,1)\), the posterior is \(\mathrm{Beta}(7,5)\). Since one patient remains, the predictive probability is the posterior mean:
With prior \(\mathrm{Beta}(2,2)\), the posterior is \(\mathrm{Beta}(8,6)\), giving \(\mathrm{PP}(2,2)=8/14=0.5714\). With prior \(\mathrm{Beta}(1,3)\), the posterior is \(\mathrm{Beta}(7,7)\), giving \(\mathrm{PP}(1,3)=7/14=0.5000\). All three values are above 0.45 and below 0.75. The predictive probabilities differ, but all three priors imply continuation under this rule. This is decision-robustness across the examined priors, not proof that the priors or model are correct.
How to Assess and Report Sensitivity
A disciplined comparison holds the data, terminal endpoint, remaining sample size, and cutoffs fixed. For each prior, calculate the posterior, the predictive probability, and the action. A compact table makes it harder to confuse a numerical change with a decision change.
Record each beta prior’s mean and concentration, and explain why it is plausible for the clinical setting. Avoid defining alternatives only after seeing which one produces a preferred action.
Use the same interim data, remaining sample size, terminal success definition, efficacy cutoff, futility cutoff, and tie conventions for every prior.
Find each posterior predictive probability and apply both boundaries. Report probabilities as well as actions, including whether a result is close to a cutoff.
State whether the examined alternatives leave the action unchanged or move it across a boundary. If the action changes, identify the priors and boundary involved and discuss the clinical relevance of that difference.
One useful summary is the range of predictive probabilities across the specified priors, alongside the action under each. A narrow range is not automatically reassuring if it straddles a cutoff; a wider range may be decision-robust if all values remain on the same side of both cutoffs. Distance from the nearest boundary is therefore informative, but it does not replace the actual action classification.
Diagnostics, Alternatives, and Limitations
Check that each prior has the intended mean and concentration, that the posterior parameters add the observed responses and nonresponses correctly, and that the predictive event corresponds exactly to terminal success. For example, if \(K-x\) responses are needed from \(m\) patients, summing from \(K-x\) through \(m\) includes every successful future count and excludes every unsuccessful one. Exact enumeration or simulation can verify a calculation, but simulation error should not be mistaken for prior sensitivity; the exact beta-binomial sum is available under this model.
A simple alternative is to report the posterior mean response probability under each prior. That can describe how beliefs about \(p\) differ, but it is not generally the predictive probability of terminal success. The latter depends on the number of future patients and the terminal response threshold, and it accounts for uncertainty in \(p\). Another alternative is to report only the action. That hides how close a probability lies to a cutoff and can conceal a fragile decision.
Prior sensitivity analysis is conditional on the likelihood and decision rule. It does not test whether a common response probability is appropriate, account for unobserved or pending outcomes, or guarantee that the chosen alternatives span all scientifically reasonable beliefs. A decision that is stable across a limited set of priors should be described as stable across that set, not as universally insensitive to prior choice.
Common mistake: “The predictive probability is above the futility cutoff, so the decision is continuation.” This conclusion is incomplete if an efficacy boundary could also apply. The correction is to evaluate every part of the prespecified rule: check efficacy first or follow the explicitly stated ordering, check futility, and assign continuation only when neither stopping condition is met. Also report the cutoffs, so a reader can verify the classification.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- With prior \(\mathrm{Beta}(2,3)\), \(n=10\), and \(x=4\), what is the posterior distribution?
- If the interim posterior is \(\mathrm{Beta}(5,5)\) and two remaining patients must both respond for terminal success, calculate the predictive probability.
- Using the probability from question 2, classify the action under \(c_E=0.80\) and \(c_F=0.20\).
- Why is a predictive probability that exceeds a futility cutoff not necessarily enough to conclude that the action is continuation?
Solutions. 1. Add the four observed responses to the first beta parameter and the six nonresponses to the second: the posterior is \(\mathrm{Beta}(2+4,3+6)=\mathrm{Beta}(6,9)\). 2. Both future patients must respond, so \(P(Y=2)=5(6)/[10(11)]=30/110=0.2727\). 3. The value is below 0.80 and above 0.20, so neither efficacy nor futility is triggered; the action is continuation. 4. An efficacy boundary may also apply. The complete decision rule must be evaluated, and continuation follows only if neither stopping condition is met.