When an Effect Is Estimable but Imprecise
A cohort and a processing batch may be associated without being perfectly aligned. If every sample in one cohort was measured in one batch and every sample in another cohort in a different batch, their effects cannot be separated from those data alone. But perfect separation is not the only problem: even when some samples from both cohorts occur in the same batches, sparse overlap can leave a biological contrast identifiable yet uncertain.
That distinction matters in multi-omics studies. A model may return a cohort coefficient because the design contains enough overlap to distinguish cohort from batch. The coefficient's standard error can nevertheless be large: only a small part of the data directly informs a comparison between cohorts at the same batch. A narrow-looking result from a model fit is not guaranteed merely because the coefficient exists.
For clarity, consider one quantitative omics feature measured on independent samples. Let \(C=0\) or \(1\) indicate cohort, and let \(B=0\) or \(1\) indicate batch. The additive model is
Here \(\beta\) is the cohort difference in expected feature abundance after accounting for batch, and \(\gamma\) is the batch-associated shift. The model assumes independent, normally distributed errors with common variance \(\sigma^2\), and an additive mean: the cohort difference is the same in each batch. These assumptions make the formulas below applicable; a coefficient from this model does not by itself establish a causal biological effect.
Write \(n_{cb}\) for the number of samples in cohort \(c\) and batch \(b\). In the two-cohort, two-batch illustration, all four cell counts need to be positive for both within-batch cohort contrasts to be observed. More generally, estimability is determined by the design's rank and the particular contrast, as covered in the earlier material on estimable biological contrasts under confounding. The focus here is what the available overlap implies for uncertainty.
Why Sparse Overlap Inflates the Variance
Within batch \(b\), the difference between the two cohort sample means is an estimate of \(\beta\): the batch shift is shared and cancels. Its variance is \(\sigma^2(1/n_{0b}+1/n_{1b})\). A batch with many observations from both cohorts therefore supplies more information than a batch with only a few cross-cohort observations.
This result shows why the overall sample size alone is not enough to describe precision. Samples that add little within-batch cohort comparison can contribute to estimating batch means and residual variation, but they do not replace the information provided by overlap.
A short derivation makes the weighting explicit. Let \(D_b=\bar{Y}_{1b}-\bar{Y}_{0b}\), where the bars denote sample means within a cohort–batch cell. Under the additive model, \(E(D_b)=\beta\), and \(D_0,D_1\) are independent with variances \(v_b=\sigma^2(1/n_{0b}+1/n_{1b})\). Among linear unbiased combinations \(a_0D_0+a_1D_1\), where \(a_0+a_1=1\), the variance is \(a_0^2v_0+a_1^2v_1\). Minimizing this expression gives weights proportional to \(1/v_b\), so the variance of the weighted estimate is \(1/(1/v_0+1/v_1)\). Since \(1/v_b=n_{0b}n_{1b}/\{\sigma^2(n_{0b}+n_{1b})\}\), the stated formula follows.
If \(\sigma^2\) is known, a 95% confidence interval is \(\hat{\beta}\pm1.96\sqrt{\operatorname{Var}(\hat{\beta})}\). In ordinary applications \(\sigma^2\) is estimated from the residuals. For the four-cell additive model, with all cells represented and a common residual variance, the standard error is \(\sqrt{\mathrm{MSE}\,[\sum_b n_{0b}n_{1b}/(n_{0b}+n_{1b})]^{-1}}\), and a \(t\) critical value with \(df=N-3\) is used under the normal-error model. Here \(N\) is the total sample size and three mean parameters are estimated: an intercept, a cohort effect, and a batch effect.
Worked Example: Substantial Overlap Versus a Balanced Design
Suppose a hypothetical study measures a feature in 44 independent samples, with known residual standard deviation \(\sigma=1\) normalized abundance unit. The cohort–batch counts are \(n_{00}=20,\ n_{01}=2,\ n_{10}=2,\ n_{11}=20\). The observed cell means, in the same units, are 5.0, 6.0, 7.0, and 8.0, respectively. The within-batch differences are both 2.0, so \(\hat{\beta}=2.0\).
The information from each batch is \(20(2)/(20+2)=40/22=1.8182\). Thus
The 95% interval is \(2.0\pm1.96(0.5244)\), or approximately \([0.972,\ 3.028]\) normalized abundance units. Under the stated model, this interval is compatible with cohort differences from about 0.972 to 3.028 units; it is not a 95% probability statement about the fixed parameter.
For comparison, keep the same total of 44 samples but distribute them evenly, with 11 in each of the four cells. The variance is \(1/(5.5+5.5)=1/11=0.09091\), giving \(SE=\sqrt{1/11}=0.3015\). The standard-error ratio, calculated from the unrounded values, is \(\sqrt{0.2750/(1/11)}=\sqrt{3.025}\approx1.739\). Thus the partially confounded design has about 1.739 times the standard error of the balanced design, despite having the same total sample size. In the balanced design the 95% interval for the same estimate would be \(2.0\pm1.96(0.3015)\), or about \([1.409,\ 2.591]\) units.
How Weak Can Overlap Be?
The number of samples in the less-represented cohort–batch cells can dominate uncertainty. The next example keeps all four cells nonempty, so the cohort contrast remains estimable under the model, but the cross-cohort comparisons are based on only one sample per cohort in each batch.
Worked Example: Identifiable with Only One Cross-Cohort Sample per Batch
In a hypothetical study, let \(n_{00}=30,\ n_{01}=1,\ n_{10}=1,\ n_{11}=30\). Suppose the cell means are 4.8, 6.0, 7.2, and 7.6 units, respectively, and the known residual standard deviation is 1 unit. The within-batch differences are \(D_0=7.2-4.8=2.4\) and \(D_1=7.6-6.0=1.6\). Because the counts are symmetric across batches, the two differences have equal precision, so \(\hat{\beta}=(2.4+1.6)/2=2.0\) units.
For either batch, the difference variance is \(1(1/30+1/1)=31/30=1.0333\) square units. Combining the two independent, equally precise differences gives
The 95% interval is \(2.0\pm1.96(0.7188)\), approximately \([0.591,\ 3.409]\) units. The coefficient is estimable because both batches contain both cohorts, but its uncertainty is substantial: the comparisons rely on only one cross-cohort sample in each batch. Estimability does not make those sparse comparisons precise.
The information formula also shows that overlap is not all-or-nothing. When one batch has much stronger overlap than another, its within-batch difference receives more weight. This is a property of the additive model: the estimate combines the batch-specific comparisons under the assumption of a common cohort effect.
Worked Example: Unequal Overlap Gives Unequal Weights
Consider hypothetical counts \(n_{00}=10,\ n_{01}=1,\ n_{10}=4,\ n_{11}=10\), with known residual standard deviation 1 unit. Suppose the within-batch differences are \(D_0=2.2\) units and \(D_1=1.0\) unit. Their variances are \(v_0=1/10+1/4=0.3500\) and \(v_1=1/1+1/10=1.100\) square units. The inverse-variance weights are \(1/v_0=20/7\) and \(1/v_1=10/11\). Therefore,
The variance is the reciprocal of the total weight, \(1/(20/7+10/11)=77/290=0.2655\) square units, and the standard error is \(\sqrt{77/290}=0.5153\) units. The 95% interval is \(1.910\pm1.96(0.5153)\), approximately \([0.900,\ 2.920]\) units. The first batch contributes more information because both cohorts have more observations there. The estimate is consequently nearer \(D_0=2.2\) than \(D_1=1.0\); it is not an unweighted average of the two differences.
Diagnostics, Alternatives, and Limits
Before interpreting a coefficient, inspect both the design and its uncertainty. A useful first step is a cohort-by-batch count table: it reveals which comparisons are direct and how sparse they are. Then examine the estimated coefficient covariance matrix, standard error, and confidence interval. A large standard error relative to the estimated effect signals that the data provide limited precision, even when the design matrix has full rank. A very wide interval may include effects of opposite signs or a broad range of practically important magnitudes.
Other warning signs include a cohort coefficient that changes substantially when a small number of cross-over samples are removed, or estimates that depend heavily on one batch-specific comparison. These are signs of fragility, not automatic proof of bias. The model also assumes a common cohort effect across batches. If cohort differences vary by batch, the additive coefficient no longer describes every within-batch contrast; the mean structure should be reconsidered rather than treating a narrow model-based interval as reassurance. Residual patterns that conflict with the assumed error distribution or common variance also weaken the stated interval calculation.
The main alternative is to report within-batch contrasts separately, rather than imposing a common cohort effect. This makes possible heterogeneity visible, but the batch-specific intervals may be very wide when overlap is sparse. A cohort-only comparison that ignores batch can be more precise numerically, but when cohort and batch are associated it can mix their mean differences. It does not solve confounding; it changes the target comparison and may attribute a batch shift to cohort. Increasing cross-cohort overlap through study design is often the most direct way to gain information for an adjusted contrast.
No variance formula can recover information that the design did not collect. Adding technical replicates in a cell can help characterize measurement variability, but it does not necessarily provide the same evidence about a cohort difference as adding independent samples to the sparse cohort–batch cells. Likewise, reporting a coefficient without its uncertainty conceals the practical consequence of partial confounding. State the model, the estimated effect and units, and an interval or standard error, and describe which overlap supports the comparison.
Common Mistake
Check Your Understanding
Answer each question using the additive model and the distinction between estimability and precision.
- For counts \(n_{00}=8,\ n_{01}=8,\ n_{10}=8,\ n_{11}=8\), with \(\sigma^2=1\), calculate the variance and standard error of \(\hat{\beta}\).
- If one batch contains 12 samples from cohort 0 and none from cohort 1, what is that batch's contribution to the information for the cohort contrast?
- Why can a cohort-only model produce a smaller standard error yet be less appropriate when cohort and batch are associated?
- State one assumption needed for the confidence interval based on the pooled residual variance, and one diagnostic that could raise concern about it.
Solutions. (1) Each batch contributes \(8(8)/(8+8)=4\), so the variance is \(1/(4+4)=0.1250\) and the standard error is \(\sqrt{0.1250}=0.3536\). (2) The contribution is zero because there is no within-batch comparison between cohorts. (3) The cohort-only model does not adjust for batch and may combine a batch shift with the cohort difference; a smaller standard error does not make that comparison valid for the adjusted cohort effect. (4) For example, the model assumes a common residual variance and independent normal errors; a residual plot showing strongly different spreads across groups would raise concern about the common-variance assumption.