Representing data

Representing data

IB MYP Maths Extended: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A frequency table lists values with their frequency; frequencies must add up to the number of items.
  • Pie chart angle =frequencytotal×360∘=\frac{\text{frequency}}{\text{total}}\times360^\circ.
  • A frequency polygon joins the midpoints of the class intervals.
  • A stem-and-leaf diagram needs ordered leaves and a key.
  • Correlation does not prove cause; extrapolation may be unreliable.
  • A graph is misleading if its axis does not start at 00 or its scale is uneven.

Tables and tally charts

A tally chart counts data as you collect it; a frequency table lists each value with its frequency.

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\le h<10, 10≤h<2010\le 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.

  1. 1

    Tally

    count as you collect, in fives

  2. 2

    Frequency table

    write the totals

  3. 3

    Check

    frequencies add up to the number of items

From raw data to a frequency table

In the class intervals 0≤h<100\le h<10 and 10≤h<2010\le h<20, which class does h=10h=10 belong to?

Bar charts, pictograms and pie charts

Bars show frequency by height, pictograms use a key, and pie chart angles show proportions of 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.

The angles of a pie chart must add up to 360∘360^\circ. Pie charts show proportions, not exact frequencies.

051015FootballOtherChoiceStudents
12 of 30 students choose football, so its pie chart angle is 12/30 × 360° = 144°
  • Pie chart anglefrequencytotal×360∘\dfrac{\text{frequency}}{\text{total}}\times360^\circ

Worked example

1212 out of 3030 students choose football. Find the pie chart angle.

In a survey of 2424 people, 66 choose tennis. What is the pie chart angle for tennis?

Line graphs and frequency polygons

A line graph shows a trend over time; a frequency polygon joins class midpoints.

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

A frequency polygon joins the midpoints of the class intervals at the height of their frequencies. The midpoint of 20≤x<3020\le x<30 is 2525.

051015202530123456Time (h)Temperature (°C)
Illustrative values: a line graph joins the points to show the trend over time

Line graph

  • Values against time
  • Join the points
  • Shows a trend

Frequency polygon

  • Frequency against class
  • Plot at the midpoints
  • Join with straight lines

What is the midpoint of the class 40≤x<6040\le x<60?

Stem-and-leaf diagrams

Split each value into a stem (tens) and a leaf (units), order the leaves and include 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, repeated values are written out each time, and you must include a key, such as 4∣14\mid1 means 4141. The diagram keeps all the original data, so you can read off the median, mode and range.

0123456Stem 4Stem 5StemNumber of values
Counting the leaves in the diagram: six values in the 40s and three in the 50s

Leaves

Stem 4:
1 1 1 5 5 7
Stem 5:
2 3 8

Values

Stem 4:
41, 41, 41, 45, 45, 47
Stem 5:
52, 53, 58
Key: 4 | 1 means 41

What is the median of the marks 41, 41, 41, 45, 45, 47?

Scatter graphs

It plots pairs of values to show correlation, and a line of best fit lets you predict.

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.

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

12345672468xyPositive correlationNegative correlation
Illustrative lines of best fit: positive correlation rises, negative correlation falls

Positive

  • As one increases, so does the other

Negative

  • As one increases, the other decreases

None

  • No pattern

Mean point example

Temperatures are 14,18,21,25,28,3014, 18, 21, 25, 28, 30. Find the mean temperature.

A line of best fit is drawn using data from 14 °C to 30 °C. Which prediction is extrapolation?

Choosing a graph and spotting misleading ones

Fit the graph to the data; a graph misleads if its axis, scale or symbols distort the picture.

Choose by purpose: categories use a bar chart, pictogram or pie chart; change over time a line graph; two variables a scatter graph; every value in order a stem-and-leaf diagram.

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.

01234FirstSecondProfit (million)
Profits drawn with the axis starting at 0: the second bar is only 12.5% taller

Misleading axis example

Profits of 4.04.0 and 4.54.5 million are drawn as bars with the axis starting at 3.93.9 million. How do the bars compare?

Which representation is best for showing how a town’s temperature changes over a day?

Try an exam question

Of 3636 students, 99 travel to school by bus. (a) Calculate the angle for bus in a pie chart. (b) A bar chart of the results has a vertical axis starting at 8080 instead of 00. Explain why this may mislead.

[3 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