Tutorials › Adaptive Clinical Trial Design › Worked Example With Binary Efficacy And Toxicity

Phase 1/2 Designs With Efficacy and Toxicity · Tutorial 651 of 799

Worked Example With Binary Efficacy And Toxicity

Learn to calculate posterior joint efficacy–toxicity probabilities at each dose and apply a transparent, prespecified rule to select a recommended dose.

Advanced 11 min read

What You'll Learn

  • Represent efficacy and toxicity together using the four possible binary outcome categories.
  • Update dose-specific category probabilities with a Dirichlet–multinomial model.
  • Derive marginal efficacy and toxicity probabilities from the joint model.
  • Apply prespecified posterior efficacy and toxicity criteria to each dose.
  • Explain why marginal probabilities alone may not recover the joint benefit–risk picture.
  • Identify limitations of a small, dose-specific analysis and check how a decision changes under altered data.

Why Analyze Efficacy and Toxicity Together?

In dose finding, a dose can produce efficacy, toxicity, both, or neither. Looking at efficacy and toxicity separately may conceal how often benefit occurs without toxicity, or how often the two outcomes occur together. A joint analysis keeps these possibilities explicit and allows a dose rule to use them directly.

This tutorial follows a small hypothetical phase 1/2 trial through the complete calculation. The endpoints are binary and assessed within a prespecified follow-up window. The analysis uses a separate four-category model at each dose, then applies a stated efficacy and safety rule. The numerical thresholds are illustrative: a real protocol should justify them clinically and specify them before outcomes are reviewed.

Definition: Let \(E=1\) indicate that a patient meets the prespecified efficacy endpoint and \(T=1\) indicate that the patient experiences the prespecified toxicity endpoint; zero indicates that the endpoint is not observed. At dose \(d\), write \(\pi_{et}(d)=P(E=e,T=t\mid d)\). The four mutually exclusive categories are \((E,T)=(1,0),(1,1),(0,0),(0,1)\). In particular, \(\pi_{10}(d)\) is the probability of efficacy without toxicity. The marginal probabilities are \(p_E(d)=\pi_{10}(d)+\pi_{11}(d)\) and \(p_T(d)=\pi_{11}(d)+\pi_{01}(d)\).

Model, Assumptions, and Updating

For this worked analysis, each patient contributes one jointly classified outcome at the assigned dose. Within a dose, outcomes are assumed independent and to share the same four category probabilities. The endpoint definitions and assessment windows are consistent across doses, and there are no missing or unevaluable outcomes in the example. These assumptions make the category counts a multinomial sample. The model does not assume that efficacy and toxicity are independent, nor does it impose a monotone dose-response curve.

For each dose, use a Dirichlet prior with one unit of prior weight in each category. This is a simple symmetric prior used here to make the calculation transparent; it is not a default clinical choice. If \(n_{et,d}\) patients have outcome \((e,t)\) at dose \(d\), the posterior is Dirichlet with category parameters \(1+n_{et,d}\). The posterior mean for a category is its updated parameter divided by the sum of all four updated parameters.

$$ (\pi_{10}(d),\pi_{11}(d),\pi_{00}(d),\pi_{01}(d)) \sim \operatorname{Dirichlet}(1,1,1,1) \quad\Longrightarrow\quad (\pi_{10},\pi_{11},\pi_{00},\pi_{01})\mid \text{data} \sim \operatorname{Dirichlet}(1+n_{10},1+n_{11},1+n_{00},1+n_{01}). $$

This update follows directly from the likelihood. For category probabilities that sum to one, the multinomial likelihood is proportional to \(\prod_{e,t}\pi_{et}^{n_{et}}\). The symmetric Dirichlet prior has constant density over the probability simplex, so multiplying prior and likelihood gives powers \(\pi_{et}^{n_{et}}\), which are the Dirichlet posterior kernel with parameters \(1+n_{et}\). Summing parameters gives \(n+4\), where \(n\) is the number treated at that dose.

The marginal posterior for efficacy is also easy to obtain: \(p_E(d)\) has a beta distribution whose first parameter is the sum of the updated efficacy-category counts and whose second parameter is the sum for the non-efficacy categories. The corresponding statement holds for toxicity. This lets the decision rule use both posterior means and posterior tail probabilities.

Worked Example: Organizing the Four Outcomes

Suppose eight hypothetical patients are evaluated at each of three doses. The observed counts are as follows. A patient with both efficacy and toxicity is counted in \((1,1)\), not in either of the two single-outcome categories.

DoseEfficacy, no toxicity \((1,0)\)Both \((1,1)\)Neither \((0,0)\)Toxicity, no efficacy \((0,1)\)Total
130418
240318
332128

At dose 2, for example, the efficacy count is \(4+0=4\), the toxicity count is \(0+1=1\), and four patients had efficacy without toxicity. These are different summaries of the same four-category data; the joint categories retain the information needed to distinguish efficacy with toxicity from efficacy without toxicity.

Calculate Joint and Marginal Probabilities

At dose 2, the observed category counts are \((4,0,3,1)\), in the order \((1,0),(1,1),(0,0),(0,1)\). Adding the prior parameters gives \((5,1,4,2)\), with total \(12\). Therefore the posterior mean joint probabilities are obtained by dividing each updated count by \(12\). The posterior mean efficacy probability is the sum of the first two category means, and the posterior mean toxicity probability is the sum of the second and fourth.

Worked Example: Computing Dose 2 Joint Probabilities

The dose 2 posterior is \(\operatorname{Dirichlet}(5,1,4,2)\). The posterior mean probability of efficacy without toxicity is

$$ E[\pi_{10}(2)\mid \text{data}]=\frac{4+1}{8+4}=\frac{5}{12}=0.4167. $$

The other posterior mean category probabilities are \(1/12=0.0833\) for both outcomes, \(4/12=0.3333\) for neither, and \(2/12=0.1667\) for toxicity without efficacy. They sum to \(12/12=1\). The posterior mean efficacy probability is

$$ E[p_E(2)\mid \text{data}]=\frac{(4+0)+2}{12}=\frac{6}{12}=0.5000, \qquad E[p_T(2)\mid \text{data}]=\frac{(0+1)+2}{12}=\frac{3}{12}=0.2500. $$

These are posterior means of probabilities, not claims that exactly half of future patients will benefit or that exactly one quarter will experience toxicity. They summarize uncertainty about the dose-specific probabilities under the stated model and prior.

The joint calculation can differ from a calculation that assumes independence. For dose 2, multiplying the posterior mean efficacy probability by one minus the posterior mean toxicity probability gives \(0.5000(1-0.2500)=0.3750\). That product is not the posterior mean of \(\pi_{10}(2)\), which is \(0.4167\). The product imposes a factorization using marginal summaries; it does not use the posterior distribution of the joint categories. With only eight observations, neither estimate is precise, but they answer different calculations.

Derivation: Under the Dirichlet posterior, the sum of parameters for any set of categories gives the corresponding beta marginal. At dose 2, \(p_T(2)\mid\text{data}\sim\operatorname{Beta}(3,9)\): there are three updated toxicity counts and nine updated non-toxicity counts. Likewise, \(p_E(2)\mid\text{data}\sim\operatorname{Beta}(6,6)\). The posterior mean of a \(\operatorname{Beta}(a,b)\) variable is \(a/(a+b)\), giving \(3/12\) and \(6/12\), respectively.

Apply the Dose Rule

Suppose the protocol specifies the following illustrative rule for the final recommendation among the three evaluated doses. A dose is eligible only if its posterior mean efficacy probability is at least \(0.48\) and its posterior probability that toxicity exceeds \(0.35\) is no more than \(0.25\). Among eligible doses, recommend the one with the largest posterior mean probability of efficacy without toxicity, \(E[\pi_{10}(d)\mid\text{data}]\). If no dose is eligible, recommend no dose under this rule.

The safety criterion is a posterior tail probability, not a comparison of the observed toxicity rate with \(0.35\). At doses 1 and 2 there was one toxicity in eight patients, so the toxicity marginal posterior is \(\operatorname{Beta}(3,9)\). Its tail probability above \(0.35\) is approximately \(0.2001\). For example, using the integer-parameter beta-binomial identity, this tail is

$$ P\{p_T>0.35\mid\text{data}\} =\sum_{k=0}^{2}{11\choose k}(0.35)^k(0.65)^{11-k} \approx 0.2001. $$

At dose 3, four of eight patients experienced toxicity, so the marginal posterior is \(\operatorname{Beta}(6,6)\). Its probability of exceeding \(0.35\) is approximately \(0.8513\). Thus dose 3 does not satisfy the safety condition. The following calculations apply every part of the rule rather than selecting a dose from efficacy alone.

Worked Example: Selecting the Recommended Dose

For dose 1, the posterior efficacy distribution is \(\operatorname{Beta}(5,7)\), with mean \(5/12=0.4167\). Its toxicity tail probability is about \(0.2001\), below the safety cutoff, but its efficacy mean is below \(0.48\). Dose 1 is not eligible.

For dose 2, the posterior efficacy mean is \(6/12=0.5000\), which meets the efficacy criterion. Its toxicity tail probability is about \(0.2001\), which meets the safety criterion. Dose 2 is eligible, and its posterior mean probability of efficacy without toxicity is \(5/12=0.4167\).

For dose 3, the posterior efficacy mean is \(7/12=0.5833\), but its toxicity tail probability is about \(0.8513\), exceeding \(0.25\). Dose 3 is not eligible, even though it has the largest posterior mean efficacy probability. Dose 2 is the only eligible dose and is therefore the recommended dose under this rule.

This recommendation is conditional on the example’s model, prior, endpoints, thresholds, and observed data. It is not a universal claim that dose 2 is appropriate for a real treatment or population.

Worked Example: Checking a Dose Near the Safety Boundary

Consider a hypothetical alternative dose with eight patients classified as \((4,1,2,1)\). There are two toxicities and five efficacy responses. The posterior toxicity distribution is \(\operatorname{Beta}(4,8)\), and the posterior efficacy mean is \(7/12=0.5833\). Although the efficacy criterion is met, the safety criterion is not:

$$ P\{p_T>0.35\mid\text{data}\} =\sum_{k=0}^{3}{11\choose k}(0.35)^k(0.65)^{11-k} \approx 0.4255>0.25. $$

The dose is excluded by the prespecified rule. This check shows why a posterior mean toxicity rate of \(4/12=0.3333\), by itself, would not be enough to establish eligibility: the rule also asks how much posterior probability lies above the toxicity boundary.

Diagnostics, Alternatives, and Limitations

Before applying a rule, check that each patient appears in exactly one joint category, that category counts sum to the dose total, and that marginal counts are derived consistently. For example, toxicity counts must include patients with both efficacy and toxicity; omitting them understates toxicity. Also verify that endpoint definitions, observation windows, and handling of unevaluable outcomes were fixed consistently. If outcomes are missing or assessed at different times, the complete-outcome calculations above do not directly apply.

The saturated model estimates four probabilities separately at every dose. It makes few dose-response assumptions, but small samples can leave categories empty and produce substantial uncertainty. The symmetric prior contributes one count to each category, so prior choice matters more when sample sizes are small. A dose-response model could borrow information across doses by imposing a smooth or monotone pattern, but its conclusions would then depend on those structural assumptions. Separate efficacy and toxicity models can be simpler when decisions use only marginal endpoints; they do not, without an additional dependence model, directly estimate probabilities such as efficacy without toxicity.

The rule itself also has limits. Posterior cutoffs do not automatically reflect the consequences of a false-safe or false-ineffective recommendation; those should inform the protocol thresholds. The example ranks eligible doses by one joint quantity, not by a complete utility function, and it ignores uncertainty in the ranking beyond the eligibility checks. A different clinical objective could rationally select a different eligible dose. In a real analysis, prior sensitivity and the consequences of alternative thresholds should be examined rather than treating one numerical rule as self-justifying.

Common pitfall: “Dose 3 has the highest efficacy rate, so it must be the recommended dose.” This reasoning ignores toxicity and the decision rule. Here dose 3 fails the specified posterior safety criterion. The recommendation follows from applying both eligibility conditions first and ranking only the eligible doses afterward.

Check Your Understanding

Answer each question using the definitions and rules in this example. Solutions follow the questions.

  1. At dose 2, how many patients had toxicity, including those with both outcomes, and what is the posterior mean toxicity probability?
  2. Why is the dose 2 posterior mean probability of efficacy without toxicity not obtained by multiplying the posterior mean efficacy probability by one minus the posterior mean toxicity probability?
  3. Under the stated rule, why is dose 1 ineligible even though it passes the toxicity tail criterion?
  4. Suppose no dose satisfies both eligibility conditions. What does the stated rule recommend?

Solutions. (1) One patient had toxicity: zero with both outcomes and one with toxicity without efficacy. The posterior mean is \((1+2)/(8+4)=3/12=0.2500\). (2) The joint probability is a category parameter in the Dirichlet model; multiplying marginal posterior means is a different calculation and need not equal its posterior mean. Here the values are \(0.4167\) and \(0.3750\), respectively. (3) Dose 1 has posterior mean efficacy \(5/12=0.4167\), below the required \(0.48\), so passing the safety condition is insufficient. (4) The rule recommends no dose; it does not force selection of an ineligible dose.

Clinical Biostats