Why Pending Responses Matter
In a trial with a binary endpoint, an enrolled participant may not yet have completed the fixed follow-up period at the time the next allocation decision is made. The participant has been assigned to treatment, but the outcome is not yet known. If the randomization rule uses only outcomes currently observed, the allocation probabilities depend on a mixture of resolved and pending records. Keeping those records distinct is essential: a response that is not yet observed is neither a success nor a failure.
This tutorial works through one explicit allocation rule. The purpose is to calculate its successive probabilities correctly, not to claim that this rule is optimal for every trial objective. The earlier material on delayed binary endpoints and calculating allocation probabilities with delayed data provides the setting; here the emphasis is on a concrete sequence of decisions.
Model and Allocation Rule
Assume outcomes are Bernoulli within each arm, with a constant response probability over the period considered. Use independent uniform priors, \(p_A\sim\mathrm{Beta}(1,1)\) and \(p_B\sim\mathrm{Beta}(1,1)\). Conditional on the resolved data, the posterior distribution for arm \(j\) is \(\mathrm{Beta}(1+s_j,1+n_j-s_j)\). Its posterior mean, also the posterior predictive probability of success for the next participant assigned to that arm, is
For this worked example, set the target probability of assigning the next participant to A proportional to the two posterior mean response probabilities, with a lower and upper bound. Specifically, let \(\ell=0.20\) and \(u=0.80\), and define
Here \(\pi_A\) and \(\pi_B\) are the probabilities used for the next random assignment. The bounds prevent the rule from assigning less than 20% or more than 80% of the next allocation probability to either arm. The rule uses resolved outcomes only: \(r_A\) and \(r_B\) do not appear in the posterior means. That is appropriate when pending status is determined by time since enrollment under a fixed follow-up schedule and response probabilities are stable; these assumptions are examined below.
Why the Posterior Mean Enters the Rule
With a Beta prior and Bernoulli outcomes, each resolved success adds one to the prior success parameter and each resolved failure adds one to the prior failure parameter. The posterior mean follows directly from the mean of a Beta distribution. Under the uniform prior, arm \(j\) therefore has posterior parameters \(1+s_j\) and \(1+n_j-s_j\), giving
The allocation ratio then compares these two predictive success probabilities. If both are positive, the unbounded target proportion for A satisfies
This algebra justifies the stated ratio rule. It does not establish that the rule maximizes patient benefit, statistical power, or decision quality. Those objectives can differ, and the choice of allocation rule and bounds must be prespecified for the trial’s aims.
Worked Example: One Decision With Pending Responses
At a decision point, arm A has 8 resolved responses, 6 successes, and 2 pending responses. Arm B has 6 resolved responses, 3 successes, and 1 pending response. Calculate the probability of assigning the next participant to each arm.
For A, the resolved failure count is \(8-6=2\), so the posterior is \(\mathrm{Beta}(7,3)\) and
For B, the resolved failure count is \(6-3=3\), so the posterior is \(\mathrm{Beta}(4,4)\) and
The raw target probability for A is
Since \(0.20<0.5833<0.80\), the bounds do not change this value. Thus \(\pi_A=0.5833\) and \(\pi_B=1-0.5833=0.4167\). The 2 pending responses on A and 1 pending response on B are not added to either arm’s resolved count and are not treated as failures.
Successive Updates as Responses Resolve
An allocation probability is calculated from the information available at that decision time. When follow-up is completed and outcomes are recorded, the resolved counts change; the next probability is recalculated from those updated counts. A pending response contributes only when its outcome becomes available. If allocations occur in cohorts, every participant in a cohort can be assigned using the probability calculated before that cohort, with the next update made after the cohort’s outcomes have matured.
Worked Example: Updating After a Cohort Matures
Use the counts from the preceding example as the information available before a two-person cohort is allocated. Both participants are randomized using \(\pi_A=0.5833\) and \(\pi_B=0.4167\); suppose the random assignments are one participant to each arm. By the next decision, the two previously pending responses have resolved: A’s is a failure and B’s is a success. The new cohort’s fixed follow-up outcomes are a success on A and a failure on B. Find the next allocation probability.
On A, the original 8 resolved responses included 6 successes. The pending failure adds one resolved failure, and the new success adds one resolved success. The updated totals are \(n_A=10\) and \(s_A=7\). Thus
On B, the original 6 resolved responses included 3 successes. The pending success adds one resolved success, and the new failure adds one resolved failure. The updated totals are \(n_B=8\) and \(s_B=4\). Thus
The raw target for A is
This is within the bounds, so the next cohort or participant uses \(\pi_A=0.5714\) and \(\pi_B=0.4286\). The previous cohort’s assignment probabilities remain the probabilities that were used when that cohort was randomized; later outcomes do not retroactively change them.
Worked Example: Applying the Allocation Bounds
At a later decision, A has 18 resolved responses, all 18 successes, and 3 pending responses. B has 20 resolved responses, 4 successes, and 8 pending responses. Calculate the bounded allocation probabilities.
The arm-specific posterior means are
Before applying bounds, the target for A is
Because \(0.8070>u=0.80\), the upper bound applies. Therefore \(\pi_A=0.8000\) and \(\pi_B=0.2000\). The pending counts do not enter this calculation. In particular, the eight pending responses on B do not count as eight failures.
Assumptions, Diagnostics, and Failure Modes
The calculations above are valid as applications of the specified rule under the following assumptions:
- Binary endpoint at a defined time: success or failure refers to the same prespecified endpoint and fixed follow-up time for every participant.
- Stable arm-specific response probabilities: within the period analyzed, each arm’s outcomes follow a Bernoulli model with a constant \(p_j\). Changes in case mix or calendar-time outcome patterns can undermine this assumption.
- Pending status is not itself an unrecorded outcome: unresolved participants have not yet reached the assessment time or have not yet had the result recorded. Pending does not mean failure, and it is not dropout.
- Resolution is not selectively related to the unobserved response after accounting for the fixed schedule: if outcomes likely to be successes resolve faster than failures, the resolved subset can be unrepresentative of all enrolled participants.
- Specified prior and rule: the independent uniform priors, posterior-mean ratio, and allocation bounds are fixed as part of the design rather than chosen after seeing favorable results.
Useful operational checks include comparing pending counts and follow-up ages across arms, confirming that each resolved outcome has reached the same endpoint definition, and independently recalculating the posterior means and probabilities from a dated data snapshot. A rapidly growing pending backlog can make the allocation decisions rely heavily on older resolved observations. If resolution is outcome-related or the underlying response probabilities change over time, the posterior based on resolved records may not represent current response prospects.
A common mistake is to say, “The pending responses have not succeeded yet, so count them as failures.” That substitutes an unobserved outcome with a known failure and changes both the posterior means and allocation probabilities. The correction is to keep a separate pending count and update the success and failure totals only when each binary response is observed. A second mistake is to use the total number enrolled as \(n_j\) in the posterior formula: here \(n_j\) is the number with resolved outcomes, not the number assigned to that arm.
How This Rule Differs From Alternatives
| Approach | What determines the next allocation | Implication when outcomes are pending |
|---|---|---|
| Equal randomization | A fixed probability, such as one-half per arm | Pending outcomes do not change the allocation probabilities. |
| Resolved-data plug-in rule | Observed response rates, often \(s_j/n_j\), inserted into an allocation formula | Uses resolved records only, but can be unstable with small counts; it has no prior smoothing. |
| Posterior-mean rule used here | Smoothed response probabilities \((1+s_j)/(2+n_j)\), combined by the stated ratio and bounds | Uses resolved records only; the prior prevents a zero or one estimate from a small sample. |
Equal randomization is simple and does not react to early outcome differences, but it does not direct more allocations toward the arm with the larger current posterior mean. The plug-in alternative is also a possible design choice, but with few observations an observed rate of 0 or 1 can produce extreme targets unless additional safeguards are specified. The posterior-mean rule moderates that behavior, while its bounds further limit extreme allocations. Neither smoothing nor bounding removes bias caused by selective resolution or changing response probabilities.
The rule is deliberately a calculation based on resolved data, not a model for predicting unresolved responses. Its limitations include sensitivity to the chosen prior, allocation bounds, and target formula, as well as potential loss of allocation efficiency when feedback is stale. Its calculated probabilities describe the randomization procedure at a decision time; they do not establish that one treatment is clinically superior.
Check Your Understanding
Answer each question, then compare your work with the solutions.
- Arm A has 5 resolved outcomes, 3 successes, and 4 pending outcomes. Under the stated prior, what is its posterior mean response probability?
- Suppose \(m_A=0.60\) and \(m_B=0.40\). What are the bounded allocation probabilities under the stated rule?
- Arm A has 6 resolved outcomes, 2 successes, and 3 pending outcomes. If one pending response resolves as a success, what are the new resolved count, success count, and posterior mean?
- Why is it generally incorrect to count pending outcomes as failures in this calculation?
Solutions. (1) The posterior mean is \((1+3)/(2+5)=4/7=0.5714\); the four pending outcomes are excluded. (2) The raw target is \(0.60/(0.60+0.40)=0.6000\), within the bounds, so \(\pi_A=0.6000\) and \(\pi_B=0.4000\). (3) The resolved count becomes \(n_A=7\), the success count becomes \(s_A=3\), and \(m_A=(1+3)/(2+7)=4/9=0.4444\). (4) A pending response has no observed binary outcome. Calling it a failure invents data and alters the posterior; it should be counted only after its response is observed.