4.2 Presenting data

4.2 Presenting data

IB Maths: Applications and Interpretation SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A frequency table lists each value or class interval with its frequency; write classes as inequalities with no gaps.
  • Histogram bars touch; with equal widths the heights are the frequencies.
  • Plot cumulative frequency against the upper class boundary.
  • Median at 12n\frac12n, Q1Q_1 at 14n\frac14n, Q3Q_3 at 34n\frac34n, ppth percentile at p100n\frac{p}{100}n.
  • A box and whisker diagram shows the five-number summary; outliers are crosses.

Frequency tables and histograms

Group data in class intervals with no gaps, then draw touching bars whose heights are the frequencies.

A frequency table lists each value (discrete data) or each class interval (grouped data) with its frequency. Write classes as inequalities, such as 0≤x<100\le x<10, 10≤x<2010\le x<20, so each value belongs to exactly one class.

The modal class has the greatest frequency (equal widths). Classes 0<m≤20<m\le2 to 8<m≤108<m\le10 with frequencies 4,11,17,12,64,11,17,12,6 have modal class 4<m≤64<m\le6.

In a frequency histogram the bars touch because the data are continuous. The shape shows whether the data are symmetrical or skewed.

0510150-22-44-66-88-10mFrequency
Histogram of the frequency table. The tallest bar is the modal class.

Which class is the modal class in the histogram?

Cumulative frequency

Cumulative frequency is a running total, plotted against the upper boundary of each class.

Cumulative frequency is a running total of the frequencies. Plot each total against the upper boundary of its class and join the points with a smooth curve (straight lines if told uniform spread).

Reading the graph, with nn the total frequency: the median is at 12n\frac12n, Q1Q_1 at 14n\frac14n, Q3Q_3 at 34n\frac34n and the ppth percentile at p100n\frac{p}{100}n.

Then IQR=Q3−Q1\text{IQR}=Q_3-Q_1 and range=max−min\text{range}=\text{max}-\text{min}.

010203040020406080Age (upper boundary)Cumulative frequency
Cumulative frequency of 40 ages, plotted against the upper class boundary.

For n=60n=60, at which cumulative frequency do you read Q3Q_3?

Percentiles from grouped data

Find the class containing the required position, then interpolate within it for an estimate.

Ages of 40 visitors: 0≤a<200\le a<20 has 5 visitors, 20≤a<4020\le a<40 has 13, 40≤a<6040\le a<60 has 15 and 60≤a<8060\le a<80 has 7, giving cumulative frequencies 5,18,33,405, 18, 33, 40.

Work out the position (such as 12n=20\frac12n=20), find the class that contains it, and move along that class by the fraction of its frequency still needed.

These are estimates because individual values inside a class are unknown.

  • Positionp100×n\dfrac{p}{100}\times n
  • Estimateclass start + neededclass frequency×width+\ \dfrac{\text{needed}}{\text{class frequency}}\times\text{width}

Worked example

Estimate the median, Q1Q_1, Q3Q_3, IQR and 90th percentile of the 40 ages.

In this data set, which class contains the 36th value?

Box and whisker diagrams

It shows the five-number summary, with outliers marked as crosses beyond the whiskers.

A box and whisker diagram uses the minimum, Q1Q_1, median, Q3Q_3 and maximum. The box runs from Q1Q_1 to Q3Q_3 with a line at the median. Whiskers reach the least and greatest values that are not outliers.

Any outlier is drawn as a cross. With Q1=50Q_1=50, Q3=66Q_3=66 and IQR=16\text{IQR}=16, the upper boundary is 66+24=9066+24=90, so a maximum of 110110 is a cross and the whisker stops at the last value up to 90.

405060708090100110120Q1 = 50Q3 = 6690 boundary110 (cross)

What does the line inside the box mark?

Comparing distributions

Compare a measure of centre and a measure of spread, with numbers and in context.

To compare two data sets, comment on the centre (median) and the spread (IQR or range), quoting numbers and the context.

For example: the median for A is higher, so A typically has more customers; A has the greater IQR, so its numbers are more variable.

Data may be normally distributed if the diagram is symmetrical: the median is in the middle of the box and the whiskers are similar in length. If the median is nearer one end of the box, or one whisker is much longer, the data are skewed.

Centre

Use:
Median
Say:
Which is typically higher?

Spread

Use:
IQR or range
Say:
Which is more variable?

Shape

Use:
Symmetrical
Say:
Median centred, whiskers equal

Data A has IQR 4 and data B has IQR 9. What does that say?

Try an exam question

The times (minutes) taken by 40 students to complete a task have Q1=12Q_1=12, median 1515, Q3=19Q_3=19, minimum 88 and maximum 3434. Determine whether 3434 is an outlier, and describe the skew.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

How many parcels have a mass of 6 kg or less?

1 mark, marked against the mark scheme

Revision notes