Skip to main content
Examonaut

Topic S · Lesson 2 of 4

Averages and scatter graphs

Averages and range

An average is one value that represents the whole data set. There are three, each with strengths:

  • Mean: add all the values and divide by how many there are. It uses every value, but extreme values pull it up or down.
  • Median: the middle value when the data are in order. For nn values it is the n+12\frac{n + 1}{2}th value (with an even number of values, it is halfway between the middle two). Extreme values do not affect it.
  • Mode: the most common value. It is the only average that works for categorical data. There may be more than one mode, or none.

The range (largest value minus smallest) measures spread: how varied or consistent the data are. A small range means consistent data. One extreme value can make the range misleading.

An outlier is a value very different from the rest, possibly an error. It distorts the mean and the range. You might choose the median instead, or leave the outlier out, but always give a reason.

Averages from frequency tables

When data are in a frequency table, each value xx occurs ff times. To find the mean, find the total of all the values (∑fx\sum fx, adding f×xf \times x for each row) and divide by the number of values (∑f\sum f):

mean=∑fx∑f\text{mean} = \frac{\sum fx}{\sum f}

For grouped data you do not know the exact values, so use the midpoint of each class as xx. The result is an estimate of the mean, because it assumes values are spread evenly around the midpoints. The modal class is the class with the highest frequency, and the median lies in the class containing the n+12\frac{n + 1}{2}th value.

Worked example

Estimating a meangrade 6

The waiting times, tt minutes, of 40 people are grouped: 0≤t<100 \le t < 10: 8; 10≤t<2010 \le t < 20: 14; 20≤t<3020 \le t < 30: 12; 30≤t<4030 \le t < 40: 6.

Show solution
  1. Midpoints: 5, 15, 25 and 35.
  2. ∑fx=8×5+14×15+12×25+6×35=40+210+300+210=760\sum fx = 8 \times 5 + 14 \times 15 + 12 \times 25 + 6 \times 35 = 40 + 210 + 300 + 210 = 760.
  3. Estimated mean =760÷40=19= 760 \div 40 = 19 minutes. It is an estimate because we used midpoints, not the real times.
  4. Modal class: 10≤t<2010 \le t < 20. The median is the 20.5th value; the first two classes hold 8+14=228 + 14 = 22 people, so it lies in 10≤t<2010 \le t < 20.

A frequency polygon shows grouped data by plotting each frequency at its class midpoint and joining the points with straight lines; two polygons on the same axes make a good comparison.

Scatter graphs and correlation

A scatter graph plots pairs of values (bivariate data), such as hours of revision and test mark, as points, to see whether the two are related. The pattern is called correlation, and the diagram shows the three types.

  • Positive correlation: as one variable increases, the other tends to increase.
  • Negative correlation: as one increases, the other tends to decrease.
  • No correlation: no clear pattern.
positivenegativenone

Correlation does not prove causation. Ice-cream sales and sunburn cases are positively correlated, but ice cream does not cause sunburn: both are caused by hot weather. Describe correlation in context: "students who revised for longer tended to get higher marks".

A line of best fit is a straight line through the middle of the points, following the trend with roughly equal numbers of points either side. It should not be forced through the origin or join the first and last points. Use it to make predictions by reading across or up.

outlierextrapolation24681020406080100hours of revisiontest mark (%)
  • Interpolation means predicting within the range of the data. It is fairly reliable if the correlation is strong.
  • Extrapolation means predicting outside that range (the dashed part). It is unreliable, because the pattern may not continue: revising for 20 hours does not give a mark of 187%.

An outlier, like the circled point, should be ignored when drawing the line of best fit. Say why it might have happened ("the student may have been ill").

Practise this topic

Both are part of Premium.