Representing data

Representing data

IB MYP Maths Standard: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A frequency table lists values with their frequency; grouped data use class intervals.
  • Pie chart angle =frequencytotal×360∘=\frac{\text{frequency}}{\text{total}}\times360^\circ.
  • A frequency polygon joins the class midpoints.
  • A stem-and-leaf diagram needs ordered leaves and a key.
  • A graph is misleading if the axis does not start at 00 or the scale is uneven.

Tables and tally charts

A frequency table lists each value with how often it occurs, and the frequencies must add up to the number of items.

A frequency table lists each value or category with its frequency (how many times it occurs).

A tally chart is used to record data as you collect it, in groups of five.

Continuous data are put in class intervals such as 0≤h<100\leq h<10, 10≤h<2010\leq h<20 so that each value belongs to exactly one class.

Check that the frequencies add up to the number of items in the data set.

012342345MarkFrequency
Frequencies of the marks 2, 3, 4 and 5

Worked example: frequency table

Make a frequency table for the marks 2,5,3,2,4,5,2,3,2,52,5,3,2,4,5,2,3,2,5.

A grouped table has classes 0≤h<100\leq h<10 and 10≤h<2010\leq h<20. Which class does 1010 belong to?

Bar charts, pictograms and pie charts

Bar chart height shows frequency, a pictogram needs a key, and each pie chart angle is the fraction of the total times 360∘360^\circ.

A bar chart has bars of equal width with gaps for categorical or discrete data. The height shows frequency.

A pictogram uses symbols with a key, for example one symbol =2=2 students, so 88 students need 44 symbols.

In a pie chart each angle is frequencytotal×360∘\frac{\text{frequency}}{\text{total}}\times360^\circ. The angles must add up to 360∘360^\circ.

Pie charts show proportions, not exact frequencies.

024681012FootballSwimmingTennisOtherSportStudents
The same 30 students as a bar chart
  • Pie chart anglefrequencytotal×360∘\dfrac{\text{frequency}}{\text{total}}\times360^\circ

Worked example: pie chart angles

3030 students choose a sport: football 1212, swimming 99, tennis 66, other 33. Find each angle.

A pictogram has one symbol =4=4 students. How many symbols show 1010 students?

Line graphs and frequency polygons

A line graph shows change over time, and a frequency polygon joins the midpoints of the class intervals.

A line graph plots values over time and joins the points, to show a trend. Only use a line graph when the data change continuously, such as temperature across the day.

A frequency polygon joins the midpoints of the tops of the class intervals. The midpoint of 20≤x<3020\leq x<30 is 2525.

Plot each (midpoint, frequency) point and join with straight lines.

0246810121416515253545Class midpointFrequency
Frequency polygon: frequencies 4, 10, 15, 8, 3 plotted at the class midpoints

What is the midpoint of the class 30≤x<5030\leq x<50?

Stem-and-leaf diagrams

Split each value into a stem and leaf, write leaves in order, and always add a key.

A stem-and-leaf diagram splits each value into a stem (the tens) and a leaf (the units).

The leaves in each row are written in order of size, and you must include a key, such as 4∣14\mid1 means 4141.

Repeated values are written out each time. The diagram keeps all the original data, so you can read off the median, mode and range.

0123451234StemNumber of leaves
Illustrative: the number of leaves on each stem. A stem-and-leaf diagram turned on its side looks like a bar chart

Stem 2

  • 3 7 8

Stem 3

  • 1 1 5 6

Stem 4

  • 2

Worked example: stem-and-leaf

Draw a stem-and-leaf diagram for 23,31,27,35,31,42,28,3623,31,27,35,31,42,28,36 and find the median.

A row reads 4∣1 1 54\mid1\ 1\ 5 with key 4∣14\mid1 means 4141. What values does it show?

Scatter graphs

A scatter graph shows whether two variables are related, and a line of best fit passes through the mean point.

A scatter graph plots pairs of values to show if there is a relationship (correlation).

A line of best fit passes through the mean point (xˉ,yˉ)(\bar{x},\bar{y}) and close to all the points, with about equal numbers on each side.

For temperatures 14,18,21,25,28,3014, 18, 21, 25, 28, 30 the mean is 1366=22.7\frac{136}{6}=22.7.

Interpolation (predicting inside the range of the data) is reliable. Extrapolation (predicting outside the range) may not be. An outlier is a point far from the pattern.

line of best fit0xyp1p2p3p4p5p6p7mean point
Illustrative data (same scale on both axes): the line of best fit passes through the mean point (4, 4.2)

Positive

What happens:
As one increases, so does the other
Example:
Height and shoe size

Negative

What happens:
As one increases, the other decreases
Example:
Age of a car and its value

None

What happens:
No pattern
Example:
Shoe size and test score

A line of best fit is used to predict a value well outside the data. This is

Choosing and criticising graphs

Choose the representation to suit the data and purpose, and check graphs for misleading features.

A graph is misleading if the vertical axis does not start at 00, the scale is uneven, axes are not labelled, a 3D effect distorts sizes, or pictogram symbols differ in size.

  1. 1

    Pie chart

    parts of a whole

  2. 2

    Bar chart

    compare categories

  3. 3

    Line graph

    change over time

  4. 4

    Scatter graph

    relationship between two variables

  5. 5

    Histogram

    grouped continuous data

Which graph for which data

Categories

  • Bar chart, pictogram or pie chart

Change over time

  • Line graph

Two variables

  • Scatter graph

Every value in order

  • Stem-and-leaf diagram

Worked example: a misleading axis

Profits of 4.04.0 and 4.54.5 million are drawn as bars on an axis that starts at 3.93.9 million. How does it mislead?

Which graph best shows how temperature changes across a day?

Try an exam question

Thirty students choose a sport: football 1212, swimming 99, tennis 66, other 33. Work out the angle for each sport in a pie chart.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

In a pie chart of this data, what is the angle for football?

1 mark, marked against the mark scheme

Revision notes