Variance Using Two Possible Outcomes

Variance is the expected squared distance from the mean. Its value can distinguish outcomes with the same average and different spreads.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Compare two delivery times
  2. Read standard deviation
  3. Center before squaring the deviations
  4. Distinguish shifts and rescaling

Compare two delivery times

A fixed time of ten has variance zero. An equally likely choice of eight or twelve has mean ten and variance four in squared time units. Expected value supplies the mean for both calculations.

Read standard deviation

Taking the square root gives two in the original time unit for the variable case. The mean alone cannot describe this spread. Use unit-aware names when reporting squared and unsquared quantities.[1]

Center before squaring the deviations

A variable takes values two and eight with equal probability. Its mean is five and its squared deviations are both nine. The variance is nine and the standard deviation is three in the same units as the readings. See expectation as an average.

Value      2    8
Mean       5    5
Deviation -3    3
Squared    9    9
Variance   9

Distinguish shifts and rescaling

Adding ten to both outcomes moves the mean by ten and leaves the variance unchanged. Multiplying outcomes by two multiplies deviations by two and variance by four. Test both transformations to detect formulas based on raw squared values alone.

References

  1. Eric Lehman, F. Thomson Leighton and Albert R. Meyer, Mathematics for Computer Science ↩