Ripetizioni di Analisi
EN

Worked examples · Sheet 3

Medians, modes and quartiles

Theory used:Middle position and most frequent valueCumulative frequenciesQuartiles and interquartile range

Go to: Exercise 1Exercise 2Exercise 3

Exercise 1

Find the median and mode of .

x count 123456789123 O
The tallest bar identifies the mode. The median comes from ordering the recorded values with their frequencies.

With five observations there are two positions on either side of the third, so the middle value is . The value occupies two positions, while each other value occurs once. The median and mode therefore answer different questions.

To find the centre, the positions matter. The first and second are both occupied by , while the fourth and fifth are occupied by and . There are two observations strictly below and two strictly above it. The mode instead comes from the tallies attached to the values, without locating the middle position. In the figure the bar at is twice the height of the others. Another check is to compare the result with the mean. Here the sum is , so the mean is . The three numbers differ because frequency, order and sum answer three different questions.

Exercise 2

The values , and occur , and times, respectively. Find the median without listing all the observations.

The two middle positions are the fourth and fifth. The cumulative frequency at is , so the fourth observation is . The fifth lies among the observations with value . The median is an intermediate point and need not be an observed value.

The cumulative counts are at value , at value , and at value . Each value occupies the positions immediately after the previous cumulative count up to its own. Thus occupies the fifth and sixth positions, and the seventh and eighth. For an even number of observations, reaching exactly half in one row does not let us stop at that row’s value. Here the count of at makes the first middle value. The second is in the next row. Averaging the two middle values gives . As a check, four observations lie below and four above it.

Exercise 3

For the ordered data , find , and the interquartile range, excluding the overall median from both halves.

x 3691215182112 O Q_1MeQ_3
The box runs from to . The outer segments show the minimum and maximum .

The middle value separates the data into two sets of three. Take the middle observation of each set. Even if were replaced by , the middle positions of the two halves would contain the same values and the interquartile range would stay at .

Counting positions shows which observations determine the result. The fourth observation is the median . In the lower half the second position gives . In the upper half the middle position is the sixth of the full list and gives . If the measure of spread used both extremes, the distance from minimum to maximum would be . The interquartile range is instead the distance between the two interior positions. The maximum can therefore increase without affecting the answer. The rule excluding the median matters. If were included in both halves, the quartiles would be and , with a difference of .

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents