The joint dependence of leave-one-out consensus residuals arises because different laboratories' benchmarks reuse many of the same observations. Excluding each result from its own leave-one-out interlaboratory consensus does not make the complete collection of residuals independent.
Let be fixed positive coefficients with , and let be the full weighted mean. With at least two observations, every , and the omitted-result residual is
Write for the weighted centering matrix, and for a diagonal matrix. Then
Each row of sums to zero, so each residual is a contrast: a common additive level cancels.
For independent observations with positive variances , define . Expanding linearity of covariance gives
Equal coefficients and equal variances reduce these expressions to
The familiar negative covariance belongs to this model. Arbitrary fixed coefficients can produce a different sign.
An original three-laboratory counterexample sets and . Then , and
This positive covariance has a simple cause: both benchmarks are dominated by the third result. Increasing pushes both and downward. The coefficients are stipulated to expose the dependence; with equal observation variances, they are not inverse-variance coefficients.
Figure 1.
Leave-one-out residual correlation depends on both coefficients and observation variances
. Original three-laboratory models with independent unit-variance observations. Equal coefficients give negative pairwise correlation; a dominant third coefficient creates positive correlation between the first two residuals. Details.
For positive inverse-variance weights , where , one has and . The off-diagonal expression becomes
Thus the leave-one-out inverse-variance weighted consensus has a special sign pattern under its independent known-variance assumptions.
The coefficients also impose a deterministic constraint,
Consequently the residual covariance matrix is a singular matrix. Under the independent-observation model with every , its matrix rank is : the weighted centering matrix removes the common-level direction and the invertible diagonal matrix preserves that rank. For equal coefficients the constraint is simply .
These dependencies matter when evaluating several laboratories together. Products of single-residual probabilities generally do not describe joint events. A specified joint model or a set of appropriately chosen contrasts can represent the available information without treating redundant residuals as independent observations.
Positive covariance 2026-11-05
Two random variables have positive covariance when their centered product has positive expected value:
Assume throughout that their second moments are finite. Outcomes where the centered values have the same sign contribute positively; opposite signs contribute negatively. The sign describes their average balance, rather than requiring every outcome to have matching signs.[ref]
A shared group effect can produce positive covariance even when the relation inside each group runs in the opposite direction. For an exact original example, let and be independent random variables with the Rademacher distribution: each takes the values with equal probability. Define and . Both expected values vanish, and independence gives
Their Pearson correlation coefficient is consequently . The four equiprobable outcomes are , , and .
For either fixed value , however, . Thus the conditional covariance is , and the conditional Pearson correlation coefficient is : the two points inside each group lie on a descending line. The law of total covariance identifies exactly where the positive pooled value comes from:
The first term averages the conditional covariances; the second measures how the two conditional expectations move together across groups. Here the between-group contribution outweighs the negative within-group contribution. This is a covariance form of Simpson's paradox.
Figure 1.
Positive pooled covariance with negative conditional covariance in both groups
. Original four-outcome model , with independent equiprobable signs. Colored segments show the two conditional relations; the dashed line is the pooled least-squares fit. These are exact model outcomes, not measured data. Details.
The dashed linear regression line has slope , but that slope does not give the direction of the relation at fixed . Nor does positive covariance by itself establish a causal effect: in the specified model the common variable supplies the positive component. Choosing which variables to condition on is a question about the model and the intended comparison, beyond computing one number.
Positive covariance is also weaker than requiring one variable to be an increasing function of the other. Under appropriate integrability assumptions, strict positive covariance with an increasing payoff supplies a useful sufficient condition; the grouping example shows a different route to the same sign.