Skip to main content

THE MEDIAN


When a data set is at ordinal level, we can use median as an alternative to arithmetic mean. We use the alternative measure especially when we cannot calculate the arithmetic mean. For example, we want to compare the clothes size of two groups of two students.


Group A







Group B









To compare which group have larger clothes size, we cannot calculate the mean. Then, how to determine the values ​​that represent the groups’ clothes size? This is the use of the median! To determine the median of a data, the first step is to sort the data from the smallest to the largest. The data located in the middle is the median of the data. If Me is the median of a data set, then the number of data whose value is ≤ Me equals the number of data whose value is ≥ Me. Group A’s sorted clothes size data are: S - M - L - L - XL. The third data from the left, that is L, is the median of Group A’s clothes size. We denote it as: Me = L. Group B’s sorted clothes size data are: S - S - S - M - L - L - XL. The 4th data from the left, that is M, is the median of Group B’s clothes size. We denote it as: Me = M.

Determining the median
Let X1, X2, X3, ..., Xn be the data under consideration, sorted from the smallest to the largest. [So, X1 is the smallest and Xn is the largest]. The median of the data is $Me = X_{\frac{n+1}{2}}$ if n is odd and $Me = \frac{X_{n/2}+X_{1+n/2}}{2}$ if n is even.



Example 1
The following are shoe sizes of a group of men: 40, 38, 42, 44, 38, 36, 40. What is the median?

Answer:
Firstly, sort the data from the smallest to the largest. So, we have:
36   38   38   40   40   42   44
Let X1 = 36, X2 = 38, X3 = 38, X4 = 40, X5 = 40, X6 = 42, and X7 = 44. In this case, n = 7 (odd), so we use $Me = X_{\frac{n+1}{2}}$.
$\frac{n+1}{2} = \frac{7+1}{2} = 4$
Me = X4 = 40.
So, the median of the data is 40.

Example 2
The following are shoe sizes of a group of men: 40, 38, 42, 44, 38, 36, 40, 40. What is the median?

Answer:
Firstly, sort the data from the smallest to the largest. So, we have:
36   38   38   40   40   40   42   44
Let X1 = 36, X2 = 38, X3 = 38, X4 = 40, X5 = 40, X6 = 40, X7 = 42, and X8 = 44. In this case, n = 8 (even), so we use $Me = \frac{X_{n/2}+X_{1+n/2}}{2}$.
$ Me = \frac{X_{8/2}+X_{1+8/2}}{2} = \frac{X_{4}+X_{5}}{2} = \frac{40+40}{2} = 40$
So, the median is 40.


PROBLEMS
  1. The following are scores of a Social Statistics test: 28, 40, 87, 47, 59, 72, 84, 82, 19, 55, 64, 87. Calculate the median.
  2. The following is the length of the conversation using 14 mobile phones, in seconds: 16, 62, 45, 90, 55, 49, 100, 89, 72, 115, 45, 59, 128, 219. Find the median.
  3. The following are 11 data regarding the number of students attending Social Statistics class, from the first lecture to the 11th: 37, 40, 35, 36, 40, 40, 42, 37, 39, 40, 41. What is the mean of this data?

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 $

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  20 th  data, after the data have been ordered from the smallest to the highest (20 = ¼ x 80). Note that the  20 th  data is in the third class (20 is in the range of 13 - 25, as s

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