Covariance Created 2026-09-24 Updated 2026-10-14
The covariance measures the average product of two centered deviations. For real square-integrable random variables and ,Deviations with the same sign contribute positively; deviations with opposite signs contribute negatively. Their magnitudes and probabilities determine the net result. Taking recovers the variance. The definitions and algebraic properties are presented in Orloff and Bloom, MIT 18.05, Covariance and Correlation, sections 2–2.1.
For a worked example, let be independent random variables, each equally likely to be , or , and put . All nine pairs have probability . The expected values are zero, while linearity of covariance and the vanishing covariance of independent random variables giveThe shared term makes large accompany large on average. Replacing by reverses the covariance to without changing either variance.
Positive, negative, independent, and nonlinear relationships have different covariance behavior
. In the first three panels, and independently take , and with equal probabilities; each point has probability . In the last panel, , and the three marked outcomes each have probability . The thin curve shows that quadratic function. Its zero covariance leaves strong nonlinear statistical dependence visible. Details.The covariance is useful whenever deviations are added or subtracted. Expanding the square givesFor the worked model, these are and . Positive covariance increases variation in the sum while reducing variation in the difference: the same shared fluctuation reinforces one combination and partly cancels in the other. The identity applies beyond independent random variables.
The size of a covariance depends on the measurement scale. For constants , linearity of covariance gives . Adding offsets has no effect; rescaling either measurement rescales the covariance. The Pearson correlation coefficient divides by both standard deviations to describe the standardized linear relationship.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 201 4 b Solution Created 2026-10-03 Updated 2026-10-05
For any finite list , the random vector has a multivariate normal distribution, since it is a linear image of a vector of Brownian motion coordinates. The Brownian covariance kernel and linearity of covariance giveThe independence of uncorrelated jointly normal variables implies that is independent of . Extending from finite-coordinate cylinder events by independence extended from generating pi-systems provesThus the Brownian bridge is independent of its endpoint. Its covariance kernel is , confirming that is the standard Brownian bridge. This is the Brownian bridge independence from its endpoint property.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 219 1 a Solution 2026-09-28
For distinct sibling supernovae and in the same galaxy, the shared fluctuation is the only common random term. Independence and linearity of covariance therefore giveTheir correlation coefficient isThis is the intraclass correlation coefficient of the galaxy-level random intercept model.
