Why Start With the Arm Means?
In a multi-arm trial, each treatment group produces a sample mean. Before studying comparisons among those means, it is useful to know the sampling variability of each mean on its own and whether means from separately sampled groups covary. These are distinct questions: the variance describes uncertainty in one arm mean across repeated samples, while the covariance describes how two arm means vary together.
The earlier material on sampling structure of shared-control comparisons establishes the key setup used here: different treatment groups contain distinct participants. This tutorial derives the consequences for the individual arm means, without yet forming treatment-control contrasts.
Assumptions and the Variance of One Arm Mean
For the basic formula, assume that within arm \(j\), the outcomes \(X_{j1},\ldots,X_{jn_j}\) are independent and identically distributed, with population mean \(\mu_j\) and finite population variance \(\sigma_j^2\). The sample size \(n_j\) is fixed. No normality assumption is needed for the variance calculation.
The mean of the sample mean is \(\mu_j\). Its variance follows from adding the variances of independent observations and dividing by the square of the sample size:
The standard error is the square root of this variance, \(SE(\bar X_j)=\sigma_j/\sqrt{n_j}\). If \(\sigma_j\) is unknown, a common estimate is \(s_j/\sqrt{n_j}\), where \(s_j\) is the sample standard deviation in arm \(j\). Variance is expressed in squared outcome units; standard error is expressed in the same units as the outcome.
Independence within the arm is doing real work in the derivation. More generally, for observations with a common variance \(\sigma_j^2\) but possible dependence,
Thus, positive within-arm dependence generally makes the variance larger than \(\sigma_j^2/n_j\). The familiar formula is not justified merely because the observations belong to the same named arm; the sampling or dependence structure must support it.
Worked Example: Variance and Standard Error in One Arm
Suppose a hypothetical treatment arm has \(n_j=25\) participants, and the outcome has population standard deviation \(\sigma_j=10\) points. Assume participants' outcomes are independent and identically distributed in this arm, with finite variance. Find the variance and standard error of the arm mean.
The variance formula is \(\operatorname{Var}(\bar X_j)=\sigma_j^2/n_j\). Substituting the values gives
Therefore,
Across repeated samples under the stated model, the arm mean has variance \(4\ \text{points}^2\) and standard error \(2\) points. These are sampling-variability summaries, not claims that this particular observed mean is two points away from the population mean.
Why Independent Arm Means Have Zero Covariance
Now consider two arms, \(j\) and \(k\), with independent participant samples. Assume finite second moments. Independence of the two complete sets of outcomes implies that every outcome in arm \(j\) is independent of every outcome in arm \(k\). By bilinearity of covariance, the covariance of the sample means is the sum of the cross-arm covariances, scaled by the sample sizes:
The final equality follows because independence gives \(\operatorname{Cov}(X_{ji},X_{kr})=0\) for every cross-arm pair. This is a complete justification of zero covariance under the independent-sampling assumption. In fact, independence of the two outcome sets also makes the two sample means independent, because each mean is a function of only its own set of outcomes.
Zero covariance does not say that the arms have equal population means or equal variances. It says that their sample means have no linear co-variation under the specified sampling model. Also, zero covariance alone does not generally imply independence; the implication from independence to zero covariance is the direction used here.
Worked Example: Covariance of Two Independently Sampled Arm Means
Consider two hypothetical arms with independent participant samples. In arm A, \(n_A=16\) and \(\sigma_A=8\) points; in arm B, \(n_B=25\) and \(\sigma_B=10\) points. Their population means are \(52\) and \(48\) points, respectively. Assume independent outcomes within each arm and independence between the two arms. Find each mean's variance and the covariance between the means.
For arm A,
For arm B,
For covariance, there are \(16\times25=400\) cross-arm outcome pairs. Each has covariance zero by independence, so
The different population means, \(52\) and \(48\) points, do not change this result. The variances happen to be equal here, but equal variances are not required for the zero-covariance conclusion.
When the Independent-Groups Calculation Fails
The calculation should be checked against how observations were collected. Participants may be paired or measured repeatedly; outcomes may be clustered by site or household; or a sampling design may deliberately link observations across groups. In such settings, cross-observation covariances may not be zero, and the independent-means result cannot be assumed. The design information, not just a table of observed arm means, determines which covariance terms are appropriate.
Worked Example: Paired Outcomes Are Not Independent Arm Means
Suppose a hypothetical study records two outcomes, \(X_i\) and \(Y_i\), on each of \(n=4\) matched participants. Within each pair, assume \(\operatorname{Cov}(X_i,Y_i)=6\) points squared, and assume different participants' pairs are independent. Find the covariance between the two sample means and compare it with the independent-groups result.
Writing \(\bar X=4^{-1}\sum_iX_i\) and \(\bar Y=4^{-1}\sum_iY_i\), cross-participant covariances are zero, but each matched pair contributes covariance \(6\ \text{points}^2\). Therefore,
The covariance is not zero because the two measurements from each participant are linked. The calculation is consistent with the stated assumptions: four within-pair covariance terms equal \(6\ \text{points}^2\), and all other cross-terms are zero. This is a paired-data example, not an independent-treatment-groups calculation.
A useful diagnostic is to ask whether the two arm means are computed from genuinely separate, independently sampled sets of participants. If not, identify the dependence structure before using a zero covariance. Observed sample covariances from one trial do not by themselves prove or disprove independence: independence is a property of the sampling model and design, not a conclusion guaranteed by a small observed covariance.
Comparison, Scope, and Common Pitfalls
The independent-means calculation is a starting point, not a universal model for every trial. It is often compared with two alternatives:
- Dependent or paired sampling: retain the cross-observation covariance terms rather than setting them all to zero. The paired example illustrates why this changes the covariance of the means.
- Unequal variances across arms: calculate each arm's variance using its own \(\sigma_j^2/n_j\). Equal variances across arms are not needed to establish zero covariance between independent arm means.
If outcomes within arm \(j\) are independent but do not have a common variance, the more general formula is \(\operatorname{Var}(\bar X_j)=n_j^{-2}\sum_i\operatorname{Var}(X_{ji})\). If the design includes clustering or sampling without replacement from a finite population, its dependence and sampling structure may likewise require a modified variance calculation. Finally, a normal distribution for outcomes is not needed for the variance and covariance derivations; it may be relevant to later distributional approximations, but it is not an assumption used here.
- Mistake: “The two arm means are both random, so they must be correlated.”
Correction: Randomness alone does not create covariance. Under independent sampling, every cross-arm covariance is zero, and so is the covariance of the means. - Mistake: “Zero covariance means the arm means are equal.”
Correction: Covariance describes joint variation, not the difference between population means. Independent arms can have different means and still have zero covariance. - Mistake: “The formula \(\sigma_j^2/n_j\) applies whenever the sample has \(n_j\) observations.”
Correction: It requires independent observations with common variance within the arm. Dependence adds covariance terms to the variance.
Check Your Understanding
Answer each question, then compare with the brief solutions.
- An arm has \(n=36\) independent outcomes with population standard deviation \(12\) mg. What are the variance and standard error of its sample mean?
- Two independently sampled arms have different population means. Must the covariance of their sample means be zero, positive, or negative under the assumptions in this tutorial?
- Why does zero covariance not imply that two random variables are independent?
- Within an arm, observations have common variance \(\sigma^2\), and every distinct pair has covariance \(c\). Write the variance of the sample mean in terms of \(n\), \(\sigma^2\), and \(c\).
Solutions. (1) \(\operatorname{Var}(\bar X)=12^2/36=4\ \text{mg}^2\), and \(SE(\bar X)=2\ \text{mg}\). (2) It is zero: independence of the two outcome sets makes each cross-arm covariance zero, regardless of the population means. (3) Zero covariance rules out linear co-variation but, in general, does not rule out other forms of dependence. (4) There are \(n\) variance terms and \(n(n-1)\) ordered off-diagonal covariance terms in the variance of the sum, so \(\operatorname{Var}(\bar X)=\{n\sigma^2+n(n-1)c\}/n^2=\sigma^2/n+(n-1)c/n\).