Statistics · Statistical distributions
1 / 11
Linear combinations of random variables
E(aX + b) and Var(aX + b), expectation and variance of aX ± bY for independent variables — variances ADD even when the variables subtract — the difference between nX and the sum of n independent copies, and combining Normal (and Poisson) variables.
Statistics · Statistical distributions
Linear combinations of random variables
E(aX + b) and Var(aX + b), expectation and variance of aX ± bY for independent variables — variances ADD even when the variables subtract — the difference between nX and the sum of n independent copies, and combining Normal (and Poisson) variables.
Why it works
Scaling and shifting one variable. If every outcome of is transformed to : The mean is dragged along by both the stretch and the shift. The variance ignores completely — shifting every value by the same amount moves the distribution without changing its spread — and picks up , not , because variance is measured in squared units.Combining two independent variables. For independent and : The second line contains the most-examined fact on this topic: variances add even for a difference. Subtracting an unpredictable quantity adds just as much uncertainty as adding one — is more spread out than either variable, never less. If you ever compute a negative variance, this is the line that went wrong.
is not . Doubling one measurement gives ; adding two independent copies gives . One error repeated is worse than two independent errors — independent fluctuations partly cancel. Read the context: "five times the mass of one bottle" is ; "the total mass of five bottles" is .
Normal in, Normal out. Any linear combination of independent Normal variables is itself Normal, with the mean and variance given by the rules above. That means questions about totals, differences and comparisons of Normal quantities all reduce to a single Normal probability calculation. (Similarly, a sum of independent Poisson variables is Poisson — the rates add.)
Comparisons become differences. "Find the probability that exceeds " is computed from the distribution of . This turns a two-variable question into a standard one-variable Normal calculation.