Skip to content

Mathematics · Ch 8 — Measures of Dispersion

Standard Deviation

8.2.2

Standard Deviation

Standard deviation is defined as the positive square root of the variance, denoted σ\sigma (sigma): σ=Var(X)\sigma = \sqrt{\text{Var}(X)} It is preferred to variance for interpretation because it carries the same unit as the original data, whereas variance is expressed in squared units. The working formulas take three closely related forms depending on how the data is presented.

  1. Raw data: if a variable X takes the values x1,x2,…,xnx_1, x_2, \ldots, x_n with arithmetic mean xˉ=1n∑xi\bar{x} = \frac{1}{n}\sum x_i, then Var(X)=σ2=1n∑i=1nxi2−xˉ2,S.D.=σ=Var(X)\text{Var}(X) = \sigma^2 = \frac{1}{n}\sum_{i=1}^{n}x_i^2 - \bar{x}^2, \qquad \text{S.D.} = \sigma = \sqrt{\text{Var}(X)}
  2. Ungrouped frequency distribution: if x1,x2,…,xnx_1, x_2, \ldots, x_n are the values of X with corresponding frequencies f1,f2,…,fnf_1, f_2, \ldots, f_n, and N=∑fiN=\sum f_i is the total frequency, then Var(X)=σ2=1N∑i=1nfi(xi−xˉ)2=∑fixi2N−xˉ2,where xˉ=∑fixiN\text{Var}(X) = \sigma^2 = \frac{1}{N}\sum_{i=1}^{n}f_i(x_i-\bar{x})^2 = \frac{\sum f_ix_i^2}{N} - \bar{x}^2, \quad \text{where } \bar{x} = \frac{\sum f_ix_i}{N}
  3. Grouped frequency distribution: exactly the same formula as (ii) is used, except that x1,…,xnx_1,\ldots,x_n now stand for the mid-values of the class intervals and f1,…,fnf_1,\ldots,f_n are the corresponding class frequencies. Standard deviation is again σ=Var(X)\sigma = \sqrt{\text{Var}(X)} in every case. Worked Example (Ex.1) — raw data: For 9, 12, 15, 18, 21, 24, 27, n = 7 and xˉ=126/7=18\bar{x} = 126/7 = 18. Building the deviations-from-mean table gives squared deviations 81, 36, 9, 0, 9, 36, 81, which total 252. So Var(X)=252/7=36\text{Var}(X) = 252/7 = 36 and S.D.=σ=36=6\text{S.D.} = \sigma = \sqrt{36} = 6. Worked Example (Ex.2) — raw data, alternate method: Marks out of 25 of 5 students are 10, 13, 17, 20, 23. Here n = 5, ∑xi=83\sum x_i = 83 so xˉ=83/5=16.6\bar{x}=83/5=16.6, and ∑xi2=100+169+289+400+529=1487\sum x_i^2 = 100+169+289+400+529=1487. Then Var(X)=1487/5−(16.6)2=297.4−275.56=21.84\text{Var}(X) = 1487/5 - (16.6)^2 = 297.4 - 275.56 = 21.84, and S.D.=21.84≈4.67\text{S.D.} = \sqrt{21.84} \approx 4.67. Worked Example (Ex.3) — ungrouped frequency distribution: A die is rolled 30 times, giving scores 1-6 with frequencies 2, 6, 2, 5, 10, 5 (N = 30). Building f.x and f.x² columns gives ∑fixi=120\sum f_ix_i = 120 and ∑fixi2=554\sum f_ix_i^2 = 554. So xˉ=120/30=4\bar{x} = 120/30 = 4, Var(X)=554/30−42=18.47−16=2.47\text{Var}(X) = 554/30 - 4^2 = 18.47 - 16 = 2.47, and S.D.=2.47≈1.57\text{S.D.} = \sqrt{2.47} \approx 1.57. …
Table Ex.1Variance and S.D. of 7 raw values
xix_ixi−xˉx_i - \bar{x}(xi−xˉ)2(x_i-\bar{x})^2
9−981
12−636
15−39
1800
2139
24636
Table Ex.2Variance and S.D. of 5 test marks (alternate/direct method)
xix_ixi2x_i^2
10100
13169
17289
20400
23529
Table Ex.3Variance and S.D. of a die rolled 30 times (ungrouped frequency distribution)
Xff.xf.x²
1222
261224
32618
452080
51050250
Misc Activity-3Variance and S.D. of 7 students' test marks (guided practice)

Worked out. A guided practice activity computing the mean, then the deviation from mean and its square, for marks (3, 4, 6, 2, 8, 8, 5) scored by seven randomly selected students, leading to the Variance and Standard Deviation — presented with blanks for students to fill in as they work through it. …

Misc Activity-4Variance and S.D. of centuries scored by 7 batsmen (guided practice)

Worked out. A guided practice activity computing the variance and standard deviation of the number of centuries scored in a year by seven randomly selected batsmen (3, 5, 6, 3, 7, 6, 4), using the direct ∑x2/n−(∑x/n)2\sum x^2/n - (\sum x/n)^2 method with blanks for students to fill in. …