Probability & Statistics Workbook • P7

Type III Data: Continuous / Grouped Data

Learn how to calculate grouped mean, sample variance, sample standard deviation, coefficient of variation, quartiles, median and mode when data are given in class intervals.

Quick Method Before You Start

In Type III data, the observations are given in class intervals. For mean and standard deviation, use the midpoint of each class interval.

For median, quartiles and mode, first prepare cumulative frequency and identify the required class.

To compare consistency, use coefficient of variation. The smaller CV shows the more consistent data set.

Formulae Used

\[ \bar{x}=\frac{\sum fm}{\sum f} \]

\[ s=\sqrt{\frac{\sum fm^2-\frac{(\sum fm)^2}{n}}{n-1}} \]

\[ P_a=L+\left(\frac{i-c.f.}{f}\right)h \]

\[ \text{Mode}=L+\left(\frac{f_1-f_0}{2f_1-f_0-f_2}\right)h \]

Calculator tip: For grouped data, use the class midpoints as \(x\) values and the frequencies as \(f\) values in one-variable statistics mode. In the exam, still write the formulae and necessary substitution steps before writing the calculator result.

Question 11: Heights of Male and Female Students

Grouped Mean • SD • CV

The heights of female and male students are given below. Calculate mean height, sample standard deviation, sample variance and decide which data set is more consistent.

Height Male Female
145 - 15003
150 - 15528
155 - 160615
160 - 1651712
165 - 170214
170 - 175100
175 - 18020
180 - 18520
Exam Note: In this online solution, we show the working table clearly so that the method becomes understandable. In the examination, you may use the calculator with frequency ON, but write the formulae for mean, SD, variance and CV with necessary steps. Do not write only calculator answers.
✓
Enter your answer first.
Correct answer: \(166.25\)
✓
Enter your answer first.
Correct answer: \(38.67\)
✓
Enter your answer first.
Correct answer: \(6.22\)
✓
Enter your answer first.
Correct answer: \(3.74\%\)
✓
Enter your answer first.
Correct answer: \(158.21\)
✓
Enter your answer first.
Correct answer: \(28.75\)
✓
Enter your answer first.
Correct answer: \(5.36\)
✓
Enter your answer first.
Correct answer: \(3.39\%\)
✓
Select your answer first.
Correct answer: Female, because the CV is smaller.

Try once before opening the solution

Use midpoints, prepare \(fm\) and \(fm^2\), then try mean, SD and CV.

Detailed Step-by-Step Solution

Use the midpoints of the classes:

\(147.5,\;152.5,\;157.5,\;162.5,\;167.5,\;172.5,\;177.5,\;182.5\)

For male students:

\[ n=\sum f=60 \]

\[ \sum fm=9975 \]

\[ \sum fm^2=1660625 \]

\[ \bar{x}=\frac{\sum fm}{n} \]

\[ \bar{x}=\frac{9975}{60} \]

\[ \bar{x}=166.25 \]

\[ s^2=\frac{\sum fm^2-\frac{(\sum fm)^2}{n}}{n-1} \]

\[ s^2=\frac{1660625-\frac{9975^2}{60}}{59} \]

\[ s^2=38.67 \]

\[ s=\sqrt{38.67}=6.22 \]

\[ CV=\frac{6.22}{166.25}\times100=3.74\% \]

For female students:

\[ n=\sum f=42 \]

\[ \sum fm=6645 \]

\[ \sum fm^2=1052512.5 \]

\[ \bar{x}=\frac{6645}{42} \]

\[ \bar{x}=158.21 \]

\[ s^2=\frac{1052512.5-\frac{6645^2}{42}}{41} \]

\[ s^2=28.75 \]

\[ s=\sqrt{28.75}=5.36 \]

\[ CV=\frac{5.36}{158.21}\times100=3.39\% \]

Consistency:

The data set with smaller CV is more consistent.

\[ CV_{\text{male}}=3.74\%,\qquad CV_{\text{female}}=3.39\% \]

Since female CV is smaller, female height data are more consistent.

Final Answer

Male mean \(=166.25\) Male variance \(=38.67\) Male SD \(=6.22\) Male CV \(=3.74\%\) Female mean \(=158.21\) Female variance \(=28.75\) Female SD \(=5.36\) Female CV \(=3.39\%\) More consistent: Female

Video Solution

In this video, we have shown how to use midpoints, frequency and calculator support for grouped mean, SD, variance and CV.

Question 12: Rainfall Data

Quartiles • Median • Mode

Calculate quartiles, median and mode from the following grouped rainfall data.

Rainfall in mm 20 - 30 30 - 40 40 - 50 50 - 60 60 - 70
No. of days 15 16 20 24 15
Exam Note: For grouped percentiles, first prepare cumulative frequency, identify the correct class, then substitute in the grouped percentile formula. Do not jump directly to the answer.
✓
Enter your answer first.
Correct answer: \(34.69\)
✓
Enter your answer first.
Correct answer: \(47.00\)
✓
Enter your answer first.
Correct answer: \(56.88\)
✓
Enter your answer first.
Correct answer: \(53.08\)

Try once before opening the solution

Prepare cumulative frequency and identify the quartile, median and modal classes first.

Detailed Step-by-Step Solution

Prepare cumulative frequency:

Rainfall Frequency \(f\) Cumulative Frequency
20 - 301515
30 - 401631
40 - 502051
50 - 602475
60 - 701590

\[ N=90,\qquad h=10 \]

First quartile \(Q_1\):

\[ i=\frac{25}{100}\times 90=22.5 \]

The cumulative frequency first reaches \(22.5\) in the class \(30-40\). So, \(L=30,\; c.f.=15,\; f=16,\; h=10\).

\[ Q_1=L+\left(\frac{i-c.f.}{f}\right)h \]

\[ Q_1=30+\left(\frac{22.5-15}{16}\right)10 \]

\[ Q_1=34.69 \]

Median \(Q_2\):

\[ i=\frac{50}{100}\times 90=45 \]

The cumulative frequency first reaches \(45\) in the class \(40-50\). So, \(L=40,\; c.f.=31,\; f=20,\; h=10\).

\[ \text{Median}=40+\left(\frac{45-31}{20}\right)10 \]

\[ \text{Median}=47.00 \]

Third quartile \(Q_3\):

\[ i=\frac{75}{100}\times 90=67.5 \]

The cumulative frequency first reaches \(67.5\) in the class \(50-60\). So, \(L=50,\; c.f.=51,\; f=24,\; h=10\).

\[ Q_3=50+\left(\frac{67.5-51}{24}\right)10 \]

\[ Q_3=56.88 \]

Mode:

The highest frequency is \(24\), so the modal class is \(50-60\).

\[ L=50,\qquad f_1=24,\qquad f_0=20,\qquad f_2=15,\qquad h=10 \]

\[ \text{Mode}=L+\left(\frac{f_1-f_0}{2f_1-f_0-f_2}\right)h \]

\[ \text{Mode}=50+\left(\frac{24-20}{2(24)-20-15}\right)10 \]

\[ \text{Mode}=53.08 \]

Final Answer

\(Q_1=34.69\) Median \(=47.00\) \(Q_3=56.88\) Mode \(=53.08\)

Video Solution

In this video, we have shown how to identify grouped percentile classes and use the grouped mode formula.
Formulae

Available Formula Sheets

⌂ Home
Latest
Latest Content Auto
Home