Construct a dataset of 7 elements whose median is 87?
1 Answer
An example:
Explanation:
For any collection of numbers (which we call a set), the median is the element of the set which has the same amount of elements both less than it and greater than it.
For example, in the set
To find the median of a set, a common first step is to arrange the elements in order. That way all you need to do is count in from both ends, one element at a time, until you find the middle.
Example: Find the median of
Answer: The median is 6.
How? First, arrange the elements in order:
#{1,2,2,3,4,6,7,18,23,70,89}#
Then "cross off" the lowest and highest element:
#{color(pink)1,2,2,3,4,6,7,18,23,70,color(pink)89}#
Keep going with what's left:
#{color(pink)1,color(pink)2,2,3,4,6,7,18,23,color(pink)70,color(pink)89}#
#{color(pink)1,color(pink)2,color(pink)2,3,4,6,7,18,color(pink)23,color(pink)70,color(pink)89}#
#{color(pink)1,color(pink)2,color(pink)2,color(pink)3,4,6,7,color(pink)18,color(pink)23,color(pink)70,color(pink)89}#
#{color(pink)1,color(pink)2,color(pink)2,color(pink)3,color(pink)4,6,color(pink)7,color(pink)18,color(pink)23,color(pink)70,color(pink)89}#
Since there's only one element left now, that element is the median.
If a set has an odd number of elements, the median will be the middle element of the set. If the set has an even number of elements, the median is the average of the two middle elements.
Example: Find the median of
Answer: The median is 4.5.
How? The smallest element is 3, and the largest is 6. Removing these leaves the elements 4 and 5. We can't remove these last two; that would leave us with no elements. So we take the average of 4 and 5, to get
To create a set with a given median