Sampling and its limitations
A population is everyone or everything being studied; a sample is the part actually surveyed. Samples are used because studying a whole population is usually too slow and too expensive.
Inferring properties of a population from a sample only works if the sample is representative, and the specification asks you to know the limitations.
• A larger sample gives more reliable results — but costs more and takes longer • A biased sample gives conclusions that do not hold for the population. Surveying people outside a gym about exercise habits is the standard example • A random sample gives every member an equal chance of selection, which is what keeps it unbiased • However good the sample, a conclusion drawn from one is an estimate rather than a certainty
Questions often ask you to criticise a sampling method. Say what makes it unrepresentative and who has been left out or over-represented — a general comment that it is "too small" earns less than naming the bias.
- Population
- everyone or everything being studied
- Sample
- the part of a population actually surveyed, used because studying a whole population is usually too slow and too expensive
- Representative sample
- a sample whose make-up reflects the population, without which properties of the population cannot be inferred from it
Averages and spread
For grouped data the individual values are unknown, so the mean is estimated: multiply each class midpoint by its frequency, add those products, and divide by the total frequency. The answer is an estimate because the midpoint stands in for values that could be anywhere in the class — and saying that is often worth a mark.
Comparing two data sets is a standard question, and it wants two things: a comparison of an average and a comparison of a measure of spread, both written in the context of the question. "The medians are 6 and 8" is not a comparison. "Group B's median is higher, so B generally scored more, and B's interquartile range is smaller, so B's scores were more consistent" is.
- Estimated mean
- the mean of grouped data, found by multiplying each class midpoint by its frequency, adding the products and dividing by the total frequency; an estimate because the midpoint stands in for the real values
- Range
- the largest value minus the smallest, a measure of spread
Charts and diagrams
Each chart type suits a particular kind of data, and choosing correctly is examined:
• Bar chart — categorical data, with gaps between the bars • Pie chart — proportions of a whole. Each category's angle is its frequency divided by the total, times 360° • Pictogram — categorical data with a key giving the value of each symbol • Vertical line chart — ungrouped discrete numerical data • Line graph — time series data, showing change over time • Histogram — grouped continuous data, with no gaps between the bars
A cumulative frequency graph plots running totals against the upper bound of each class, giving an S-shaped curve. Read the median at half the total frequency, the lower quartile at a quarter and the upper quartile at three quarters — across from the vertical axis, then down. It also answers "how many were less than…" questions directly.
A box plot displays five values: minimum, lower quartile, median, upper quartile and maximum. Two box plots side by side are the quickest comparison there is, and the comparison should still name an average and a spread.
A histogram is for grouped continuous data with unequal class widths, and it is the diagram students most often get wrong. The vertical axis is frequency density, not frequency:
frequency density = frequency ÷ class width
which rearranges to frequency = frequency density × class width. So the frequency is the area of the bar, and reading it off the vertical axis gives the wrong answer every time.
Common mistake
On a histogram the bar height is frequency density, and the frequency is the area. On a bar chart the height is the frequency and there are gaps between bars. Deciding which diagram you are looking at comes before reading anything off it.
Scatter graphs and correlation
A scatter graph plots two variables against each other to show whether they are related.
Correlation describes the pattern. Positive correlation means that as one goes up so does the other; negative means one rises as the other falls; and no correlation means the points show no pattern. Strong correlation has points close to a line, weak correlation has them scattered around it.
A line of best fit is drawn by eye, following the trend with roughly as many points either side. Use it to predict: read across from a known value and down to the other axis.
Two warnings the specification asks for explicitly.
Interpolation — predicting within the range of the data — is reasonably reliable. Extrapolation — predicting beyond the data — is not, because there is no evidence the trend continues outside the range measured. A question asking whether a prediction is reliable is nearly always asking you to spot an extrapolation.
Correlation does not imply causation. Two things can rise together because both depend on a third factor, or by coincidence. Ice cream sales and drowning incidents correlate strongly, because both rise in hot weather — neither causes the other. Saying that a correlation shows one thing causes another is the error the mark scheme is looking for.
- Correlation
- the pattern on a scatter graph: positive means both variables rise together, negative means one rises as the other falls, and no correlation means no pattern
- Line of best fit
- a straight line drawn through the middle of the points on a scatter graph, used to estimate one variable from the other
Before you practise
- A sample must be representative; name the specific bias when criticising a method.
- Mean uses every value; median resists outliers; mode is the only average for categorical data.
- For grouped data, estimate the mean using class midpoints — and say that it is an estimate.
- Interquartile range = upper quartile − lower quartile, and ignores outliers.
- Comparing data sets needs an average and a spread, both in context.
- Bar charts have gaps and are for categories; histograms have none and are for continuous data.
- Pie chart angle = (frequency ÷ total) × 360°.
- Cumulative frequency is plotted at the upper bound; read the median at half the total.
- A box plot shows minimum, lower quartile, median, upper quartile and maximum.
- On a histogram, height is frequency density and frequency is the area of the bar.
- Interpolation within the data is reliable; extrapolation beyond it is not.
- Correlation does not imply causation.