Tutorials › Multi-Arm Multi-Stage (MAMS) Designs › Shared-Control Covariance in Selected Effect Estimates

Treatment-Effect Estimation After Selection · Tutorial 245 of 499

Shared-Control Covariance in Selected Effect Estimates

Learn how a shared control induces covariance between treatment-effect estimates and how that covariance changes the distribution of an estimate conditional on winning selection.

Advanced 11 min read

What You'll Learn

  • Derive the covariance of two treatment-control estimates that use the same control group.
  • Distinguish the variance of each contrast from the variance of their difference.
  • Relate shared-control covariance to the probability of selecting one arm over another.
  • Calculate a selected estimate’s conditional mean and variance in a two-arm comparison.
  • Diagnose the errors caused by treating shared-control contrasts as independent.

Why a Shared Control Matters After Selection

In a multi-arm trial, several treatment effects may be estimated against the same control group. Each estimate has uncertainty, but the estimates are not independent: a control sample mean that happens to be low raises every treatment-minus-control estimate, while a high control mean lowers them all. This dependence matters especially when an arm is selected using the estimated effects. The estimates being compared, and the selection event itself, are linked.

This tutorial derives that dependence under a normal sampling model and follows its consequences for a comparison of two arms. The focus is the covariance created by sharing a control, not a general treatment of selection among arbitrary correlated contrasts.

Model and Covariance Derivation

Suppose independent samples are observed in control, treatment arm 1 and treatment arm 2. Let their sample means be \(\bar{X}_0,\bar{X}_1,\bar{X}_2\), and let their population means be \(\theta_0,\theta_1,\theta_2\). Assume outcomes within each group are independent and normally distributed, the groups are mutually independent, and the relevant population variances are known. Thus \(\bar{X}_i\sim N(\theta_i,v_i)\), where \(v_i=\sigma_i^2/n_i\) is the variance of the sample mean in group \(i\). These assumptions make the contrasts jointly normal. In applications, the variances may instead be estimated; the exact normal calculations below then serve as a model-based approximation.

Define the treatment-effect estimates as differences in sample means, with positive values favoring treatment:

$$ \hat{\delta}_1=\bar{X}_1-\bar{X}_0,\qquad \hat{\delta}_2=\bar{X}_2-\bar{X}_0, $$

Their expectations are \(\delta_1=\theta_1-\theta_0\) and \(\delta_2=\theta_2-\theta_0\). Each contrast includes the same random control mean. By linearity of covariance and independence of the three group means,

$$ \begin{aligned} \operatorname{Cov}(\hat{\delta}_1,\hat{\delta}_2) &=\operatorname{Cov}(\bar{X}_1-\bar{X}_0,\bar{X}_2-\bar{X}_0)\\ &=\operatorname{Cov}(\bar{X}_1,\bar{X}_2) -\operatorname{Cov}(\bar{X}_1,\bar{X}_0) -\operatorname{Cov}(\bar{X}_0,\bar{X}_2) +\operatorname{Var}(\bar{X}_0)\\ &=v_0. \end{aligned} $$

The individual variances and the correlation therefore are

$$ \operatorname{Var}(\hat{\delta}_1)=v_1+v_0,\qquad \operatorname{Var}(\hat{\delta}_2)=v_2+v_0,\qquad \operatorname{Corr}(\hat{\delta}_1,\hat{\delta}_2) =\frac{v_0}{\sqrt{(v_1+v_0)(v_2+v_0)}}. $$
Key result: With independent treatment groups and one shared control group, the covariance between two treatment-minus-control estimates is the variance of the shared control mean, \(v_0\). It is positive when the control mean has positive sampling variance.

The positive covariance does not mean the treatment estimates are identical or that every difference between them is small. It means their random movements include a common component. In particular, subtracting one contrast from the other cancels that component:

$$ Q=\hat{\delta}_1-\hat{\delta}_2=\bar{X}_1-\bar{X}_2,\qquad E(Q)=\delta_1-\delta_2,\qquad \operatorname{Var}(Q)=v_1+v_2. $$

The control contributes to the marginal variance of each estimate, but not to the variance of their difference. This distinction is central when selection compares the two effects.

Worked Example: Computing the Shared-Control Covariance

Suppose a hypothetical trial has sample-mean variances \(v_0=4\), \(v_1=1\) and \(v_2=2\), in squared outcome units. The two estimated treatment effects both use the control mean.

The marginal variances are \(1+4=5\) for \(\hat{\delta}_1\) and \(2+4=6\) for \(\hat{\delta}_2\). The shared-control derivation gives

$$ \operatorname{Cov}(\hat{\delta}_1,\hat{\delta}_2)=v_0=4 $$

in squared outcome units. Hence their correlation is \(4/\sqrt{5\cdot6}=0.7303\). The variance of their difference is \(5+6-2(4)=3\), which also equals \(v_1+v_2=1+2=3\). The numerical agreement checks that the common control component cancels from the comparison.

How Dependence Enters a Selection Event

Suppose the arm with the larger estimated treatment effect is selected. Arm 1 wins when \(Q>0\), where \(Q=\hat{\delta}_1-\hat{\delta}_2\). Under the stated model, \(Q\sim N(\mu,s^2)\), with \(\mu=\delta_1-\delta_2\) and \(s=\sqrt{v_1+v_2}\). The probability that arm 1 wins is \(P(Q>0)=\Phi(\mu/s)\), where \(\Phi\) is the standard normal cumulative distribution function.

To understand the selected estimate, note that the covariance between \(\hat{\delta}_1\) and the comparison \(Q\) is

$$ \operatorname{Cov}(\hat{\delta}_1,Q) =\operatorname{Var}(\hat{\delta}_1)-\operatorname{Cov}(\hat{\delta}_1,\hat{\delta}_2) =(v_1+v_0)-v_0=v_1. $$

Thus the shared control raises the covariance between the two effects, but cancels from the covariance between arm 1’s estimate and the difference used to select it. For jointly normal variables, the conditional mean of \(\hat{\delta}_1\) given \(Q\) is its mean plus \(\operatorname{Cov}(\hat{\delta}_1,Q)/s^2\) times \(Q-\mu\). Averaging this expression over \(Q>0\) gives the conditional mean after arm 1 wins.

For clarity, set \(a=-\mu/s\) and \(\lambda(a)=\phi(a)/[1-\Phi(a)]\), where \(\phi\) is the standard normal density. Truncating a normal variable below at zero gives \(E(Q\mid Q>0)=\mu+s\lambda(a)\). Therefore,

$$ \begin{aligned} E(\hat{\delta}_1\mid Q>0) &=\delta_1+\frac{v_1}{s^2}\{E(Q\mid Q>0)-\mu\}\\ &=\delta_1+\frac{v_1}{s}\lambda(a). \end{aligned} $$

The added term is positive: among repetitions in which arm 1 wins, its estimate tends to be higher than its unconditional mean. The amount depends on the treatment-arm sampling variance \(v_1\), the variability \(s\) of the comparison, and how difficult it is for arm 1 to win, as encoded by \(a\). The control variance \(v_0\) does not appear in this two-arm conditional-mean expression because the same control contribution cancels in the selection comparison.

Worked Example: Conditional Mean of the Winning Estimate

Consider a hypothetical trial with \(v_0=4\), \(v_1=v_2=1\), and equal true effects \(\delta_1=\delta_2=0\) outcome units. Then \(Q\) has mean zero and variance \(1+1=2\), so \(s=\sqrt{2}=1.414\), and arm 1 wins with probability \(0.5\). Here \(a=0\) and \(\lambda(0)=\phi(0)/[1-\Phi(0)]=0.3989/0.5=0.7979\).

The conditional mean estimate among trials in which arm 1 wins is

$$ E(\hat{\delta}_1\mid Q>0) =0+\frac{1}{1.414}(0.7979) =0.5642 $$

outcome units. The true effect is zero, but the estimate for arm 1 averages 0.5642 outcome units among occasions when it beats an equally effective arm. This is selection-related upward bias conditional on winning, not bias in the unconditional estimator.

Conditional Variability and a Comparison

Selection changes variability as well as the mean. Under the joint normal model, the variance of \(\hat{\delta}_1\) conditional on \(Q>0\) can be obtained by separating its component predictable from \(Q\) from its residual component. The residual variance is \(\operatorname{Var}(\hat{\delta}_1)-v_1^2/s^2\), and the predictable component has conditional variance \((v_1/s)^2\operatorname{Var}(Z\mid Z>a)\), where \(Z=(Q-\mu)/s\) is standard normal. Since \(\operatorname{Var}(Z\mid Z>a)=1+a\lambda(a)-\lambda(a)^2\), combination and simplification yield

$$ \operatorname{Var}(\hat{\delta}_1\mid Q>0) =v_1+v_0+\frac{v_1^2}{s^2}\{a\lambda(a)-\lambda(a)^2\}. $$

This is a variance, in squared outcome units. It is generally not the unconditional variance: the selection condition truncates the comparison, and the estimate contains a component associated with that comparison. The conditional distribution of the estimate is not generally normal, even though the unconditioned estimates are jointly normal.

Worked Example: Conditional Variance Under Equal Effects

Continue the hypothetical equal-effects setting \(v_0=4\), \(v_1=v_2=1\), and \(a=0\). The unconditional variance of \(\hat{\delta}_1\) is \(1+4=5\). Substituting \(s^2=2\) and \(\lambda(0)=0.7979\) gives

$$ \begin{aligned} \operatorname{Var}(\hat{\delta}_1\mid Q>0) &=5+\frac{1}{2}\{0-(0.7979)^2\}\\ &=5-0.3183=4.682 \end{aligned} $$

squared outcome units, with conditional standard deviation \(\sqrt{4.682}=2.164\) outcome units. The conditional variance is slightly lower than the unconditional variance in this example; selection does not imply that variance must increase.

Compare this with using two independent control groups, each with variance 4, while keeping each contrast’s marginal variance at 5. The contrasts would then have covariance zero, and their difference would have variance 10 rather than 2. With equal effects, the conditional mean of the first contrast given that it wins would be \((5/\sqrt{10})(0.7979)=1.262\) outcome units. With the shared control, it was 0.5642. This comparison isolates the effect of dependence: positive shared-control covariance reduces the variance of the difference and changes how selection on that difference shifts an individual contrast.

Diagnostics, Alternatives, and Limitations

A practical check is to compare the covariance structure implied by the design with the structure used in calculations or software. If all contrasts use one control group, their pairwise covariance should include that control mean’s variance. The following checks help identify common problems:

  • Check the design. Confirm whether control observations are genuinely reused across contrasts. If control samples are disjoint, the shared-control covariance formula does not apply.
  • Check the variance scale. \(v_i\) is a variance of a sample mean, not a standard deviation. The covariance \(v_0\) has squared outcome units.
  • Check the comparison. When the decision is based on \(\hat{\delta}_1-\hat{\delta}_2\), verify that the shared control cancels and that its variance is \(v_1+v_2\).
  • Check the selection rule. The formulas condition on choosing the larger of these two estimates. A different rule or additional selection stages changes the event being conditioned on.

An alternative design or analysis might use separate controls, model group means jointly, or account for the covariance directly when evaluating selection. Treating the contrasts as independent is not a harmless simplification: it changes the variance of their difference and hence the selection probability and conditional distribution. Conversely, using the shared-control covariance alone does not solve every post-selection estimation problem. The calculations here assume known variances, normal sampling, independent groups, and a single comparison between two arms. Unequal variances are allowed through \(v_0,v_1,v_2\), but departures from the model, small-sample variance estimation, multiple selection stages, and more complex rules require additional analysis.

Common pitfall: It is tempting to add the control variance to each contrast and then treat those contrasts as independent. That ignores their covariance \(v_0\). For example, the correct variance of their difference is \((v_1+v_0)+(v_2+v_0)-2v_0=v_1+v_2\), not \(v_1+v_2+2v_0\). Always use the joint covariance structure when evaluating selection.

Check Your Understanding

Try each problem, then compare your reasoning with the solutions below.

  1. Two independent treatment groups have sample-mean variances 2 and 3; their shared control mean has variance 5. Find the covariance and correlation of the two treatment-control estimates.
  2. In the same setting, what is the variance of the difference between the treatment-control estimates? Explain why the control variance does not appear.
  3. For equal true effects, \(v_1=v_2=2\), and \(v_0=3\), calculate the conditional mean of arm 1’s estimate given that it wins.
  4. Is the estimate’s conditional distribution after selection necessarily normal? State why.

Solutions. (1) The covariance is \(v_0=5\). The marginal variances are \(2+5=7\) and \(3+5=8\), so the correlation is \(5/\sqrt{56}=0.6682\). (2) The difference variance is \(v_1+v_2=2+3=5\), because the identical control mean subtracts out of the difference. (3) Equal effects give \(a=0\), \(s=\sqrt{2+2}=2\), and \(\lambda(0)=0.7979\). Thus the conditional mean is \(\delta_1+(2/2)(0.7979)=\delta_1+0.7979\) outcome units; the estimate is elevated by 0.7979 outcome units relative to its true effect. (4) No. Although the unconditioned estimates are jointly normal, conditioning on the inequality that one estimate exceeds the other truncates their joint distribution, so the selected estimate’s conditional distribution is generally not normal.

Clinical Biostats