Tutorials › Bayesian Clinical Trials › How Discounting Changes Posterior Precision

Historical Controls and Power Priors · Tutorial 333 of 696

How Discounting Changes Posterior Precision

Learn how a fixed historical-data discount adds precision to a normal posterior, and why the amount of uncertainty reduction is distinct from the direction or size of the posterior-mean shift.

Advanced 12 min read

What You'll Learn

  • Derive the posterior precision when a normal historical likelihood is raised to a fixed discount power.
  • Separate the effect of discounting on posterior variance from its effect on the posterior mean.
  • Calculate posterior precision, variance, and mean from prior, current, and historical data.
  • Interpret the zero- and full-borrowing limits under the model.
  • Identify assumptions and diagnostics that matter when borrowing historical control information.
  • Explain why a precision increase does not establish that historical information is compatible with current data.

Precision and Borrowing in a Normal Model

When a trial borrows information from historical controls, a discount determines how strongly those observations contribute to the analysis. In a conjugate normal model, the discount has a particularly transparent effect: it adds a specified amount to posterior precision. That precision change is not the same as the change in the posterior mean. Precision describes the concentration of the posterior distribution; the mean describes its location.

We derive the result for a continuous control outcome with known sampling variance. The known-variance assumption is important: it makes the likelihood for the mean normal and allows the powered historical likelihood to combine exactly with a normal prior and current-data likelihood. All data are assumed to measure the same estimand, with the same outcome definition and sampling variance.

Definition: The precision of a distribution with variance \(v\) is \(1/v\). In this model, a fixed power-prior discount \(a\), where \(0\leq a\leq 1\), raises the historical likelihood to the power \(a\). The discount scales the historical likelihood's contribution to posterior precision by \(a\); it does not change the observed historical outcomes.

Model and Posterior Formula

Suppose current control outcomes \(X_{C1},\ldots,X_{Cn_C}\) and historical control outcomes \(X_{H1},\ldots,X_{Hn_H}\) are independent conditional on a common mean \(\theta\), with \(X_{Ci}\sim N(\theta,\sigma^2)\) and \(X_{Hj}\sim N(\theta,\sigma^2)\). The sampling variance \(\sigma^2\) is known and shared by both data sources. Put a proper normal prior on the mean, \(\theta\sim N(\mu_0,\tau_0^2)\), independent of the data. For this tutorial, \(a\) is fixed rather than estimated from these observations.

Write \(\bar{x}_C\) and \(\bar{x}_H\) for the observed current and historical sample means. Up to factors that do not depend on \(\theta\), the current likelihood is proportional to \(\exp\{-n_C(\theta-\bar{x}_C)^2/(2\sigma^2)\}\). The historical likelihood raised to \(a\) is proportional to \(\exp\{-a n_H(\theta-\bar{x}_H)^2/(2\sigma^2)\}\). Thus the powered historical data contribute precision \(a n_H/\sigma^2\), not \(n_H/\sigma^2\).

Completing the square in the product of the prior and both likelihood contributions gives the posterior variance \(V(a)\), precision \(P(a)\), and mean \(m(a)\):

$$ \begin{aligned} P(a) &= \frac{1}{\tau_0^2}+\frac{n_C}{\sigma^2} +\frac{a n_H}{\sigma^2},\\ V(a) &= \frac{1}{P(a)},\\ m(a) &= V(a)\left\{\frac{\mu_0}{\tau_0^2} +\frac{n_C\bar{x}_C}{\sigma^2} +\frac{a n_H\bar{x}_H}{\sigma^2}\right\},\\ \theta\mid \text{data},a &\sim N\bigl(m(a),V(a)\bigr). \end{aligned} $$

The three terms in \(P(a)\) are prior precision, current-data precision, and discounted historical precision. Each has units of inverse squared outcome units. The posterior variance depends on sample sizes, the known sampling variance, the prior variance, and \(a\), but not on either observed sample mean. By contrast, the posterior mean depends on the observed means as well as on their precision weights.

Why the Precision Changes

The posterior expression follows directly from the quadratic terms in the log density. Ignoring terms independent of \(\theta\), twice the negative log posterior is

$$ \frac{(\theta-\mu_0)^2}{\tau_0^2} +\frac{n_C(\theta-\bar{x}_C)^2}{\sigma^2} +\frac{a n_H(\theta-\bar{x}_H)^2}{\sigma^2}. $$

The coefficient of \(\theta^2\) in this expression is \(P(a)\). Completing the square therefore gives a normal posterior with variance \(1/P(a)\). This also justifies the interpretation of the historical contribution: multiplying the historical log likelihood by \(a\) multiplies its quadratic curvature, and hence its precision contribution, by \(a\).

Let \(P_0=1/\tau_0^2+n_C/\sigma^2\) be the precision without historical borrowing. Then

$$ P(a)=P_0+a\frac{n_H}{\sigma^2}, \qquad \frac{dP(a)}{da}=\frac{n_H}{\sigma^2}>0 \quad\text{if }n_H>0. $$

For fixed model inputs, increasing \(a\) therefore increases posterior precision and decreases posterior variance. Specifically,

$$ \frac{dV(a)}{da} =-\frac{n_H/\sigma^2}{P(a)^2}<0 \quad\text{if }n_H>0. $$

This is a statement about the model's calculated uncertainty, not a guarantee that the model is appropriate. If historical observations are not exchangeable with current controls for the estimand being analyzed, the formula can produce a more concentrated posterior around a misleading value.

Worked Example: Calculating the Precision Gain

Suppose a hypothetical trial measures mean change in systolic blood pressure in mmHg. For a simplified analysis, the known sampling variance is \(\sigma^2=100\ \text{mmHg}^2\). There are \(n_C=20\) current controls and \(n_H=40\) historical controls. The prior is \(N(0,400)\), with variance \(400\ \text{mmHg}^2\), and the fixed discount is \(a=0.25\). Calculate posterior precision and variance, first with and then without historical borrowing.

The prior precision is \(1/400=0.0025\ \text{mmHg}^{-2}\). Current-data precision is \(20/100=0.2000\ \text{mmHg}^{-2}\), while discounted historical precision is \(0.25(40/100)=0.1000\ \text{mmHg}^{-2}\). Thus

$$ P(0.25)=0.0025+0.2000+0.1000 =0.3025\ \text{mmHg}^{-2}, \qquad V(0.25)=\frac{1}{0.3025} =3.306\ \text{mmHg}^2. $$

Without historical borrowing, \(P(0)=0.0025+0.2000=0.2025\ \text{mmHg}^{-2}\), giving \(V(0)=1/0.2025=4.938\ \text{mmHg}^2\). The discount has added \(0.1000\ \text{mmHg}^{-2}\) of precision and reduced the posterior variance. This calculation alone does not tell us whether the posterior mean moves up or down; that depends on the historical mean.

Precision Is Not the Posterior-Mean Shift

The mean is a precision-weighted combination of the prior mean and the two sample means. To see how its direction of change depends on the historical outcome, define \(q_H=n_H/\sigma^2\) and let \(B=\mu_0/\tau_0^2+n_C\bar{x}_C/\sigma^2\). Then \(m(a)=(B+a q_H\bar{x}_H)/(P_0+a q_H)\). Differentiating this ratio gives

$$ \frac{dm(a)}{da} =\frac{q_H\{\bar{x}_H P(a)-[B+a q_H\bar{x}_H]\}}{P(a)^2} =\frac{q_H\{\bar{x}_H-m(a)\}}{P(a)}. $$

Since \(q_H>0\) and \(P(a)>0\), the mean moves toward the historical mean as \(a\) increases: it moves upward when \(\bar{x}_H>m(a)\) and downward when \(\bar{x}_H<m(a)\). The posterior variance, in contrast, decreases with \(a\) regardless of the sample means under the stated model. The same precision gain can therefore accompany very different mean shifts in different data sets.

Worked Example: Same Precision, Different Mean Shifts

Consider two hypothetical analyses with \(\sigma^2=16\), \(n_C=10\), \(n_H=20\), prior \(N(0,100)\), and \(a=0.4\). In both analyses, the current sample mean is \(\bar{x}_C=2\). Compare historical means of \(-2\) and \(2\). All outcomes are in the same measurement units.

The prior precision is \(0.01\), current precision is \(10/16=0.625\), and discounted historical precision is \(0.4(20/16)=0.500\). Thus both analyses have \(P(a)=1.135\) and \(V(a)=1/1.135=0.8811\). Without borrowing, the posterior mean is \((0.01(0)+0.625(2))/0.635=1.969\).

If \(\bar{x}_H=-2\), the posterior mean becomes

$$ m(0.4)= \frac{0.01(0)+0.625(2)+0.500(-2)}{1.135} =\frac{0.250}{1.135} =0.2203. $$

If instead \(\bar{x}_H=2\), it becomes

$$ m(0.4)= \frac{0.01(0)+0.625(2)+0.500(2)}{1.135} =\frac{2.250}{1.135} =1.982. $$

The posterior variance is identical because the sample sizes, variances, prior variance, and discount are identical. The means differ because the historical outcomes differ: the first historical mean pulls the posterior downward, while the second pulls it upward. Precision alone does not describe the direction or practical size of the mean shift.

Boundary Cases and a Further Calculation

At \(a=0\), the historical likelihood contributes no precision or mean weight, so the analysis uses only the prior and current controls. At \(a=1\), the historical likelihood is included at its full model-based weight, and its precision contribution is \(n_H/\sigma^2\). These are algebraic limits for this model; full borrowing is not automatically justified by setting \(a=1\).

Worked Example: Comparing a Partial Discount With Full Borrowing

Use \(\sigma^2=25\ \text{units}^2\), \(n_C=12\), \(n_H=30\), prior variance \(\tau_0^2=100\ \text{units}^2\), and \(\bar{x}_H=5\) units. Calculate the increase in precision from \(a=0\) to \(a=0.6\), and from \(a=0.6\) to \(a=1\). The observed means are not needed for this precision calculation.

The prior precision is \(0.0100\ \text{units}^{-2}\), current precision is \(12/25=0.4800\ \text{units}^{-2}\), and full historical precision is \(30/25=1.200\ \text{units}^{-2}\). Therefore

$$ \begin{aligned} P(0)&=0.0100+0.4800=0.4900\ \text{units}^{-2},\\ P(0.6)&=0.4900+0.6(1.200)=1.210\ \text{units}^{-2},\\ P(1)&=0.4900+1.200=1.690\ \text{units}^{-2}. \end{aligned} $$

The increase from zero borrowing to \(a=0.6\) is \(1.210-0.4900=0.7200\ \text{units}^{-2}\). The further increase from \(a=0.6\) to full borrowing is \(1.690-1.210=0.4800\ \text{units}^{-2}\). These gains are proportional to the change in \(a\): each unit increase in the discount adds \(1.200\ \text{units}^{-2}\). The historical mean of 5 units would enter the posterior mean, but it cannot alter these precision calculations.

Assumptions, Diagnostics, and Alternatives

The formula is exact under the specified model, but its scientific use depends on substantive conditions. Current and historical controls must target a common \(\theta\); the outcome definition and measurement scale must be aligned; observations must be independent conditional on \(\theta\); and the common known \(\sigma^2\) must be appropriate. The normal likelihood also presumes that the modeled sampling distribution is adequately represented by the stated normal model. A fixed \(a\) scales the historical likelihood; it does not correct differences in estimands, outcome ascertainment, or sampling variance.

Before interpreting a precision gain, examine whether the historical controls are plausibly comparable with current controls. Useful checks include comparing the endpoint definition, eligibility and follow-up procedures, examining observed outcome distributions and variability, and considering calendar-time or care changes that could affect the control mean. Large discrepancies are warnings that the common-mean assumption may be implausible. Agreement does not prove exchangeability, particularly when historical sample sizes are small or relevant differences were not measured.

The principal alternatives answer different modeling questions. With no borrowing, set \(a=0\); this avoids historical influence but forgoes any useful information. With full borrowing, set \(a=1\); this uses the historical likelihood at its full assumed sampling precision and depends strongly on the common-mean and common-variance assumptions. A fixed intermediate discount reduces the historical contribution by a chosen amount, but still assumes the same underlying mean and variance structure. A model that explicitly allows study means or variances to differ can represent heterogeneity more directly, at the cost of additional assumptions and parameters. These approaches are not interchangeable: a smaller posterior variance from a fixed discount is not evidence that the historical and current data are compatible.

A frequent mistake is to say, “The historical mean is far from the current mean, so it must increase posterior uncertainty.” Under this known-variance normal model, that is incorrect: \(V(a)\) contains no sample means, so a fixed \(a\) produces the same posterior variance whether the historical and current means agree or disagree. The discrepancy can substantially shift \(m(a)\), and it can indicate model failure, but it does not change the formula's precision. Conversely, a smaller posterior variance should not be described as proof of greater accuracy if the shared-mean assumption is doubtful.

Key takeaway: In the conjugate normal model with known common variance, discounting adds \(a n_H/\sigma^2\) to posterior precision. This determines posterior variance. The historical mean affects posterior location, not posterior precision; compatibility of the historical data remains a separate scientific question.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. If \(n_H=24\), \(\sigma^2=36\), and \(a=0.5\), what precision does the historical likelihood contribute?
  2. In the stated model, two analyses have the same prior variance, sample sizes, sampling variance, and discount but different sample means. Must their posterior variances match? Why?
  3. With \(a=0\), what happens to the historical contribution? Does this set the prior precision to zero?
  4. Suppose the historical mean is below the current posterior mean. In which direction does increasing \(a\) move the posterior mean, and what happens to posterior variance?

Solutions. (1) The contribution is \(a n_H/\sigma^2=0.5(24)/36=0.3333\) in inverse squared outcome units. (2) Yes. Their posterior precision is \(1/\tau_0^2+n_C/\sigma^2+a n_H/\sigma^2\), which does not involve sample means, so their posterior variances match. (3) The historical contribution is zero, while the prior precision remains \(1/\tau_0^2\); only the historical likelihood is removed. (4) The mean moves downward toward the historical mean, since \(dm(a)/da=(n_H/\sigma^2)\{\bar{x}_H-m(a)\}/P(a)<0\). Posterior variance decreases as \(a\) increases, provided \(n_H>0\).

Clinical Biostats