Skip to main content

THE QUARTILES AND MEDIAN OF GROUPED DATA











In this post,  we will learn how to determine the quartiles when some quantitative data are presented in a frequency distribution table. For example, we have the following data, showing Flesch Readability Score of 80 monthly bulletin articles published by Britt and Co. Ltd.
Find the quartiles of these readability scores.

To answer this, first augment the table with a new column to the right of the frequency column, namely Data Numbers column. There are 5 data in the first class, so the class contains data no. 1 to  no. 5. There are 7 data in the second class, so the class contains data no. 6 to no. 12. There are 13 data in the third class, so the class contains data no. 13 to no. 25. Continuing this way, we get the following:


In this case, finding the first quartile means finding the 20th data, after the data have been ordered from the smallest to the highest (20 = ¼ x 80). Note that the 20th data is in the third class (20 is in the range of 13 - 25, as seen in the rightmost column). We call this class the “first quartile class”. The lower class boundary of the class is L1 = 50 - 0.5 = 49.5. The frequency of the class is f1 = 13. The class width is c = 59.5 - 49.5 = 10. Note that there are 12 data in the preceding classes (12 = 5 + 7), written as (Σf)1 = 12. Finally, substitute the values into this formula: $Q_{1} = L_{1} + \frac{n/4-(\Sigma f)_{1}}{f_{1}} \cdot c$.
Then we have: $ Q_{1} = 49.5 + \frac{20 - 12}{13} \cdot 10 \approx  55.65$. The first quartile of these readability data is 55.65.

Similarly, to find the third quartile, we use $Q_{3} = L_{3} + \frac{3n/4-(\Sigma f)_{3}}{f_{3}} \cdot c$.
Firstly, we have to find the “third quartile class”, that is the class containing the third quartile. To do this, calculate 3n/4. In this case, $\frac{3n}{4} = \frac{3 \cdot 80}{4} = 60$. Looking at the Data Numbers column, we know that the “third quartile class” is the fifth class  (60 is in the range of 49 - 70).

The lower class boundary of the class is L3 = 70 - 0.5 = 69.5. The frequency of the class is f3 = 22. The class width is c = 79.5 - 69.5 = 10. Note that there are 48 data in the preceding classes (48 = 5 + 7 + 13 + 23), written as (Σf)3 = 48. Finally, substitute the values into the formula for Q3.
$Q_{3} = 69.5 + \frac{60 - 48}{22} \cdot 10 \approx  74.95$
The third quartile of these readability data is 74.95.

(to be continued)



Comments

Popular posts from this blog

CONSTRUCTING THE FREQUENCY DISTRIBUTION TABLE

The frequency distribution table is a table that divides data into groups (classes) and shows how many data values occur in each group/class. Below is an example of frequency distribution table. Now we are learning how to create a frequency distribution table. Suppose we have a collection of ungrouped data on last year’s advertising expenditures of 40 logistics companies, recorded in millions Rupiahs. To construct a frequency distribution table of the ungrouped data, apply the following steps. Step 1: Find the range of the data The range (R) is defined as the difference between the largest data and the smallest data. In this case, R = 307 - 242 = 65. Step 2: Determine the number of categories/classes (k) Applying Sturges rule (k = 1 + 3,322 log n, where n = the number of data), we have: $k = 1 + 3.322 \: log \: 40 \approx 6.32$ As the value of k must be a natural number, 6.32 is rounded up to 7, so k = 7. Step 3: Determine the class width (c) To find c, use $

CALCULATING THE MEAN OF GROUPED DATA

Sometimes quantitative data are presented in the form of a frequency distribution table (FDT). A typical FDT is as follows. Suppose that the table above presents the duration of 16 cell phone conversations between pairs of teens. There are 2 conversations with duration from 30 seconds to 44 seconds, 3 conversations with duration from 45 seconds to 59 seconds, etc. How do we calculate the mean of the data? Step 1: Determine the midpoint of each class If M i denotes the midpoint of class i, $M_{i} = \frac{LB_{i}+UB_{i}}{2}$ where  LB i  = lower bound of class i and  UB i  = upper bound of class i. The lower bounds of class 1, 2, 3, 4, 5 are 30, 45, 60, 75, 90, respectively and the upper bounds are 44, 59, 74, 89, 104, respectively. Then, $M_{1} = \frac{30+44}{2} = 37$.  Similarly, $M_{2} = \frac{45+59}{2} = 52$. Continuing this way, we have the following table. Step 2: Multiply each class frequency f i by the corresponding class midpoint M i , resulting in f i M