Tutorials › Bayesian Clinical Trials › Interpreting The Heterogeneity Parameter

Hierarchical Models and Basket Trials · Tutorial 464 of 696

Interpreting The Heterogeneity Parameter

Interpret the heterogeneity standard deviation on its model scale and convert representative values into meaningful differences among subgroup treatment effects.

Advanced 11 min read

What You'll Learn

  • Define the heterogeneity standard deviation in a hierarchical treatment-effect model.
  • Distinguish variation among subgroup effects from uncertainty about that variation.
  • Translate heterogeneity on log-odds and log-hazard scales into multiplicative effect comparisons.
  • Calculate the standard deviation of a pairwise subgroup-effect difference.
  • Recognize when a scale or model makes a simple interpretation misleading.

What the Heterogeneity Parameter Measures

In a basket trial, the treatment effect may differ across clinical subgroups even when those subgroups are treated as exchangeable. A hierarchical model represents that variation with a distribution for subgroup effects. The parameter that controls the spread of this distribution is often called the between-subgroup heterogeneity standard deviation. Its interpretation depends on the scale on which the effects are modeled.

Let \(\theta_j\) denote the treatment effect for subgroup \(j\), and let \(\mu_\theta\) denote the mean of the subgroup-effect distribution. A common model is

$$ \theta_j \mid \mu_\theta,\tau \sim N(\mu_\theta,\tau^2), \qquad j=1,\ldots,J. $$

Here \(\tau\geq 0\) is the between-subgroup standard deviation. Conditional on the shared parameters, the model treats subgroup effects as draws from a normal distribution centered at \(\mu_\theta\), with variance \(\tau^2\). Thus \(\tau\) measures the modeled spread of the subgroup effects around their mean, in the units of \(\theta_j\). It is not a standard error for an individual subgroup estimate and is not the uncertainty in \(\mu_\theta\).

Definition: In a normal hierarchical model for subgroup effects, the heterogeneity parameter \(\tau\) is the standard deviation of the distribution of subgroup effects around their shared mean, conditional on the model’s hyperparameters. Its units and direct interpretation are those of the effect scale used for \(\theta_j\).

That last qualification is essential. If \(\theta_j\) is a risk difference, \(\tau\) is measured in probability units. If \(\theta_j\) is a log odds ratio, \(\tau\) is measured in log-odds-ratio units—not odds-ratio units. A numerical value of \(\tau\) cannot be judged without first identifying the effect scale and coding direction.

The model describes variation across the subgroup effects, not variation among patients within a subgroup. Patient-level outcome variability is represented elsewhere in the outcome model. Likewise, \(\tau\) is not the observed standard deviation of the subgroup estimates: those estimates also reflect sampling error, which can be substantial in small baskets.

From a Standard Deviation to Effect Differences

A standard deviation is a scale summary, not a statement that every pair of subgroup effects differs by exactly \(\tau\). Under the normal model, about 68% of subgroup effects lie within one \(\tau\) of \(\mu_\theta\), and about 95% lie within roughly \(1.96\tau\), when the distributional assumptions hold. These are proportions under the modeled distribution conditional on its parameters; they are not credible intervals for a particular subgroup’s effect.

A useful translation is to compare two subgroup effects. Conditional on \(\mu_\theta\) and \(\tau\), suppose the effects for distinct subgroups are independent draws from the stated normal distribution. Their difference has mean zero and variance \(2\tau^2\). The derivation is short but important:

$$ \begin{aligned} \theta_j-\theta_k &\sim N\left(\mu_\theta-\mu_\theta,\ \tau^2+\tau^2\right)\\ &=N(0,2\tau^2), \qquad j\ne k,\\ SD(\theta_j-\theta_k\mid\mu_\theta,\tau)&=\sqrt{2}\,\tau. \end{aligned} $$

The variance adds because the two subgroup effects are conditionally independent. Consequently, a difference of one \(\tau\) is not the standard deviation of a pairwise difference; that quantity is \(\sqrt{2}\tau\). Under the same normal model, roughly 95% of pairwise differences fall between \(-1.96\sqrt{2}\tau\) and \(1.96\sqrt{2}\tau\). This describes the model’s conditional distribution of differences, not the posterior uncertainty about a realized pairwise contrast.

On a transformed scale, it can be helpful to translate differences back to the clinical effect scale. For a log odds ratio, for example, a difference of \(d\) between two subgroup effects corresponds to an odds-ratio ratio of \(\exp(d)\). The direction of that ratio depends on how treatment effects and subgroup contrasts are coded.

Worked Example: Heterogeneity in Log Odds Ratios

Suppose a hypothetical basket-trial model assigns each subgroup a treatment log odds ratio \(\theta_j\), with \(\mu_\theta=-0.40\) and \(\tau=0.25\). Negative values favor treatment under the stated coding. Interpret the heterogeneity in odds-ratio terms.

One standard deviation on the modeled scale. A subgroup effect one \(\tau\) above the mean is \(-0.40+0.25=-0.15\); one \(\tau\) below is \(-0.40-0.25=-0.65\). These are log odds ratios. Exponentiating gives \(\exp(-0.15)=0.861\) and \(\exp(-0.65)=0.522\). Thus the two one-standard-deviation locations correspond to odds ratios of about 0.861 and 0.522, respectively, around the mean effect’s odds ratio \(\exp(-0.40)=0.6703\).

The standard deviation of a pairwise log-odds-ratio difference is

$$ \sqrt{2}\tau=\sqrt{2}(0.25)=0.3536. $$

Exponentiating this difference gives \(\exp(0.3536)=1.424\). A pairwise log-odds-ratio difference of one pairwise standard deviation therefore corresponds to an odds-ratio ratio of about 1.424 (or its reciprocal, 0.702, for the reverse ordering). This is a distributional summary, not a claim that any two observed subgroups must differ by that amount.

For scale, the model’s central 95% range of subgroup effects around \(\mu_\theta\) is approximately \(-0.40\pm1.96(0.25)\), or \([-0.890,\ 0.090]\) on the log odds-ratio scale. Exponentiating the endpoints gives odds ratios from approximately 0.411 to 1.094. This range describes the conditional subgroup-effect distribution if its parameters are fixed at the stated values; it is not a 95% posterior credible interval for a particular subgroup.

Interpreting Other Effect Scales

On an untransformed scale, interpretation is often more direct, but the scale’s allowable range matters. For a risk difference, effects are measured in probability units, so multiplying by 100 expresses them in percentage points. For a log hazard ratio, \(\tau\) is on the log hazard-ratio scale; exponentiating a difference between subgroup effects gives a ratio of hazard ratios. These translations are useful only when the underlying effect definition and model assumptions are appropriate.

Worked Example: Heterogeneity in Risk Differences

Suppose a hypothetical model for treatment risk differences has mean \(\mu_\theta=-0.10\) and heterogeneity standard deviation \(\tau=0.04\). Define a negative risk difference as a reduction in risk with treatment. Translate the standard deviation and a pairwise difference into percentage points.

The value \(0.04\) is four percentage points. A subgroup effect one standard deviation above the mean is \(-0.10+0.04=-0.06\), a reduction of 6 percentage points. One standard deviation below the mean is \(-0.10-0.04=-0.14\), a reduction of 14 percentage points.

For two subgroups, the conditional standard deviation of the difference is

$$ \sqrt{2}(0.04)=0.05657, $$

or about 5.66 percentage points. The model’s approximate central 95% range around the mean is \(-0.10\pm1.96(0.04)=[-0.1784,\ -0.0216]\), corresponding to reductions of about 17.8 to 2.16 percentage points. A normal distribution on the risk-difference scale has unbounded tails, so it can assign probability to impossible effects outside \([-1,1]\). Whether this is material depends on the model and parameter values; if it is, a bounded effect model or a different link-scale model may be more suitable.

Worked Example: Heterogeneity in Log Hazard Ratios

Consider a hypothetical model in which subgroup treatment effects are log hazard ratios, with \(\mu_\theta=-0.20\) and \(\tau=0.15\). Under the model’s coding, a negative log hazard ratio indicates a lower hazard under treatment. Interpret a one-standard-deviation shift and a pairwise difference.

The mean hazard ratio is \(\exp(-0.20)=0.8187\). Effects one \(\tau\) above and below the mean are \(-0.05\) and \(-0.35\), whose hazard ratios are \(\exp(-0.05)=0.9512\) and \(\exp(-0.35)=0.7047\). Thus the one-standard-deviation shift is \(0.15\) on the log hazard-ratio scale; it is not an additive change of 0.15 in the hazard ratio.

The pairwise standard deviation on the log scale is \(\sqrt{2}(0.15)=0.2121\). Exponentiating gives \(\exp(0.2121)=1.236\). In this model, a pairwise difference of one such standard deviation corresponds to a ratio of hazard ratios of about 1.236. This interpretation presumes that subgroup treatment effects are meaningfully represented by the model’s hazard-ratio parameter, including the proportional-hazards assumptions used to define it.

Posterior Uncertainty and Model Checks

In Bayesian analysis, \(\tau\) is unknown and has a posterior distribution, informed by the data and the hyperprior. A posterior mean or median of \(\tau\) summarizes that distribution, while a posterior credible interval communicates uncertainty about its value. For example, a posterior probability such as \(P(\tau<0.20\mid\text{data})\) is a probability statement about the heterogeneity parameter conditional on the model and observed data. It is not the probability that all subgroup effects are close together.

When making a statement about a pairwise difference, uncertainty in \(\tau\), \(\mu_\theta\), and the subgroup effects also matters. The arithmetic \(\sqrt{2}\tau\) applies conditional on fixed hyperparameters and the conditional independence assumption. It is not, by itself, a posterior interval for the difference between two named subgroups. Keep the interpretation of the model parameter distinct from posterior summaries of specific subgroup contrasts.

Several checks help prevent overinterpretation:

  • Confirm the effect scale. A value of 0.20 means different things for a risk difference, a log odds ratio, and a standardized mean difference.
  • Check the treatment-effect coding. Reversing the treatment contrast changes signs. It does not change the standard deviation, but it changes which direction is described as beneficial.
  • Read the posterior spread, not just a point summary. A wide posterior for \(\tau\) means the data do not pin down the amount of heterogeneity precisely.
  • Assess whether the assumed distribution is plausible. A normal distribution on a bounded scale may permit impossible values, while a symmetric distribution may poorly represent genuinely asymmetric subgroup effects.
  • Separate effect heterogeneity from estimation noise. Subgroup estimates can appear widely scattered because they are imprecise; their observed spread is not automatically an estimate of \(\tau\).

How the Interpretation Relates to Pooling

The heterogeneity standard deviation gives a model-scale description of how much subgroup effects vary; it also clarifies the assumptions behind different pooling strategies. In a complete-pooling model, all subgroup effects are constrained to be equal, so there is no between-subgroup spread. In a no-pooling analysis, each effect is estimated separately and no common distribution governs their variation. A hierarchical model instead allows variation while relating subgroup effects through a shared distribution. The familiar distinction among complete pooling, no pooling, and partial pooling is useful here, but \(\tau\) should not be treated as a direct numerical measure of how much borrowing occurs: borrowing also depends on the data and other model features.

A particularly common mistake is to say, “\(\tau=0.25\), so subgroup odds ratios differ by 0.25.” That reasoning treats a log odds ratio as though it were an odds ratio. The correction is to keep the scale explicit: \(\tau=0.25\) is a standard deviation of log odds ratios; a log-scale difference \(d\) translates to an odds-ratio ratio \(\exp(d)\). Another mistake is to call \(\tau\) the standard error of a subgroup treatment effect. It measures modeled between-subgroup dispersion; uncertainty about an individual effect is a separate posterior quantity.

Key takeaway: Interpret \(\tau\) first in the units of the modeled effect. Then, when useful, translate a one-standard-deviation shift or a pairwise difference to the clinical scale. Keep model-based dispersion, sampling uncertainty, and posterior uncertainty about specific effects distinct.

Check Your Understanding

Answer each question using the stated normal hierarchical model and keep the effect scale explicit.

  1. For log odds ratios with \(\tau=0.30\), what is the standard deviation of a pairwise difference, and what odds-ratio ratio corresponds to that difference?
  2. For risk differences with \(\tau=0.025\), express the heterogeneity standard deviation in percentage points.
  3. Why is \(\tau\) not the standard error of a subgroup treatment-effect estimate?
  4. If a posterior summary gives \(\tau=0.10\) for log hazard ratios, can one say subgroup hazard ratios differ by 0.10? Explain.

Solutions. (1) The pairwise standard deviation is \(\sqrt{2}(0.30)=0.4243\) log-odds-ratio units. The corresponding odds-ratio ratio is \(\exp(0.4243)=1.529\). (2) \(0.025\times100=2.5\) percentage points. (3) \(\tau\) describes the model’s between-subgroup spread; a subgroup estimate’s standard error describes sampling uncertainty in that estimate. (4) No. The value is a standard deviation on the log hazard-ratio scale. A log-scale difference \(d=0.10\) corresponds to a hazard-ratio ratio of \(\exp(0.10)=1.105\), and the posterior summary of \(\tau\) does not assert that every pair differs by that amount.

Clinical Biostats