The median value for the dataset (12, 10, 16, 8, 90, 50, 30, 24) is ____________.
GATE 2019 BT Q.22: solution and answer
Answer and solution
ANSWER
The median of the dataset is 20.
Official answer: 20Source: Official answer key, GATE 2019 BT (IIT Madras)
Sort the eight values in ascending order: .
The number of observations is , which is even, so the median is the mean of the -th and -th ordered values.
These are the 4th and 5th values: and .
The outlier does not affect the median, because the median depends only on the middle ordered values.
KEY IDEA
Sort the data first. With an even number of observations, the median is the average of the two middle ordered values.
WATCH OUT FOR
Taking the middle of the data in its given order, or picking only the 4th or 5th sorted value instead of averaging both. The mean, 30, is also pulled up by the outlier 90 and is not the median.
From the GATE 2019 BT paper. Every question of this paper · Download the full paper · All 60 Probability & statistics questions, with notes
More Probability & statistics questions
- GATE 2018 CS Q.15 · NAT · 1 markTwo people, P and Q, decide to independently roll two identical dice, each with 6 faces, numbered 1 to 6.
- GATE 2018 CS Q.44 · NAT · 2 marksConsider Guwahati (G) and Delhi (D) whose temperatures can be classified as high (H), medium (M) and low (L).
- GATE 2018 EC Q.23 · NAT · 1 markLet X_1, X_2, X_3 and X_4 be independent normal random variables with zero mean and unit variance.
- GATE 2018 IN Q.3 · MCQ · 1 markX and Y are two independent random variables with variances 1 and 2, respectively. Let Z = X - Y.