Tutorials › Bayesian Clinical Trials › A Worked Binary-Control Borrowing Analysis

Historical Controls and Power Priors · Tutorial 344 of 696

A Worked Binary-Control Borrowing Analysis

You will calculate and interpret a beta-binomial posterior for a current control rate after applying a fixed discount to historical binary outcomes.

Advanced 11 min read

What You'll Learn

  • State the assumptions for borrowing historical binary-control outcomes with a fixed power prior.
  • Derive the beta posterior parameters from the prior, discounted historical counts, and current counts.
  • Calculate and interpret a posterior mean and variance for a hypothetical current control rate.
  • Compare the result with no borrowing and full borrowing.
  • Check how a different fixed discount changes the posterior.
  • Recognize data features that can make borrowed information unreliable.

Why a Worked Borrowing Analysis Needs Care

A historical control group can add information to a current trial’s control-rate estimate, but it should not automatically count as if every historical participant had been enrolled in the current trial. A fixed power-prior discount gives historical outcomes a specified, reduced contribution. The calculation is simple once the model is explicit; the interpretation depends on the assumptions that justify treating historical and current control outcomes as information about a common rate.

This tutorial works through one hypothetical binary-control analysis from assumptions to posterior interpretation. The discount is fixed in advance for the calculation. It is not learned from the outcomes here.

Definition: Let \(x_h\) of \(n_h\) historical control participants and \(x_c\) of \(n_c\) current control participants experience the binary outcome. Under a common control rate \(p\), suppose the historical and current counts have binomial likelihoods. A fixed power prior with discount \(a\), where \(0\leq a\leq1\), raises the historical likelihood to the power \(a\). With a \(\mathrm{Beta}(\alpha_0,\beta_0)\) prior for \(p\), the posterior is \(\mathrm{Beta}(\alpha_0+a x_h+x_c,\ \beta_0+a(n_h-x_h)+(n_c-x_c))\).

Model and Assumptions

For this model, each participant has a binary outcome, such as whether a prespecified event occurs within a fixed follow-up period. Conditional on the control rate \(p\), outcomes within each group are modeled as independent Bernoulli trials. Thus the observed counts have binomial likelihoods. The model also assumes that the historical and current outcomes are comparable and can be represented by the same underlying rate \(p\); the discount reduces the historical likelihood’s contribution but does not itself model a difference in rates.

The prior is proper, with \(\alpha_0>0\) and \(\beta_0>0\). The value of \(a\) is fixed for the analysis, and the endpoint definition, observation window, and relevant control conditions are sufficiently aligned that the common-rate model is a meaningful approximation. These are substantive assumptions, not consequences of beta-binomial conjugacy. If follow-up differs, outcome ascertainment changes, or the current population is materially different, discounting alone may not resolve the mismatch.

The beta prior has density proportional to \(p^{\alpha_0-1}(1-p)^{\beta_0-1}\). The historical binomial likelihood, ignoring its factor that does not depend on \(p\), is proportional to \(p^{x_h}(1-p)^{n_h-x_h}\). Raising it to \(a\) gives a factor proportional to \(p^{a x_h}(1-p)^{a(n_h-x_h)}\). The current likelihood contributes \(p^{x_c}(1-p)^{n_c-x_c}\). Multiplying these factors yields the posterior kernel below.

$$ p^{\alpha_0+a x_h+x_c-1} (1-p)^{\beta_0+a(n_h-x_h)+(n_c-x_c)-1} $$

This is the kernel of the beta distribution with the parameters in the definition. The calculation also shows why a fixed discount can produce non-integer beta parameters: the historical counts are weighted, rather than reinterpreted as literal fractional participants.

Justification: The posterior shape parameters equal the prior shape parameters plus the corresponding current counts and the discounted historical counts. The historical success contribution is \(a x_h\), and its failure contribution is \(a(n_h-x_h)\). Both matter: discounting only the historical successes would not be the stated power-prior model.

Worked Binary-Control Analysis

Worked Example: A Fixed Discount of Historical Control Outcomes

Suppose a hypothetical historical control group has 54 participants with the event among 158 participants. A current control group has 3 events among 15 participants. Use a \(\mathrm{Beta}(1,1)\) prior and a fixed historical discount \(a=0.25\). Calculate the current-rate posterior mean and variance.

Check the setup. The hypothetical outcome is binary and its definition and follow-up period are assumed comparable between groups. For the calculation, assume independent outcomes conditional on a common rate \(p\). The discount is fixed at 0.25, so this example does not estimate it from the data.

There are \(158-54=104\) historical participants without the event and \(15-3=12\) current participants without it. The discounted historical contributions are \(0.25(54)=13.5\) events and \(0.25(104)=26\) non-events. Therefore,

$$ p\mid\text{data}\sim \mathrm{Beta}\bigl(1+0.25(54)+3,\ 1+0.25(104)+12\bigr) =\mathrm{Beta}(17.5,39). $$

For a \(\mathrm{Beta}(\alpha,\beta)\) distribution, the mean is \(\alpha/(\alpha+\beta)\), and the variance is \(\alpha\beta/\{(\alpha+\beta)^2(\alpha+\beta+1)\}\). Here the posterior mean is

$$ \frac{17.5}{17.5+39} =\frac{17.5}{56.5} \approx 0.3097. $$

Thus the posterior mean control event rate is about 31.0%. The posterior variance is

$$ \frac{17.5(39)}{56.5^2(57.5)} =\frac{682.5}{183554.375} \approx 0.003718, \qquad \sqrt{0.003718}\approx 0.0610. $$

The posterior standard deviation is about 0.0610, or 6.10 percentage points on the rate scale. It describes posterior spread, not the standard error of a frequentist estimator. The posterior distribution summarizes uncertainty about \(p\) under the stated prior, likelihood, and fixed discount; it does not establish that the historical and current rates are in fact identical.

What the Discount Changes

The result can be understood by comparing it with the boundary cases. At \(a=0\), the historical likelihood contributes nothing, so the posterior uses only the prior and current outcomes. At \(a=1\), the historical likelihood is used without discount. These comparisons are useful checks on the calculation and show how the chosen discount changes the balance of information.

Worked Example: Comparing No Borrowing, Partial Borrowing, and Full Borrowing

Use the same hypothetical data and \(\mathrm{Beta}(1,1)\) prior as above. Compare posterior means for \(a=0\), \(a=0.25\), and \(a=1\). The model and data-comparability assumptions remain the same; only the fixed discount changes.

No historical borrowing, \(a=0\). The posterior is \(\mathrm{Beta}(1+3,\ 1+12)=\mathrm{Beta}(4,13)\). Its mean is \(4/(4+13)=4/17\approx0.2353\), or 23.5%. This uses the current control rate and the prior, not the historical outcomes.

Partial borrowing, \(a=0.25\). The posterior is \(\mathrm{Beta}(17.5,39)\), as calculated above. Its mean is \(17.5/56.5\approx0.3097\), or 31.0%.

Full historical likelihood, \(a=1\). The posterior is \(\mathrm{Beta}(1+54+3,\ 1+104+12)=\mathrm{Beta}(58,117)\). Its mean is \(58/(58+117)=58/175\approx0.3314\), or 33.1%.

The means increase as more weight is given to the historical outcomes, whose observed event rate is \(54/158\approx0.3418\), above the current observed rate \(3/15=0.2000\). This is the expected direction in this example. It is not a general guarantee that increasing \(a\) moves the posterior mean in one fixed direction: the direction depends on the historical outcomes relative to the current data and prior.

Sensitivity and Diagnostics

A fixed discount is an assumption whose consequences should be visible in the results. For the same data, changing the chosen discount changes both posterior location and precision. The historical effective sample size in this simple beta-binomial calculation is \(a n_h\): with \(a=0.25\), it is \(0.25(158)=39.5\). This is a useful description of the weighted historical contribution, not a claim that the analysis observed 39.5 actual participants.

Worked Example: Checking a More Heavily Borrowed Analysis

Keep the hypothetical counts and prior, but set the fixed discount to \(a=0.50\). The historical weighted counts are \(0.50(54)=27\) events and \(0.50(104)=52\) non-events. The current counts and prior then give

$$ p\mid\text{data},a=0.50 \sim \mathrm{Beta}(1+27+3,\ 1+52+12) =\mathrm{Beta}(31,65). $$

The posterior mean is \(31/(31+65)=31/96\approx0.3229\), or 32.3%. Its variance is

$$ \frac{31(65)}{96^2(97)} =\frac{2015}{893952} \approx0.002254, $$

so the posterior standard deviation is approximately \(\sqrt{0.002254}=0.0475\), or 4.75 percentage points. Compared with the \(a=0.25\) result, this posterior mean is closer to the higher historical event rate and the posterior spread is smaller. The calculation illustrates the effect of increasing the fixed weight; it does not establish that 0.50 is the scientifically appropriate weight.

Before interpreting a borrowed posterior, examine whether the data and model make borrowing credible. Useful warning signs include different outcome definitions or follow-up windows, changes in standard care, a different eligibility mix, and data-quality or ascertainment changes. A large discrepancy between historical and current observed rates is also a reason to question whether the common-rate assumption is adequate. With small counts, observed rates can be noisy, so the discrepancy should be considered alongside the design and clinical context rather than treated as a mechanical pass-or-fail test.

A practical calculation check is to verify that historical successes and non-successes sum to \(n_h\), and current successes and non-successes sum to \(n_c\). Then check that \(a=0\) removes historical counts and \(a=1\) restores them at full weight. Finally, check that both beta shape parameters are positive and that the posterior mean lies between 0 and 1. These checks catch arithmetic and implementation errors, but they do not validate the assumptions.

Interpretation and Limitations

The posterior mean of about 31.0% in the main example is the posterior expectation of the current control event rate under the specified model. It is not the current group’s raw event proportion, which is \(3/15=20.0\%\), and it is not a probability that the rate equals 31.0%. The posterior variance describes uncertainty in \(p\) conditional on the data, prior, common-rate model, and fixed discount. A Bayesian credible interval, if reported, would be computed from this posterior distribution and interpreted as a posterior probability statement about \(p\) under those assumptions.

The main alternative in this calculation is to use current data alone, corresponding to \(a=0\). This avoids borrowing but can leave a less precise estimate when the current control sample is small. Full borrowing, \(a=1\), gives historical outcomes their full likelihood contribution, but can be overly influential when historical and current conditions differ. A partial fixed discount lies between these choices in its likelihood contribution; it does not guarantee protection from bias or make non-comparable data comparable.

The analysis is also limited by its simple common-rate structure. It does not adjust for participant-level covariates or explicitly represent different control rates across studies. Its posterior precision can look reassuring even when the common-rate assumption is implausible. Therefore, a numerical posterior should be reported with the data sources, outcome definition, prior, and chosen discount, and interpreted as conditional on those choices.

Key takeaway: For a fixed power-prior discount in a beta-binomial analysis, add discounted historical events and non-events to the corresponding prior and current counts. The arithmetic is transparent; the credibility of the result rests on outcome comparability, the common-rate model, and the chosen discount.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. With a \(\mathrm{Beta}(1,1)\) prior, 20 historical events among 80 participants, 4 current events among 16 participants, and \(a=0.25\), what is the posterior distribution?
  2. For the data in Question 1, calculate the posterior mean.
  3. What posterior distribution results for those same data if \(a=0\)?
  4. Name two assumptions or data features that should be checked before interpreting historical borrowing as credible.

Solutions. In Question 1, there are \(80-20=60\) historical non-events and \(16-4=12\) current non-events. The weighted historical counts are \(0.25(20)=5\) events and \(0.25(60)=15\) non-events. The posterior is therefore \(\mathrm{Beta}(1+5+4,\ 1+15+12)=\mathrm{Beta}(10,28)\). For Question 2, its mean is \(10/(10+28)=10/38\approx0.2632\), or 26.3%. For Question 3, \(a=0\) excludes historical counts, giving \(\mathrm{Beta}(1+4,\ 1+12)=\mathrm{Beta}(5,13)\). For Question 4, appropriate checks include whether the endpoint definition and follow-up window match, whether control conditions and participant populations are comparable, and whether independent binary outcomes and a common control rate are plausible.

Clinical Biostats