SD8 - Sums of independent variables
Totals and differences of random quantities have their own means and spreads. You will combine discrete or continuous variables, see why independence matters for variance, and distinguish repeated observations from repeated use of the same variable.
Adding means and independent variances
Two independent measurements each have standard deviation 2 millimetres. Does their sum have standard deviation 4 millimetres? The answer depends on adding squared deviations before taking a square root.
The mean of a total is the total of the means. Imagine averaging paired observations: averaging each row's sum gives the same result as adding the two column averages. This does not require independence.
Means and variances of a sum
For variables with finite expectations,
Independence is not needed for this equality. If are independent and have finite variances, then
These rules hold for discrete variables, continuous variables or a combination of the two. They are not separately printed in the formula booklet.
Why is variance different? Put , . Expanding the squared deviation gives
For independent variables, the expectation of a product factors into the product of expectations. The last expectation is therefore
This factorisation works through sums, integrals or both. It is why independence makes variance addition valid. Without independence, the cross term may remain; the separate means and variances alone are generally insufficient. Independence is sufficient, though some dependent variables also happen to have a zero cross term.
Worked example 1: a total of two observations
Question. Independent measurements , in millimetres, each have mean 10 and standard deviation 2. Find the mean, variance and standard deviation of .
Plan. Add means, square each standard deviation before adding variances, then take one square root.
Answer. Mean , variance , standard deviation .
Check. Its standard deviation is about , larger than either individual standard deviation but smaller than their sum 4. Squaring it recovers 8.
Keep 's moments, but replace the second independent observation by a second copy of the same . The two contributions keep the same means and variances, but their dependence changes.
Worked example 2: using one observation twice
Question. and . Find the mean, variance and standard deviation of .
Plan. Simplify before applying a one-variable scale rule.
Answer. Mean 20, variance 16, standard deviation 4, in the corresponding measurement units.
Check. Each deviation from the mean is doubled exactly: . Its squared size is four times the original, rather than twice.
If were independent copies of , their sum would instead have variance . A subscript denotes a separate observation only when the model says so; identical distributions do not imply independence. Likewise, two variables sharing a random source need care: and both contain , even if the original are independent.
Watch out
Wrong: for independent variables. Add variances, then take the square root. For , combine to ; one nonconstant variable is not independent of itself.
Try separate observations with different spreads.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account