Ripetizioni di Analisi
EN

Worked examples · Sheet 3

Medians of ordered and grouped data

Theory used:Median and empirical quantilesMode

Go to: Exercise 1Exercise 2

Exercise 1

Find the median and mode of the daily service-call counts recorded over six days, .

The median depends on positions in the ordered list, so first sort the six observations. The value occurs twice and occupies the third and fourth positions.

There are six observations, an even number with . The median is therefore the average of the third and fourth observations. They agree because service calls were recorded on two different days, so the median is .

To find the mode, compare the frequencies in the table. The value occurs twice and every other value occurs once. Thus is the only value with maximum frequency.

In this sample the median and the mode coincide because the same number meets both criteria. The median daily number of service calls is and the mode is .

Exercise 2

A frequency table lists values with respective counts . Find the median without expanding the table and explain whether it is one of the observed values.

x nⱼ 24681012345 O 32415.5
Counts for each of the four values. The median is , with observations to its left and to its right.

The sample size is ten, an even number with . The median is the mean of the fifth and sixth values in the ordered list.

The cumulative counts give the last position occupied by each value. The value occupies positions one through three, positions four and five, and positions six through nine. The fifth position is the last occupied by because the cumulative count there reaches exactly five. The sixth is the first occupied by because the next cumulative count rises from five to nine.

The even-sample convention averages these two values, so the median is .

The table contains five observations below and five above. None equals , so the median does not appear in the data. This occurs whenever the sample size is even and the two middle values differ.

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