Why Mixture Weights Change
A robust borrowing prior represents uncertainty about how informative historical evidence should be for the current trial. One component may borrow more strongly from historical information; a protective component is intended to limit borrowing when current observations conflict with that information. The component weights assigned before observing the current data need not remain the weights after observing them. Bayes’ rule updates those probabilities according to how well each component predicts the data.
This tutorial concerns that update in isolation: the posterior probability of each component. It does not derive the parameter distribution conditional on each component or combine those distributions into a robust mixture posterior. Those are separate calculations. Here, the key question is: after seeing the current trial data, how much posterior probability is assigned to each prior component?
The marginal likelihood is also called the prior predictive probability or density under a component. It is not the likelihood evaluated at one selected parameter value: it averages the likelihood over that component’s prior. Each component must use the same observed data and sampling model. If the data are continuous, marginal likelihoods are densities evaluated at the same data value, so their ratio is dimensionless even though each density has units.
Bayes’ Rule for Component Probabilities
For two components, the events \(C=B\) and \(C=P\) are mutually exclusive and exhaustive. The total predictive probability or density of the observed data is therefore the weighted sum of the component marginal likelihoods. Applying Bayes’ rule gives the updated weight for each component.
The expressions can also be written in odds form. Provided both prior weights and both marginal likelihoods are positive, posterior odds equal prior odds multiplied by the marginal likelihood ratio:
The ratio \(m_P(y)/m_B(y)\) measures the relative predictive support that the observed data receive under the two components. If it exceeds 1, the data shift the odds toward the protective component; if it is below 1, they shift the odds toward the borrowing component. The shift is relative: a component can be favored by the data and still have a posterior weight below one half if its prior weight was sufficiently small.
Assumptions and a Short Derivation
The calculation assumes that the component set and prior weights were specified before observing the data; that the components are mutually exclusive and exhaustive; and that each component supplies a well-defined predictive distribution for the same data under the same observation process. The marginal likelihood must integrate over all unknown parameters within that component using its stated prior. The data should not be counted twice—for example, by using the same current observations both to choose a component and again to update its weight as if that choice had been independent of the observations.
To derive the formula, consider the joint probability or density of the observed data and a component. By the definition of conditional probability, \(p(y,C=j)=P(C=j)p(y\mid C=j)=\pi_jm_j(y)\). Summing over the possible components gives \(p(y)=\sum_k\pi_km_k(y)\). Dividing the joint quantity by this total yields the posterior component probability:
For more than two components, the same expression applies, with the denominator summed over every component. Since all prior weights and marginal likelihoods are nonnegative, the resulting posterior weights are nonnegative. Their sum is 1 because the sum of their numerators is exactly the denominator. If a component has prior weight zero, its posterior weight remains zero under this update; data alone cannot restore a component excluded by the prior.
Updating Weights in Hypothetical Trial Examples
The following examples use hypothetical predictive probabilities for specified categories of trial outcomes. They illustrate the weight calculation without requiring a particular parametric prior family. In each case, the component probabilities are assumed to have been obtained by integrating the component’s likelihood over its prior. The categories and probabilities are chosen to make those predictive distributions explicit and comparable.
Worked Example: Conflict Shifts Weight Toward Protection
Suppose a hypothetical trial outcome is classified as either “low response” or “other.” The borrowing component assigns probabilities \(0.04\) and \(0.96\) to those categories, respectively; the protective component assigns probabilities \(0.20\) and \(0.80\). The observed result is low response. Before observing it, the weights are \(\pi_B=0.80\) and \(\pi_P=0.20\). Find and interpret the posterior weights.
The observed category has marginal likelihoods \(m_B(y)=0.04\) and \(m_P(y)=0.20\). The weighted contributions to the total predictive probability are \(0.80(0.04)=0.032\) for borrowing and \(0.20(0.20)=0.040\) for protection. Thus,
and \(P(C=B\mid y)=0.032/0.072=0.4444\). Although protection began with only 20% prior weight, the observed low-response category was five times as probable under the protective component: \(0.20/0.04=5\). That predictive advantage changes the posterior odds from \(0.20/0.80=0.25\) to \(0.25(5)=1.25\), corresponding to a protective posterior weight of \(1.25/(1+1.25)=0.5556\). The result indicates increased posterior support for the protective component, not proof that the borrowed information is invalid.
Worked Example: Opposing Observations Partly Offset
In a second hypothetical trial, consider two prespecified outcome summaries, \(Y_1\) and \(Y_2\), that are assumed independent conditional on the component. The observed \(Y_1\) category has predictive probabilities \(0.30\) under borrowing and \(0.10\) under protection. The observed \(Y_2\) category has probabilities \(0.20\) under borrowing and \(0.50\) under protection. Let the prior weights be \(\pi_B=0.60\) and \(\pi_P=0.40\). Calculate the posterior weights.
By the stated conditional independence assumption, the joint marginal likelihood for the observed pair is the product of the two component-specific probabilities:
The joint predictive probability is \(0.60(0.060)+0.40(0.050)=0.036+0.020=0.056\). Therefore,
The first observation favors borrowing by a factor of \(0.30/0.10=3\); the second favors protection by a factor of \(0.50/0.20=2.5\). Their combined marginal likelihood ratio for borrowing versus protection is \(0.060/0.050=1.2\), so the evidence only modestly favors borrowing overall. The prior odds for borrowing were \(0.60/0.40=1.5\), giving posterior odds \(1.5(1.2)=1.8\). This example depends on conditional independence; if the summaries were dependent, multiplying their separate probabilities would generally be incorrect. The joint marginal likelihood would need to account for that dependence.
Worked Example: Strong Evidence Can Overcome a Small Prior Weight
Suppose a hypothetical current-trial result falls in a category that has predictive probability \(0.01\) under the borrowing component and \(0.40\) under the protective component. The remaining category has probabilities \(0.99\) and \(0.60\), so each predictive distribution sums to 1. The prior weights are \(\pi_B=0.95\) and \(\pi_P=0.05\). Find the updated protective weight.
The total predictive probability of the observed category is \(0.95(0.01)+0.05(0.40)=0.0095+0.0200=0.0295\). Hence,
The posterior borrowing weight is \(0.0095/0.0295=0.3220\). The observed category is 40 times as probable under protection as under borrowing, so posterior protective-to-borrowing odds are \((0.05/0.95)(0.40/0.01)=2.105\). A small prior protective weight therefore does not prevent a large posterior weight when the data are much better predicted by that component. This update does not establish that the protective model is correct; it quantifies the result under the prespecified pair of models.
Reading the Update and Checking the Calculation
The central interpretation is comparative predictive fit. A shift toward the protective component means the observed data are more supportive of that component relative to the borrowing component than they were before the data were observed. It does not mean that the posterior probability that a particular historical study is exchangeable has been directly measured, nor that the probability of a parameter value has changed by the same amount. The weights concern the latent component label in the specified prior mixture.
A practical check is to calculate both the normalized weights and their odds form. They should agree, and the posterior weights should sum to 1. It is also useful to inspect the individual marginal likelihoods and the ratio between them. An extreme ratio can be an appropriate response to conflict, but it can also signal a component that assigns implausibly little predictive probability to ordinary outcomes. Check that:
- Each component predicts the same data in the same representation and on a compatible probability or density scale.
- Each marginal likelihood reflects integration over that component’s prior, not just a selected parameter value.
- The prior weights are the prespecified weights before seeing the current data and sum to 1.
- The likelihood includes the observed data once, with any dependence among outcomes handled correctly.
- The protective component has meaningful predictive support for plausible conflict patterns; a component that is too narrow may fail to protect, while an excessively diffuse component may receive a small marginal likelihood even when it allows the observed result.
A zero marginal likelihood for a component makes its posterior weight zero whenever another component gives the data positive predictive probability. That can happen because the model rules out the observation, but in practice it may reveal a coding error, incompatible outcome definitions, or an overly restrictive component. If every component assigns zero probability or density to the observation, the model does not define a posterior update for that data point; the model or data representation must be examined rather than forcing a normalization.
Alternatives, Uses, and Limitations
One alternative is to keep the mixture weights fixed after observing the data. That may be useful when weights are intended as externally imposed design weights rather than probabilities to be updated, but it is not the Bayesian posterior component-weight calculation described here. Another alternative is hard selection: choose whichever component has the larger marginal likelihood and discard the other. That loses uncertainty about component membership. Posterior weighting instead retains both components when both have positive posterior weight. It is a form of Bayesian model averaging at the component-indicator level, but the weights alone do not provide the full parameter posterior.
These weights are sensitive to the prior specifications because the marginal likelihood averages over each component’s entire prior distribution. A component can fit a particular observation poorly on average even if it includes parameter values that fit it well. Accordingly, a posterior weight should not be interpreted without considering how each component was constructed and what data it predicts. In a clinical trial, the update can communicate how strongly current observations shift the prespecified balance between borrowing and protection, but it cannot compensate for an inappropriate likelihood, an unrepresentative historical source, or an incomplete set of components.
A common mistake is to reason, “The observed data are unlikely under the borrowing component, so the borrowing component’s posterior probability must be zero.” The correction is that posterior probability depends on both marginal likelihoods and prior weights. Unless the borrowing marginal likelihood is exactly zero, its posterior weight may remain positive; even a relatively small borrowing marginal likelihood can produce substantial posterior weight if its prior weight is large enough. Conversely, a protective component is not automatically favored just because it was designed to guard against conflict: the observed data must provide relative predictive support for it.
Check Your Understanding
Work through each question, then compare your reasoning with the solutions.
- A two-component mixture has prior weights \(\pi_B=0.70\) and \(\pi_P=0.30\). For the observed data, \(m_B(y)=0.10\) and \(m_P(y)=0.20\). Calculate both posterior weights.
- In odds form, what does a marginal likelihood ratio \(m_P(y)/m_B(y)=0.25\) do to the prior protective-to-borrowing odds?
- Why can multiplying two observed outcome probabilities to obtain a joint marginal likelihood be wrong?
- If \(\pi_P=0\), can a positive protective-component marginal likelihood give the protective component positive posterior weight? Explain.
Solutions. (1) The denominator is \(0.70(0.10)+0.30(0.20)=0.07+0.06=0.13\). Thus \(P(C=B\mid y)=0.07/0.13=0.5385\), and \(P(C=P\mid y)=0.06/0.13=0.4615\). (2) The ratio multiplies the prior protective-to-borrowing odds by \(0.25\), shifting the odds toward borrowing. (3) Multiplication assumes conditional independence of the outcomes given the component. If they are dependent, their joint marginal likelihood must account for their joint distribution. (4) No. The numerator \(\pi_Pm_P(y)\) is zero, so the posterior protective weight remains zero if the total predictive density is positive.