Skip to content
Gioi Toan
Start learning
A bar chart with three bars, the tallest one smiling

Notes on Lesson 2: Variance and standard deviation of grouped data (Maths 12 Chan troi sang tao, Chapter III)

Lesson summary

Given grouped data with groups [a1;a2),[a2;a3),...,[ak;ak+1)[a_1; a_2), [a_2; a_3), ..., [a_k; a_{k+1}) having corresponding frequencies m1,m2,...,mkm_1, m_2, ..., m_k, where m1>0m_1 > 0, mk>0m_k > 0 and sample size n=m1+m2+...+mkn = m_1 + m_2 + ... + m_k.

Each term containing (xi−x‾)2(x_i - \overline{x})^2 is the square of the difference between the representative value of the iith group and the mean.

Grouped data only tells you how many values are in each group, not each individual value.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Tính được phương sai, độ lệch chuẩn của mẫu số liệu ghép nhóm và giải thích ý nghĩa

Two classes take the same test, and both have a mean score of 7. But in one class everyone hovers around 6, 7, 8, while the other class has a student with 10 and a student with 4. The means are the same but the spread is quite different. This lesson helps you measure that spread with variance and standard deviation for grouped data, then use them to compare stability or risk in real life.

Practise similar problems

Key ideas: what do you need to know?

Representative value and mean of grouped data

Given grouped data with groups [a1;a2),[a2;a3),...,[ak;ak+1)[a_1; a_2), [a_2; a_3), ..., [a_k; a_{k+1}) having corresponding frequencies m1,m2,...,mkm_1, m_2, ..., m_k, where m1>0m_1 > 0, mk>0m_k > 0 and sample size n=m1+m2+...+mkn = m_1 + m_2 + ... + m_k.

  • The representative value of group [ai;ai+1)[a_i; a_{i+1}) is xi=ai+ai+12x_i = \frac{a_i + a_{i+1}}{2}, that is, the midpoint of the two endpoints of the group.
  • The mean of the grouped data is x‾=m1x1+m2x2+...+mkxkn.\overline{x} = \frac{m_1x_1 + m_2x_2 + ... + m_kx_k}{n}.
  • Example: group [70;72,5)[70; 72,5) has representative value x=70+72,52=71,25x = \frac{70 + 72,5}{2} = 71,25.

In plain words: Grouped data only tells you how many values are in each group, not each individual value. So you borrow one representative for the whole group: the midpoint of the group. The narrower the group, the closer the representative is to the true value. The mean is found by multiplying each representative by its frequency, then dividing by the sample size, just like computing a weighted average. This is the first step, because variance needs the mean to measure how far the values are from it.

Phrase by phrase
Representative value
The midpoint of the two endpoints of the group, used in place of every value in the group.Example: Group [72,5;75)[72,5; 75) has representative value 73,7573,75.
Mean
The average that takes into account the frequency of each group.Example: x‾=1⋅71,25+3⋅73,754=73,125\overline{x} = \frac{1 \cdot 71,25 + 3 \cdot 73,75}{4} = 73,125.
sample size n=m1+m2+...+mkn = m_1 + m_2 + ... + m_k
The sum of the class frequencies, which is exactly the number of values.Example: Frequencies 1, 3, 8, 5, 3 give n=20n = 20.

Common mistakesForgetting to divide by the sample size nn when computing the variance, only adding the terms mi(xi−x‾)2m_i(x_i - \overline{x})^2 and stopping there; correctly, that sum must be divided by nn.

Common mistakesIgnoring frequency, adding the squares of the representative values of each class exactly once, so a class with many data points does not contribute properly to the variance.

TipThe class representative is the midpoint: take the average of the two endpoints, not an endpoint; the narrower the class, the closer the representative is to the true value.

TipCompute the variance with s2=m1x12+...+mkxk2n−x‾2s^2 = \frac{m_1x_1^2 + ... + m_kx_k^2}{n} - \overline{x}^2 so each representative value is squared only once, which is less prone to sign errors; quickly check that the variance is not negative, if it comes out negative you made a mistake in the subtraction step.

Variance of grouped data

The variance of grouped data, denoted s2s^2, is computed by the formula s2=m1(x1−x‾)2+m2(x2−x‾)2+...+mk(xk−x‾)2n,s^2 = \frac{m_1(x_1 - \overline{x})^2 + m_2(x_2 - \overline{x})^2 + ... + m_k(x_k - \overline{x})^2}{n}, where xix_i is the representative value, mim_i is the class frequency of the iith group, nn is the sample size and x‾\overline{x} is the mean.

  • An equivalent shortcut formula: s2=m1x12+m2x22+...+mkxk2n−x‾2.s^2 = \frac{m_1x_1^2 + m_2x_2^2 + ... + m_kx_k^2}{n} - \overline{x}^2.
  • Each term containing (xi−x‾)2(x_i - \overline{x})^2 is the square of the difference between the representative value of the iith group and the mean.

In plain words: Variance is the average of the squares of the distances from each representative to the mean. Picture it this way: the mean is a landmark, and each group stands some distance xi−x‾x_i - \overline{x} from the landmark; you square it so that distances to the left and to the right are both positive, then average by frequency. A group far from the landmark contributes more, so a large variance means the data is spread out. The second formula is handier for calculating by hand, because you only square the representative once.

Phrase by phrase
Variance
A measure of how spread out the sample is around the mean, with units that are the square of the unit of measurement.Example: s2=1,1025s^2 = 1,1025 measured in cm has units of cm2^2.
(xi−x‾)2(x_i - \overline{x})^2
The square of the distance from the group representative to the mean.Example: xi=71,25x_i = 71,25, x‾=74,8\overline{x} = 74,8 give (71,25−74,8)2=12,6025(71,25 - 74,8)^2 = 12,6025.
Variance is always non-negative
Because it is an average of squares, it cannot be negative.Example: Getting s2=−3s^2 = -3 is certainly a mistake.

Common mistakesSubtracting x‾\overline{x} instead of subtracting x‾2\overline{x}^2 in the formula s2=m1x12+...+mkxk2n−x‾2s^2 = \frac{m_1x_1^2 + ... + m_kx_k^2}{n} - \overline{x}^2, so the result comes out completely wrong.

Standard deviation of grouped data

The standard deviation of grouped data, denoted ss, is the principal square root of the variance: s=s2.s = \sqrt{s^2}.

  • The standard deviation has the same unit of measurement as the original data, so it is easier to read than the variance.
  • Example: if s2=1,1025s^2 = 1,1025 then s=1,1025=1,05s = \sqrt{1,1025} = 1,05.
  • To compute ss, first compute s2s^2 and then take the square root; there is no other separate formula.

In plain words: Variance squares the distances, so its units get distorted: measured in cm, the variance comes out in cm2^2, which is hard to picture. Taking the square root brings it back to the original unit, like measuring the actual average deviation. That is why when reporting to others, people usually give the standard deviation: "the measurements deviate by about 1.05 cm" sounds clearer than "variance 1.1025". The two numbers always go together, larger together and smaller together.

Phrase by phrase
Standard deviation
The square root of the variance, in the same units as the data.Example: s=0,3364=0,58s = \sqrt{0,3364} = 0,58.
principal square root
The root is non-negative, so s≥0s \ge 0.Example: 1,44=1,2\sqrt{1,44} = 1,2, do not take −1,2-1,2.
same unit of measurement as the original data
If profit is measured in millions of dong, then ss is also in millions of dong.Example: s=0,58s = 0,58 million dong.

Meaning of variance and standard deviation

  • The variance and standard deviation of grouped data are approximations of the variance and standard deviation of the original data sample.
  • They are used to measure how spread out the grouped data is around its mean.
  • The larger the variance and standard deviation, the more spread out the data sample is, meaning the values are farther apart and farther from the mean; the smaller they are, the more the values cluster around the mean.
  • Because they are approximations, results computed from the grouped table may differ slightly from results computed on the original data.

In plain words: Two classes both have a mean of 7, but the class with a 10 and a 4 has a large variance, while the class with only 6s, 7s and 8s has a small variance. So variance does not say "good or bad", it says "even or uneven". Remember one sentence: the mean tells you the middle position, variance and standard deviation tell you whether the data clusters or spreads out around that middle. Because grouped data has lost the detail of each value, the numbers you compute are only approximations, so do not be surprised if they differ a little from the original data.

Phrase by phrase
approximation
Close, not exactly correct, because the whole group has been replaced by the representative value.Example: Computing from the grouped table gives s≈1,05s \approx 1,05, computing from the original data may give 1.03.
measure how spread out
Tells whether the values cluster or spread out around the mean.Example: ss small: the values are close together.
the larger it is, the more spread out the data sample is
Compare two samples: the one with the larger ss is more spread out.Example: sA=0,58>sB=0,11s_A = 0,58 > s_B = 0,11 so AA is more spread out than BB.

Common mistakesTaking the left endpoint or the right endpoint of a class as the representative value, while the representative must be the midpoint of the two endpoints: class [ai;ai+1)[a_i; a_{i+1}) has representative value xi=ai+ai+12x_i = \frac{a_i + a_{i+1}}{2}.

Use variance and standard deviation to measure risk and stability

In finance, there are many ways to measure the risk of an investment option. One of them is to use the standard deviation of the profit earned from the investment option. The larger the standard deviation, the riskier the investment option.

  • Remark: we should not use the variance or standard deviation to compare the risk of two investment options when the mean profits of these two investment options are very different.

When comparing two sets of grouped data with the same unit of measurement and equal or close means:

  • The option with the larger standard deviation has results that fluctuate more, so it is riskier (for investment) or less stable (for measurement, production).
  • The option with the smaller standard deviation gives more stable, more reliable results.
  • The conclusion must be based on the computed data, state clearly the comparison ss of the two samples, and only then draw the remark.

In plain words: Two people both earn a mean profit of 0.35 million dong, but person AA sometimes loses a lot and sometimes earns a lot, while person BB earns steadily. Who is "riskier"? Person AA, because the results fluctuate strongly, and it is precisely the large standard deviation that reflects this. The same goes for measuring devices: two devices give the same mean power, and the one with the smaller standard deviation has readings that jump less and is more reliable. Remember: to compare stability, look at ss, small means clustered, large means spread out.

Phrase by phrase
riskier
The results fluctuate strongly, there may be big losses, hard to predict.Example: The field with s=0,58s = 0,58 is riskier than the field with s=0,11s = 0,11.
more stable
The results are close together, changing little from one time to the next.Example: The device with s=1,05s = 1,05 is more stable than the device with s=1,2s = 1,2.
the same unit of measurement
Only compare standard deviations directly when the two samples have the same unit of measurement and equal or close means.Example: If both are measured in cm and the means are approximately equal, you can compare them; cm with kg, you cannot.

Common mistakesComparing the standard deviations of two samples with different units of measurement or with very different means, or concluding one is riskier just because its mean is greater; variance and standard deviation only describe spread, not high or low level.

TipTo compare stability or risk, compare standard deviations when the two samples have the same unit of measurement and equal or close means: a small ss means clustered and stable; a large ss means spread out and risky.

Worked examples

Example 1

Given grouped data on the height (unit: cm) of 20 students:
Group [150;155)[150; 155): 2; [155;160)[155; 160): 5; [160;165)[160; 165): 8; [165;170)[165; 170): 4; [170;175)[170; 175): 1.
a) Find the representative value of each group and the mean.
b) Calculate the variance and standard deviation.

Show the solution to example 1

Step 1: The representative value is the midpoint of each group: 152,5152,5; 157,5157,5; 162,5162,5; 167,5167,5; 172,5172,5.
Why: Group [ai;ai+1)[a_i; a_{i+1}) has representative value xi=ai+ai+12x_i = \frac{a_i + a_{i+1}}{2}, for example 150+1552=152,5\frac{150 + 155}{2} = 152,5.
Step 2: Sample size n=2+5+8+4+1=20n = 2 + 5 + 8 + 4 + 1 = 20.
Mean: x‾=2⋅152,5+5⋅157,5+8⋅162,5+4⋅167,5+1⋅172,520=323520=161,75\overline{x} = \frac{2 \cdot 152,5 + 5 \cdot 157,5 + 8 \cdot 162,5 + 4 \cdot 167,5 + 1 \cdot 172,5}{20} = \frac{3235}{20} = 161,75.
Why: Multiply the representative value by the frequency and then divide by the sample size, exactly the formula for the mean of grouped data.
Step 3: Compute the weighted sum of the squares of the representative values: 2⋅152,52+5⋅157,52+8⋅162,52+4⋅167,52+1⋅172,52=5237752 \cdot 152,5^2 + 5 \cdot 157,5^2 + 8 \cdot 162,5^2 + 4 \cdot 167,5^2 + 1 \cdot 172,5^2 = 523775.
Step 4: s2=52377520−161,752=26188,75−26163,0625=25,6875s^2 = \frac{523775}{20} - 161,75^2 = 26188,75 - 26163,0625 = 25,6875.
Why: Use the formula s2=m1x12+...+mkxk2n−x‾2s^2 = \frac{m_1x_1^2 + ... + m_kx_k^2}{n} - \overline{x}^2 for convenience, squaring the representative value only once.
Step 5: s=25,6875≈5,07s = \sqrt{25,6875} \approx 5,07.
Result: x‾=161,75\overline{x} = 161,75 cm; s2=25,6875s^2 = 25,6875; s≈5,07s \approx 5,07 cm.

Example 2

A shop recorded the number of minutes customers had to wait (unit: minute) over 25 turns:
[0;2)[0; 2): 4; [2;4)[2; 4): 9; [4;6)[4; 6): 7; [6;8)[6; 8): 3; [8;10)[8; 10): 2.
Calculate the variance and standard deviation of this grouped data.

Show the solution to example 2

Step 1: Representative values: 11; 33; 55; 77; 99. Sample size n=4+9+7+3+2=25n = 4 + 9 + 7 + 3 + 2 = 25.
Why: Each group is 2 units wide, and the representative value is the midpoint of the two endpoints.
Step 2: x‾=4⋅1+9⋅3+7⋅5+3⋅7+2⋅925=10525=4,2\overline{x} = \frac{4 \cdot 1 + 9 \cdot 3 + 7 \cdot 5 + 3 \cdot 7 + 2 \cdot 9}{25} = \frac{105}{25} = 4,2.
Step 3: Sum of squares of the representative values: 4⋅1+9⋅9+7⋅25+3⋅49+2⋅81=4+81+175+147+162=5694 \cdot 1 + 9 \cdot 9 + 7 \cdot 25 + 3 \cdot 49 + 2 \cdot 81 = 4 + 81 + 175 + 147 + 162 = 569.
Step 4: s2=56925−4,22=22,76−17,64=5,12s^2 = \frac{569}{25} - 4,2^2 = 22,76 - 17,64 = 5,12.
Why: Use the formula s2=m1x12+...+mkxk2n−x‾2s^2 = \frac{m_1x_1^2 + ... + m_kx_k^2}{n} - \overline{x}^2, remember to subtract x‾2\overline{x}^2 and not x‾\overline{x}.
Step 5: s=5,12≈2,26s = \sqrt{5,12} \approx 2,26.
Result: x‾=4,2\overline{x} = 4,2 minutes; s2=5,12s^2 = 5,12; s≈2,26s \approx 2,26 minutes.

Example 3

Two machines AA and BB both pack boxes of tea, with masses (unit: gram) recorded in the table:
Machine AA: [248;250)[248; 250): 3; [250;252)[250; 252): 12; [252;254)[252; 254): 5.
Machine BB: [248;250)[248; 250): 6; [250;252)[250; 252): 6; [252;254)[252; 254): 8.
Which machine packs more stably?

Show the solution to example 3

Step 1: Both samples have representative values 249249; 251251; 253253 and sample size n=20n = 20.
Why: They are the same groups, so the same representatives, and the same unit of gram, so the standard deviations can be compared directly.
Step 2: Machine AA: x‾A=3⋅249+12⋅251+5⋅25320=502420=251,2\overline{x}_A = \frac{3 \cdot 249 + 12 \cdot 251 + 5 \cdot 253}{20} = \frac{5024}{20} = 251,2.
Machine BB: x‾B=6⋅249+6⋅251+8⋅25320=502420=251,2\overline{x}_B = \frac{6 \cdot 249 + 6 \cdot 251 + 8 \cdot 253}{20} = \frac{5024}{20} = 251,2.
Step 3: Machine AA: sA2=3⋅2492+12⋅2512+5⋅253220−251,22=63103−63101,44=1,56s_A^2 = \frac{3 \cdot 249^2 + 12 \cdot 251^2 + 5 \cdot 253^2}{20} - 251,2^2 = 63103 - 63101,44 = 1,56, so sA=1,56≈1,25s_A = \sqrt{1,56} \approx 1,25.
Step 4: Machine BB: sB2=6⋅2492+6⋅2512+8⋅253220−251,22=63104,2−63101,44=2,76s_B^2 = \frac{6 \cdot 249^2 + 6 \cdot 251^2 + 8 \cdot 253^2}{20} - 251,2^2 = 63104,2 - 63101,44 = 2,76, so sB=2,76≈1,66s_B = \sqrt{2,76} \approx 1,66.
Why: The two machines have the same mean, so comparing stability means comparing standard deviations; the machine with the smaller ss has box masses closer together.
Step 5: sA≈1,25<sB≈1,66s_A \approx 1,25 < s_B \approx 1,66.
Result: Machine AA packs more stably than machine BB.

Example 4

Profit (unit: million dong) of 20 investors in two sectors:
Sector AA: [−1;−0,5)[-1; -0,5): 2; [−0,5;0)[-0,5; 0): 3; [0;0,5)[0; 0,5): 7; [0,5;1)[0,5; 1): 5; [1;1,5)[1; 1,5): 3.
Sector BB: [−1;−0,5)[-1; -0,5): 1; [−0,5;0)[-0,5; 0): 3; [0;0,5)[0; 0,5): 10; [0,5;1)[0,5; 1): 4; [1;1,5)[1; 1,5): 2.
Investing in which sector is riskier?

Show the solution to example 4

Step 1: Representative values: −0,75-0,75; −0,25-0,25; 0,250,25; 0,750,75; 1,251,25. Both samples have n=20n = 20.
Why: Negative profit is still ordinary quantitative data, and the representative value is still the group midpoint.
Step 2: Sector AA: x‾A=2⋅(−0,75)+3⋅(−0,25)+7⋅0,25+5⋅0,75+3⋅1,2520=720=0,35\overline{x}_A = \frac{2 \cdot (-0,75) + 3 \cdot (-0,25) + 7 \cdot 0,25 + 5 \cdot 0,75 + 3 \cdot 1,25}{20} = \frac{7}{20} = 0,35.
Step 3: sA2=2⋅0,5625+3⋅0,0625+7⋅0,0625+5⋅0,5625+3⋅1,562520−0,352=0,4625−0,1225=0,34s_A^2 = \frac{2 \cdot 0,5625 + 3 \cdot 0,0625 + 7 \cdot 0,0625 + 5 \cdot 0,5625 + 3 \cdot 1,5625}{20} - 0,35^2 = 0,4625 - 0,1225 = 0,34, so sA=0,34≈0,58s_A = \sqrt{0,34} \approx 0,58.
Step 4: Sector BB: x‾B=1⋅(−0,75)+3⋅(−0,25)+10⋅0,25+4⋅0,75+2⋅1,2520=6,520=0,325\overline{x}_B = \frac{1 \cdot (-0,75) + 3 \cdot (-0,25) + 10 \cdot 0,25 + 4 \cdot 0,75 + 2 \cdot 1,25}{20} = \frac{6,5}{20} = 0,325.
Step 5: sB2=1⋅0,5625+3⋅0,0625+10⋅0,0625+4⋅0,5625+2⋅1,562520−0,3252=0,3375−0,105625=0,231875s_B^2 = \frac{1 \cdot 0,5625 + 3 \cdot 0,0625 + 10 \cdot 0,0625 + 4 \cdot 0,5625 + 2 \cdot 1,5625}{20} - 0,325^2 = 0,3375 - 0,105625 = 0,231875, so sB=0,231875≈0,48s_B = \sqrt{0,231875} \approx 0,48.
Why: The two sectors have approximately equal mean profits, so consider the standard deviation; the sector with the larger ss has profits that fluctuate more, that is, it is riskier.
Step 6: sA≈0,58>sB≈0,48s_A \approx 0,58 > s_B \approx 0,48.
Result: Sector AA is riskier than sector BB.

Example 5

Two devices measuring the power (unit: watt) of a fan, each device measures 20 times:
Device 1: [71;73)[71; 73): 1; [73;75)[73; 75): 3; [75;77)[75; 77): 8; [77;79)[77; 79): 5; [79;81)[79; 81): 3.
Device 2: [71;73)[71; 73): 3; [73;75)[73; 75): 4; [75;77)[75; 77): 6; [77;79)[77; 79): 5; [79;81)[79; 81): 2.
Which device gives more stable measurement results?

Show the solution to example 5

Step 1: Representative values: 7272; 7474; 7676; 7878; 8080. Both samples have n=20n = 20.
Why: They are the same groups, in the same unit of watt, so the standard deviations can be compared directly.
Step 2: Device 1: x‾1=1⋅72+3⋅74+8⋅76+5⋅78+3⋅8020=153220=76,6\overline{x}_1 = \frac{1 \cdot 72 + 3 \cdot 74 + 8 \cdot 76 + 5 \cdot 78 + 3 \cdot 80}{20} = \frac{1532}{20} = 76,6.
Step 3: s12=1⋅722+3⋅742+8⋅762+5⋅782+3⋅80220−76,62=5872−5867,56=4,44s_1^2 = \frac{1 \cdot 72^2 + 3 \cdot 74^2 + 8 \cdot 76^2 + 5 \cdot 78^2 + 3 \cdot 80^2}{20} - 76,6^2 = 5872 - 5867,56 = 4,44, so s1=4,44≈2,11s_1 = \sqrt{4,44} \approx 2,11.
Step 4: Device 2: x‾2=3⋅72+4⋅74+6⋅76+5⋅78+2⋅8020=151820=75,9\overline{x}_2 = \frac{3 \cdot 72 + 4 \cdot 74 + 6 \cdot 76 + 5 \cdot 78 + 2 \cdot 80}{20} = \frac{1518}{20} = 75,9.
Step 5: s22=3⋅722+4⋅742+6⋅762+5⋅782+2⋅80220−75,92=5766,6−5760,81=5,79s_2^2 = \frac{3 \cdot 72^2 + 4 \cdot 74^2 + 6 \cdot 76^2 + 5 \cdot 78^2 + 2 \cdot 80^2}{20} - 75,9^2 = 5766,6 - 5760,81 = 5,79, so s2=5,79≈2,41s_2 = \sqrt{5,79} \approx 2,41.
Why: The two devices measure the same fan, so they use the same unit of watt, and the standard deviations can be compared directly; a smaller ss means the measurements are closer together.
Step 6: s1≈2,11<s2≈2,41s_1 \approx 2,11 < s_2 \approx 2,41.
Result: Device 1 gives more stable measurement results.

Example 6

A class has 30 students, and their Math test scores (on a scale of 10) are grouped as follows:
[4;5)[4; 5): 2; [5;6)[5; 6): 5; [6;7)[6; 7): 9; [7;8)[7; 8): 8; [8;9)[8; 9): 4; [9;10)[9; 10): 2.
a) Calculate the mean, variance, and standard deviation.
b) If one more student with a score of 9.5 is added to group [9;10)[9; 10), does the standard deviation increase or decrease? Explain using its meaning.

Show the solution to example 6

Step 1: Representative values: 4,54,5; 5,55,5; 6,56,5; 7,57,5; 8,58,5; 9,59,5. Sample size n=2+5+9+8+4+2=30n = 2 + 5 + 9 + 8 + 4 + 2 = 30.
Step 2: x‾=2⋅4,5+5⋅5,5+9⋅6,5+8⋅7,5+4⋅8,5+2⋅9,530=20830=10415≈6,93\overline{x} = \frac{2 \cdot 4,5 + 5 \cdot 5,5 + 9 \cdot 6,5 + 8 \cdot 7,5 + 4 \cdot 8,5 + 2 \cdot 9,5}{30} = \frac{208}{30} = \frac{104}{15} \approx 6,93.
Step 3: Weighted sum of squared representative values: 2⋅4,52+5⋅5,52+9⋅6,52+8⋅7,52+4⋅8,52+2⋅9,52=1491,52 \cdot 4,5^2 + 5 \cdot 5,5^2 + 9 \cdot 6,5^2 + 8 \cdot 7,5^2 + 4 \cdot 8,5^2 + 2 \cdot 9,5^2 = 1491,5.
Step 4: s2=1491,530−(10415)2=298360−10816225=1481900≈1,65s^2 = \frac{1491,5}{30} - \left(\frac{104}{15}\right)^2 = \frac{2983}{60} - \frac{10816}{225} = \frac{1481}{900} \approx 1,65, so s≈1,28s \approx 1,28.
Why: Use the shortcut formula, remember to subtract x‾2\overline{x}^2 and check that s2s^2 is not negative.
Step 5: Adding one student with 9,59,5 points means adding a value far above the mean. Since 9,59,5 is about 2,572,57 away from the old mean, greater than s≈1,28s \approx 1,28, the spread increases.
Why: Standard deviation measures how far values spread around the mean; adding one outstandingly high score stretches the distance, making the spread increase.
Step 6: Check again: n′=31n' = 31, x‾′=208+9,531=217,531≈7,02\overline{x}' = \frac{208 + 9,5}{31} = \frac{217,5}{31} \approx 7,02, s′2=1491,5+9,5231−(217,531)2≈51,0242−49,2261≈1,80s'^2 = \frac{1491,5 + 9,5^2}{31} - \left(\frac{217,5}{31}\right)^2 \approx 51,0242 - 49,2261 \approx 1,80, so s′≈1,34>1,28s' \approx 1,34 > 1,28.
Result: a) x‾=10415≈6,93\overline{x} = \frac{104}{15} \approx 6,93; s2=1481900≈1,65s^2 = \frac{1481}{900} \approx 1,65; s≈1,28s \approx 1,28. b) The standard deviation increases, which fits the meaning of spread.

Terms

Representative value
The midpoint of the two endpoints of a grouped class, used in place of the values in that class.Example: Class [75;77,5)[75; 77,5) has representative value 76,2576,25.
Mean of grouped data
The average of the representative values, weighted by frequency.Example: x‾=m1x1+...+mkxkn\overline{x} = \frac{m_1x_1 + ... + m_kx_k}{n}.
Variance
The frequency-weighted average of the squared distances from each class's representative value to the mean, denoted s2s^2.Example: s2=0,3364s^2 = 0,3364.
Standard deviation
The principal square root of the variance, denoted ss.Example: s=0,3364=0,58s = \sqrt{0,3364} = 0,58.
Degree of spread
How much the data differ and spread out around the mean.Example: A large ss means strong spread.
Class frequency
The number of data points falling in that class, denoted mim_i.Example: Class [72,5;75)[72,5; 75) has frequency 8.
Sample size
The total number of data points, equal to the sum of the frequencies, denoted nn.Example: n=1+3+8+5+3=20n = 1 + 3 + 8 + 5 + 3 = 20.
Risk level
How unpredictably the result fluctuates, reflected by a large standard deviation.Example: An investment with a large ss has high risk.
Approximately
The approximation obtained when replacing a class by its representative value.Example: The variance computed from a grouped table is an approximation of the variance of the original sample.