Consider the following sample of numbers:
9, 18, 11, 14, 15, 17, 10, 69, 11, 13
The median of the sample is
- (A)
13.5
- (B)
14
- (C)
11
- (D)
18.7
Consider the following sample of numbers:
9, 18, 11, 14, 15, 17, 10, 69, 11, 13
The median of the sample is
13.5
14
11
18.7
ANSWER
The median of the sample is 13.5, option (A).
Official answer: ASource: Official answer key, GATE 2024 CS1 (IISc Bengaluru)
The median is the middle value of the data once it is arranged in order. First sort the 10 numbers in ascending order.
Sorted: .
There are values, an even count, so no single middle value exists. The median is the mean of the th and th values.
The 5th value is and the 6th value is .
The outlier does not change the median. It does pull the mean up: the sum is , so the mean is . Option (D) is this mean, not the median.
Hence the median is , option (A).
KEY IDEA
Sort the data, then for an even count take the mean of the two middle values. The median ignores how extreme the largest value is.
WATCH OUT FOR
Picking the mean (18.7, option D) because the outlier 69 inflates it. Another slip is taking the 5th or 6th value alone (13 or 14) instead of averaging the two middle values for an even count. Forgetting to sort first also gives wrong answers.
From the GATE 2024 CS1 paper. Every question of this paper · Download the full paper · All 17 Statistics & probability questions, with notes