Docs/Bayesian Borrowing

Bayesian Historical Borrowing

Technical documentation for incorporating historical control data into current trial design with appropriate discounting. This module implements Power Priors, Commensurate Priors, and Meta-Analytic Predictive (MAP) Priors for external data synthesis.

1. Overview & Motivation

Historical borrowing leverages data from prior studies to strengthen inference in the current trial. When historical and current populations are similar, borrowing can reduce sample size requirements while maintaining statistical rigor.

Key Benefits

Smaller Trials

Reduce required sample size by 20-40% when historical data is highly relevant

Ethical

Fewer patients randomized to control when effect is well-established

Efficiency

Faster trials with preserved statistical precision

The Exchangeability Assumption

Borrowing is valid only when historical and current populations areexchangeable—meaning they can be treated as samples from the same underlying distribution. Key similarity dimensions:

  • Patient Population: Same disease stage, demographics, prior treatments
  • Endpoints: Identical definitions and assessment methods
  • Standard of Care: Similar background therapies
  • Time Period: No temporal drift in outcomes

Critical Warning

Inappropriate borrowing (from dissimilar populations) can inflate Type I error or bias treatment effect estimates. Always use conflict diagnostics and consider discounting when similarity is uncertain.

2. Power Prior Method

The power prior (Ibrahim & Chen, 2000) discounts historical likelihood by raising it to a power δ[0,1]\delta \in [0, 1]:

π(θD0,δ)L(θD0)δπ0(θ)\pi(\theta | D_0, \delta) \propto L(\theta | D_0)^\delta \cdot \pi_0(\theta)

For Beta-Binomial models with historical data (k0,n0)(k_0, n_0)and base prior Beta(α0,β0)\text{Beta}(\alpha_0, \beta_0):

θD0Beta(α0+δk0,β0+δ(n0k0))\theta | D_0 \sim \text{Beta}(\alpha_0 + \delta k_0, \beta_0 + \delta(n_0 - k_0))

Effective Sample Size

The ESS from the power prior is:

ESShistorical=δn0ESS_{historical} = \delta \cdot n_0
Discount FactorInterpretationWhen to Use
δ=1.0\delta = 1.0Full borrowing (100% weight)Identical population, same sponsor's prior trial
δ=0.5\delta = 0.5Skeptical borrowing (50% weight)Similar population, minor protocol differences
δ=0.2\delta = 0.2Conservative borrowing (20% weight)Different indication, mechanism-based only
δ=0.0\delta = 0.0No borrowing (ignore historical)Populations clearly different

Choosing the Discount Factor

The discount factor should be pre-specified in the protocol based on clinical judgment about similarity. A common approach: start withδ=0.5\delta = 0.5 as a “skeptical default” and adjust based on formal similarity assessment.

3. Commensurate Prior Method

The commensurate prior (Hobbs et al., 2011) uses a hierarchical model where a between-source variance parameter controls borrowing strength:

θcurrentθhistorical,τ2N(θhistorical,τ2)\theta_{current} \mid \theta_{historical},\, \tau^2 \sim N(\theta_{historical},\, \tau^2)

Under the original Hobbs parameterization, small τ2\tau^2 pins θcurrent\theta_{current} close to the historical estimate (strong borrowing), and large τ2\tau^2 lets the current parameter drift freely (weak borrowing).

Zetyra's implementation

For computational efficiency Zetyra exposes a single borrowing-strength input c0c \geq 0 (the API field is called commensurability_parameter) and maps it to a power-prior discount via:

δeffective=c1+c\delta_{\text{effective}} = \frac{c}{1 + c}

Conventions are reversed relative to the Hobbs τ2\tau^2: here cc is a borrowing-strength knob, so larger cc means more borrowing.

c=0c = 0

δ=0\delta = 0 (no borrowing)

c=1c = 1

δ=0.5\delta = 0.5 (balanced)

c=9c = 9

δ=0.9\delta = 0.9 (strong borrowing)

cc \to \infty

δ1\delta \to 1 (full borrowing)

4. Meta-Analytic Predictive (MAP) Prior

When multiple historical studies are available, the MAP prior (Schmidli et al., 2014) synthesizes them using random-effects meta-analysis:

θiN(μ,τ2)\theta_i \sim N(\mu, \tau^2)

Where μ\mu is the pooled effect andτ2\tau^2 captures between-study heterogeneity.

Heterogeneity Assessment (I²)

The calculator reports the I² statistic to quantify heterogeneity:

I2=max(0,Q(k1)Q)×100%I^2 = \max\left(0, \frac{Q - (k-1)}{Q}\right) \times 100\%
I² RangeInterpretationRecommendation
0-25%Low heterogeneityFull borrowing appropriate
25-75%Moderate heterogeneityUse robust MAP
>75%High heterogeneityBorrow cautiously

Robust MAP Component

To protect against prior-data conflict, the robust MAP mixes the informative MAP prior with a vague component:

πrobust(θ)=(1w)πMAP(θ)+wπvague(θ)\pi_{robust}(\theta) = (1 - w) \cdot \pi_{MAP}(\theta) + w \cdot \pi_{vague}(\theta)

Where ww is typically 0.1–0.2 (10–20% vague component).

5. Prior-Data Conflict Diagnostics

Critical: prior-data conflict can inflate Type I error by 208% in composed adaptive designs

When a MAP prior is combined with other adaptive mechanisms (sequential monitoring, sample-size re-estimation, response-adaptive randomization) that share interim information sets, even a 2-percentage-point drift between the historical prior mean and the current control rate — well within typical inter-study variation in oncology (Viele et al. 2014; Tang et al. 2010) — can drive pipeline-level Type I error to 0.0771 (+208% above α=0.025) even when each component individually passes its validation check (Qian 2026, JSM). Component-level calibration guarantees do not transfer under composition; the failure is invisible without pipeline-level evaluation.

Practical implications: (1) the conflict diagnostics on this page are necessary but not sufficient when MAP is combined with adaptive monitoring/SSR/RAR; (2) protocols using historical borrowing alongside other adaptive components should simulate operating characteristics at the full pipeline level under prior-data conflict scenarios (e.g. ±2pp and ±5pp drift from prior mean) and pre-specify a maximum acceptable T1E; (3) the FDA January 2026 draft guidance on Bayesian methodology requires this kind of composed evaluation under realistic perturbations.

The calculator assesses whether current trial data conflicts with the historical prior using a prior predictive check.

Conflict Detection Algorithm

Given current data (kcurrent,ncurrent)(k_{current}, n_{current})and effective prior Beta(α,β)\text{Beta}(\alpha, \beta):

  1. 1.Compute current rate: θ^=k/n\hat{\theta} = k/n
  2. 2.Compute prior mean: μ0=α/(α+β)\mu_0 = \alpha/(\alpha + \beta)
  3. 3.Compute predictive variance (includes sampling variability)
  4. 4.Calculate z-score and two-tailed p-value
P-valueConflict LevelAction
> 0.10NoneProceed with borrowing
0.01–0.10ModerateConsider reducing discount (δ × 0.5)
< 0.01SevereMinimal borrowing (δ ≤ 0.2) or none

Regulatory Requirement

The FDA guidance recommends pre-specifying how prior-data conflict will be handled in the Statistical Analysis Plan (SAP). Document the conflict detection criteria and fallback procedures.

6. Sample Size Impact

The calculator compares sample size requirements with and without historical borrowing to quantify the efficiency gain.

Comparison Framework

With Borrowing

Use effective prior Beta(α,β)\text{Beta}(\alpha, \beta)derived from historical data

Without Borrowing

Use uninformative prior Beta(1,1)\text{Beta}(1, 1)

For each scenario, the calculator finds the minimum nnachieving target power (80%) and Type I error control (5%).

Sample Size Reduction

Reduction %=nwithoutnwithnwithout×100%\text{Reduction \%} = \frac{n_{without} - n_{with}}{n_{without}} \times 100\%

Typical reductions range from 15–40% depending on historical data quality and discount factor.

7. Regulatory Considerations

FDA Bayesian Guidance Section V.D.4

“When utilizing external data, sponsors should describe methods for assessing the similarity of external data to trial data, including approaches for adjusting the degree of borrowing if inconsistencies are identified.”

Documentation Requirements

  • Historical Data Source: Study ID, publication reference, patient population, endpoints, and quality assessment
  • Similarity Justification: Explicit comparison of inclusion/exclusion criteria, endpoints, and standard of care
  • Borrowing Method: Power prior, commensurate, or MAP with parameter specifications
  • Conflict Handling: Pre-specified criteria and fallback procedures
  • Operating Characteristics: Type I error and power under various scenarios
  • Sensitivity Analysis: Results under alternative discount factors and prior specifications

8. API Quick Reference

POST /api/v1/calculators/bayesian-borrowing

Key Parameters

ParameterTypeDescription
methodstring"power_prior" | "commensurate_prior" | "map_prior"
historical_events, historical_nintHistorical study data (power/commensurate)
discount_factorfloatPower prior δ ∈ [0, 1] (default: 0.5)
studiesarrayList of studies for MAP prior (min 2)
robust_weightfloatMAP robust component weight (default: 0.1)

Key Response Fields

  • effective_prior — Resulting Beta(α, β) parameters
  • ess — Effective sample size breakdown
  • comparison — Sample size with/without borrowing
  • conflict_assessment — Prior-data conflict analysis
View full API documentation →

9. References

  1. Ibrahim JG, Chen MH. Power prior distributions for regression models. Statistical Science. 2000;15(1):46-60.
  2. Schmidli H, et al. Robust meta-analytic-predictive priors in clinical trials with historical control information. Biometrics. 2014;70(4):1023-1032.
  3. Morita S, Thall PF, Müller P. Determining the effective sample size of a parametric prior. Biometrics. 2008;64(2):595-602.
  4. Spiegelhalter DJ, Abrams KR, Myles JP. Bayesian Approaches to Clinical Trials and Health-Care Evaluation. Wiley; 2004.
  5. Berry SM, Carlin BP, Lee JJ, Muller P. Bayesian Adaptive Methods for Clinical Trials. CRC Press; 2010.
  6. U.S. Food and Drug Administration. Use of Bayesian Methodology in Clinical Trials of Drug and Biological Products: Draft Guidance for Industry. January 12, 2026.
  7. European Medicines Agency. Guideline on Adjustment for Baseline Covariates in Clinical Trials. EMA/CHMP/295050/2013. February 2015.

Last updated: May 2026

Ready to incorporate historical data?

Use our Bayesian Borrowing Calculator for power-prior, commensurate-prior, and MAP approaches with ESS-based diagnostics — potential 20-40% sample-size savings.

Open Bayesian Borrowing Calculator