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.
Contents
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 :
For Beta-Binomial models with historical data and base prior :
Effective Sample Size
The ESS from the power prior is:
| Discount Factor | Interpretation | When to Use |
|---|---|---|
| Full borrowing (100% weight) | Identical population, same sponsor's prior trial | |
| Skeptical borrowing (50% weight) | Similar population, minor protocol differences | |
| Conservative borrowing (20% weight) | Different indication, mechanism-based only | |
| No 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 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 the commensurability parameter controls borrowing strength dynamically.
Key insight: when , no borrowing (fully skeptical); when , approaches full borrowing.
Simplified Implementation
Zetyra uses a computationally efficient approximation that maps the commensurability parameter to an effective discount factor:
(no borrowing)
(balanced)
(strong borrowing)
(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:
Where is the pooled effect and captures between-study heterogeneity.
Heterogeneity Assessment (I²)
The calculator reports the I² statistic to quantify heterogeneity:
| I² Range | Interpretation | Recommendation |
|---|---|---|
| 0-25% | Low heterogeneity | Full borrowing appropriate |
| 25-75% | Moderate heterogeneity | Use robust MAP |
| >75% | High heterogeneity | Borrow cautiously |
Robust MAP Component
To protect against prior-data conflict, the robust MAP mixes the informative MAP prior with a vague component:
Where is typically 0.1–0.2 (10–20% vague component).
5. Prior-Data Conflict Diagnostics
The calculator assesses whether current trial data conflicts with the historical prior using a prior predictive check.
Conflict Detection Algorithm
Given current data and effective prior :
- 1.Compute current rate:
- 2.Compute prior mean:
- 3.Compute predictive variance (includes sampling variability)
- 4.Calculate z-score and two-tailed p-value
| P-value | Conflict Level | Action |
|---|---|---|
| > 0.10 | None | Proceed with borrowing |
| 0.01–0.10 | Moderate | Consider reducing discount (δ × 0.5) |
| < 0.01 | Severe | Minimal 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 derived from historical data
Without Borrowing
Use uninformative prior
For each scenario, the calculator finds the minimum achieving target power (80%) and Type I error control (5%).
Sample Size Reduction
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
Key Parameters
| Parameter | Type | Description |
|---|---|---|
| method | string | "power_prior" | "commensurate_prior" | "map_prior" |
| historical_events, historical_n | int | Historical study data (power/commensurate) |
| discount_factor | float | Power prior δ ∈ [0, 1] (default: 0.5) |
| studies | array | List of studies for MAP prior (min 2) |
| robust_weight | float | MAP robust component weight (default: 0.1) |
Key Response Fields
effective_prior— Resulting Beta(α, β) parametersess— Effective sample size breakdowncomparison— Sample size with/without borrowingconflict_assessment— Prior-data conflict analysis