Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 01 / 08Statistics and Probability

Measures of Dispersion: Mean Deviation, Variance, Standard Deviation and Coefficient of Variation

Range and mean deviation about the mean and median, variance and standard deviation with the computational formula, the effect of change of origin and scale, combined variance of two groups, the coefficient of variation for comparing consistency, and correcting variance for wrong observations.

Figure 1
Two data sets can have the same mean but very different spreads, as the figure shows. Measures of dispersion quantify that spread. Range == largest −- smallest. Simple, but it depends only on two extreme values. Mean deviation about a central value aa (mean or median): MD(a)=1N∑fi∣xi−a∣\text{MD}(a) = \frac{1}{N}\sum f_{i}|x_{i} - a|. It is least when taken about the median. Variance and standard deviation. The variance is the mean squared deviation from the mean: σ2=1N∑fi(xi−xˉ)2\sigma^{2} = \frac{1}{N}\sum f_{i}(x_{i} - \bar{x})^{2}, and the standard deviation σ\sigma is its square root, measured in the same units as the data. Expanding the square gives the computational formula σ2=∑fixi2N−xˉ2\sigma^{2} = \frac{\sum f_{i}x_{i}^{2}}{N} - \bar{x}^{2}, 'the mean of the squares minus the square of the mean'. Since σ2≥0\sigma^{2} \ge 0, this shows ∑xi2n≥xˉ2\frac{\sum x_{i}^{2}}{n} \ge \bar{x}^{2}, a form of the power-mean inequality. σ=0\sigma = 0 iff all observations are equal. With step deviations ui=xi−Ahu_{i} = \frac{x_{i} - A}{h}: σ=h∑fiui2N−(∑fiuiN)2\sigma = h\sqrt{\frac{\sum f_{i}u_{i}^{2}}{N} - \left(\frac{\sum f_{i}u_{i}}{N}\right)^{2}}. Change of origin and scale. If yi=axi+by_{i} = ax_{i} + b, then σy=∣a∣σx\sigma_{y} = |a|\sigma_{x} and σy2=a2σx2\sigma_{y}^{2} = a^{2}\sigma_{x}^{2}. Adding a constant shifts all data equally and leaves the spread unchanged; multiplying stretches it. Mean deviation and range behave the same way. Standard results. For the first nn natural numbers, xˉ=n+12\bar{x} = \frac{n + 1}{2} and σ2=n2−112\sigma^{2} = \frac{n^{2} - 1}{12}. For an arithmetic progression with common difference dd and nn terms, σ2=d2(n2−1)12\sigma^{2} = \frac{d^{2}(n^{2} - 1)}{12}. Combined variance. For two groups with sizes n1,n2n_{1}, n_{2}, means xˉ1,xˉ2\bar{x}_{1}, \bar{x}_{2} and variances σ12,σ22\sigma_{1}^{2}, \sigma_{2}^{2}, with combined mean xˉ\bar{x} and di=xˉi−xˉd_{i} = \bar{x}_{i} - \bar{x}: σ2=n1(σ12+d12)+n2(σ22+d22)n1+n2\sigma^{2} = \frac{n_{1}(\sigma_{1}^{2} + d_{1}^{2}) + n_{2}(\sigma_{2}^{2} + d_{2}^{2})}{n_{1} + n_{2}}. The di2d_{i}^{2} terms add the spread between the group means to the spread within each group. An equivalent and often simpler route: combine the totals ∑x\sum x and ∑x2\sum x^{2} of the groups (∑x2=n(σ2+xˉ2)\sum x^{2} = n(\sigma^{2} + \bar{x}^{2}) for each), then apply the computational formula. Coefficient of variation. CV=σxˉ×100\text{CV} = \frac{\sigma}{\bar{x}} \times 100. It is a unit-free measure of relative variability used to compare consistency: the series with the smaller CV is more consistent (less variable relative to its mean). Correcting wrong observations. Replace the wrong values in ∑x\sum x and ∑x2\sum x^{2} by the correct ones, then recompute the mean and variance. This is the same 'work with totals' principle as for the mean. Key Takeaways: - σ2=∑fx2N−xˉ2\sigma^{2} = \frac{\sum f x^{2}}{N} - \bar{x}^{2}; σ=0\sigma = 0 iff all values are equal. - y=ax+by = ax + b: σy=∣a∣σx\sigma_{y} = |a|\sigma_{x} (origin shift has no effect). - First nn naturals: σ2=n2−112\sigma^{2} = \frac{n^{2} - 1}{12}; AP with difference dd: d2(n2−1)12\frac{d^{2}(n^{2} - 1)}{12}. - Combined variance n1(σ12+d12)+n2(σ22+d22)n1+n2\frac{n_{1}(\sigma_{1}^{2} + d_{1}^{2}) + n_{2}(\sigma_{2}^{2} + d_{2}^{2})}{n_{1} + n_{2}}. - ∑x2=n(σ2+xˉ2)\sum x^{2} = n(\sigma^{2} + \bar{x}^{2}) for recovering totals. - CV =σxˉ×100= \frac{\sigma}{\bar{x}} \times 100; smaller CV means more consistent. - Pitfall: averaging two standard deviations to get a combined one. Brain-Teaser 1: The mean and variance of 55 observations are 4.44.4 and 8.248.24. Three of them are 1,2,61, 2, 6. Find the other two. Solution: ∑x=22\sum x = 22, so the other two sum to 22−9=1322 - 9 = 13. ∑x2=5(8.24+4.42)=5(8.24+19.36)=138\sum x^{2} = 5(8.24 + 4.4^{2}) = 5(8.24 + 19.36) = 138, so the other two have squares summing to 138−41=97138 - 41 = 97. With a+b=13a + b = 13 and a2+b2=97a^{2} + b^{2} = 97: ab=169−972=36ab = \frac{169 - 97}{2} = 36, so a,ba, b are the roots of t2−13t+36=0t^{2} - 13t + 36 = 0: 44 and 99. Converting the mean and variance into totals turns the problem into simple algebra. Brain-Teaser 2: Find the variance of 1,2,3,…,101, 2, 3, \ldots, 10 and of 3,7,11,…,393, 7, 11, \ldots, 39. Solution: For 11 to 1010: 100−112=9912=8.25\frac{100 - 1}{12} = \frac{99}{12} = 8.25. The second list is 4k−14k - 1 for k=1k = 1 to 1010, a linear transformation with a=4a = 4, so its variance is 16×8.25=13216 \times 8.25 = 132. The shift by −1-1 changes nothing. Recognising a transformed standard set saves computing ten squares. Brain-Teaser 3: Batsman A has scores with mean 5050 and SD 1515; batsman B has mean 4040 and SD 1010. Who is more consistent? Who is the better scorer? Solution: CVA=1550×100=30%\text{CV}_{A} = \frac{15}{50} \times 100 = 30\% and CVB=1040×100=25%\text{CV}_{B} = \frac{10}{40} \times 100 = 25\%. B is more consistent (smaller relative variability), while A is the higher scorer on average. Comparing raw standard deviations would be misleading, because a larger mean naturally allows a larger absolute spread.