EuraStudy
Notes/Statistics/Numerical measures, graphs and diagrams
Notes · StatisticsUK · A-Levels

Numerical measures, graphs and diagrams

This topic covers the summary of univariate data by measures of location (mean, median, mode) and spread (range, interquartile range, variance and standard deviation), including grouped data and the effect of linear coding. It then treats skewness, the detection of outliers, and the choice, construction and interpretation of the standard statistical diagrams: histograms with frequency density, box plots and cumulative frequency curves.

5 sections·~14 min reading time·3 competencies·Level Foundation 1 · Standard 3 · Advanced 1

T·0222 / 18
Exam profile
AO1 · Calculate measures of location and spread, including from grouped data and using codingAO2 · Interpret and compare distributions by shape, location, spread and skewnessAO3 · Select and construct appropriate diagrams and identify and treat outliers in context
Operators:calculateestimatedetermineinterpretcomparecommentconstruct

basic level

The AS foundation expects the measures of location and spread, standard deviation from the summation formulae, and reading the standard diagrams.

higher level

The full A-Level expects fluent use of coding, both coefficients of skewness, outlier rules, and the critical comparison of two distributions.

Depth

Reading depth: In depth

Text

Text size: Standard

Contents · 5 sections▾
  1. Numerical measures, graphs and diagrams
    • 01Types of data and measures of location○
    • 02Measures of spread, variance and coding◐
    • 03Quartiles, percentiles and outliers◐
    • 04Skewness and comparing distributions●
    • 05Histograms, box plots and cumulative frequency curves◐
§ 01

Types of data and measures of location#

●○○FoundationLPPearson Edexcel 9ST0, Topic 1 (Paper 1)

Key points

Data are classified before they are summarised. Categorical (qualitative) data record a category such as colour or brand; quantitative data are numerical and are either discrete, taking separate values such as counts, or continuous, taking any value in an interval such as height or time. The classification governs which averages and which diagrams are legitimate: a mean is meaningful for quantitative data but not for unordered categories, and a histogram is for continuous data whereas a bar chart is for categorical data.
A measure of location, or average, is a single value representing the centre of the data. The mean xˉ=∑xn\bar{x} = \frac{\sum x}{n}xˉ=n∑x​ uses every value and is the basis of later theory, but it is sensitive to extreme values. The median is the middle value when the data are ordered and is resistant to outliers, so it is preferred for skewed data. The mode is the most frequent value, the only average available for purely categorical data.
For data in a frequency table the mean is xˉ=∑fx∑f\bar{x} = \frac{\sum f x}{\sum f}xˉ=∑f∑fx​, weighting each value by its frequency. For grouped data the individual values are unknown, so each class is represented by its midpoint and the mean is estimated as ∑fx∑f\frac{\sum f x}{\sum f}∑f∑fx​ with xxx the midpoints; the result is an estimate because it assumes the values are evenly spread within each class.
Choosing the right average is an examined judgement. For roughly symmetric quantitative data the mean is the most informative; for markedly skewed data (incomes, house prices) the median better represents a typical value because the mean is dragged towards the long tail. Being able to justify the choice in context is as important as the calculation itself.
xˉ=∑xn,xˉ=∑fx∑f\bar{x} = \frac{\sum x}{n}, \qquad \bar{x} = \frac{\sum f x}{\sum f}xˉ=n∑x​,xˉ=∑f∑fx​

Mean of raw and frequency data

The second form weights each value (or class midpoint) by its frequency.

Worked example

Estimating a grouped mean

Journey times (minutes) are recorded: 0-10 (8 people), 10-20 (15), 20-40 (24), 40-70 (9). Estimate the mean journey time.

  1. 01Midpoints

    The class midpoints are 5, 15, 30 and 55 minutes.

  2. 02Sum of fx

    8(5)+15(15)+24(30)+9(55)=40+225+720+495=14808(5) + 15(15) + 24(30) + 9(55) = 40 + 225 + 720 + 495 = 14808(5)+15(15)+24(30)+9(55)=40+225+720+495=1480.

  3. 03Divide by total frequency

    The total frequency is 8+15+24+9=568+15+24+9 = 568+15+24+9=56, so the estimated mean is 148056=26.4\frac{1480}{56} = 26.4561480​=26.4 minutes (3 s.f.).

    xˉ=148056=26.4 min\bar{x} = \frac{1480}{56} = 26.4\text{ min}xˉ=561480​=26.4 min
  4. 04Interpret

    It is an estimate because we assumed each person's time equals their class midpoint.

Result: The estimated mean journey time is 26.4 minutes (3 s.f.), an estimate because grouped data hide the exact values.

Exam focus

  • State whether data are categorical, discrete or continuous and choose a valid average accordingly.
  • Estimate a mean from a grouped frequency table using midpoints and explain why it is an estimate.

Typical mistakes

  • Using class widths or boundaries instead of midpoints when estimating a grouped mean.
  • Quoting the mean for strongly skewed data where the median is the more representative average.

Active revision

The times (minutes) taken by 40 pupils to complete a task are grouped. Estimate the mean using the class midpoints and explain why your answer is only an estimate.

Active recall

Recall the key points — then reveal.

Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)

§ 02

Measures of spread, variance and coding#

●●○StandardLPPearson Edexcel 9ST0, Topic 1 (Paper 1)

Key points

Spread measures how dispersed the data are about the centre. The range (largest minus smallest) is simple but uses only two values and is dominated by extremes. The interquartile range IQR=Q3−Q1\text{IQR} = Q_3 - Q_1IQR=Q3​−Q1​ measures the spread of the middle half and is resistant to outliers. The variance and standard deviation use every value and underpin all later inference.
The variance is the mean squared deviation from the mean. In practice it is computed from the summation quantity Sxx=∑x2−(∑x)2nS_{xx} = \sum x^2 - \frac{(\sum x)^2}{n}Sxx​=∑x2−n(∑x)2​, giving population variance σ2=Sxxn\sigma^2 = \frac{S_{xx}}{n}σ2=nSxx​​ and standard deviation σ=σ2\sigma = \sqrt{\sigma^2}σ=σ2​; the standard deviation carries the units of the data. For grouped data the same formula is used with ∑fx2\sum f x^2∑fx2 and ∑fx\sum f x∑fx in place of ∑x2\sum x^2∑x2 and ∑x\sum x∑x.
Coding rescales the data to simplify arithmetic. If a new variable is defined by y=x−aby = \frac{x - a}{b}y=bx−a​, then the mean transforms as xˉ=byˉ+a\bar{x} = b\bar{y} + axˉ=byˉ​+a and, crucially, the standard deviation transforms as σx=b σy\sigma_x = b\,\sigma_yσx​=bσy​. Adding a constant aaa shifts the data without changing the spread, while multiplying by bbb scales both the centre and the spread; this is why the aaa disappears from the standard-deviation relationship.
The distinction between the population divisor nnn and the sample divisor n−1n-1n−1 matters and returns in estimation. When the data ARE the whole population, or we are simply describing a data set, divide SxxS_{xx}Sxx​ by nnn. When the data are a sample used to estimate a population variance, divide by n−1n-1n−1 to obtain an unbiased estimate. Descriptive questions here generally use nnn; the n−1n-1n−1 version is developed in the estimation topic.
Sxx=∑x2−(∑x)2n,σ2=Sxxn,σ=σ2S_{xx} = \sum x^2 - \frac{(\sum x)^2}{n}, \qquad \sigma^2 = \frac{S_{xx}}{n}, \qquad \sigma = \sqrt{\sigma^2}Sxx​=∑x2−n(∑x)2​,σ2=nSxx​​,σ=σ2​

Variance and standard deviation

SxxS_{xx}Sxx​ is the corrected sum of squares; the standard deviation has the units of the data.

y=x−ab  ⇒  xˉ=byˉ+a,σx=b σyy = \frac{x - a}{b} \;\Rightarrow\; \bar{x} = b\bar{y} + a, \quad \sigma_x = b\,\sigma_yy=bx−a​⇒xˉ=byˉ​+a,σx​=bσy​

Effect of linear coding

A shift aaa leaves the spread unchanged; a scale bbb multiplies both centre and spread.

Worked example

Standard deviation from summation quantities

Five values have ∑x=60\sum x = 60∑x=60 and ∑x2=910\sum x^2 = 910∑x2=910. Find the mean and the (population) standard deviation.

  1. 01Mean

    xˉ=605=12\bar{x} = \frac{60}{5} = 12xˉ=560​=12.

  2. 02Corrected sum of squares

    Sxx=910−6025=910−720=190S_{xx} = 910 - \frac{60^2}{5} = 910 - 720 = 190Sxx​=910−5602​=910−720=190.

    Sxx=910−36005=190S_{xx} = 910 - \frac{3600}{5} = 190Sxx​=910−53600​=190
  3. 03Variance

    σ2=1905=38\sigma^2 = \frac{190}{5} = 38σ2=5190​=38.

  4. 04Standard deviation

    σ=38=6.16\sigma = \sqrt{38} = 6.16σ=38​=6.16 (3 s.f.).

Result: The mean is 12 and the standard deviation is 38=6.16\sqrt{38} = 6.1638​=6.16 (3 s.f.).

Exam focus

  • Compute the standard deviation from ∑x\sum x∑x and ∑x2\sum x^2∑x2 using SxxS_{xx}Sxx​.
  • Use coding to recover the mean and standard deviation of the original data.

Typical mistakes

  • Forgetting to take the square root, so quoting the variance as the standard deviation.
  • Multiplying the standard deviation by the shift constant aaa; only the scale factor bbb affects the spread.

Active revision

For a data set with ∑x=60\sum x = 60∑x=60, ∑x2=910\sum x^2 = 910∑x2=910 and n=5n = 5n=5, find the mean and standard deviation.

Active recall

Recall the key points — then reveal.

Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)

§ 03

Quartiles, percentiles and outliers#

●●○StandardLPPearson Edexcel 9ST0, Topic 1 (Paper 1)

Box-and-whisker plot with an outlier

Task times (minutes)Box plot: time (minutes), Data: Times: min 15, Q1 30, Md 38, Q3 46, max 58203040506070Timestime (minutes)
Fig. 1Five-number summary 15, 30, 38, 46, 58; the value 72 lies beyond the upper fence Q3+1.5 IQR=70Q_3 + 1.5\,\text{IQR} = 70Q3​+1.5IQR=70 and is plotted as an outlier.

Key points

Quartiles divide ordered data into four equal parts: Q1Q_1Q1​ (lower quartile) has one quarter of the data below it, Q2Q_2Q2​ is the median, and Q3Q_3Q3​ (upper quartile) has three quarters below it. Percentiles generalise this to hundredths, so the 90th percentile has 90% of the data below it. For grouped data these are read from a cumulative frequency curve or found by linear interpolation within the relevant class.
The interquartile range Q3−Q1Q_3 - Q_1Q3​−Q1​ and the interpercentile ranges (for example the 10th-to-90th) describe spread while ignoring the extreme tails, which makes them robust. They are the natural spread measures to quote alongside the median for skewed data, just as the standard deviation is quoted alongside the mean for symmetric data.
An outlier is a value far enough from the bulk of the data to warrant attention. Two standard rules are used. The quartile (fence) rule flags any value below Q1−1.5 IQRQ_1 - 1.5\,\text{IQR}Q1​−1.5IQR or above Q3+1.5 IQRQ_3 + 1.5\,\text{IQR}Q3​+1.5IQR. The mean rule flags any value more than kkk standard deviations from the mean, commonly k=2k = 2k=2 or 333. A value flagged as an outlier is not automatically deleted: it should be investigated as a possible error, but a genuine extreme observation is part of the data.
The box plot below encodes the five-number summary (minimum, Q1Q_1Q1​, median, Q3Q_3Q3​, maximum) with outliers plotted individually beyond the whiskers. It makes the median, the IQR and any skewness immediately visible and is the standard tool for comparing two distributions at a glance.
Outlier if x<Q1−1.5 IQR   or   x>Q3+1.5 IQR\text{Outlier if } x < Q_1 - 1.5\,\text{IQR} \;\text{ or }\; x > Q_3 + 1.5\,\text{IQR}Outlier if x<Q1​−1.5IQR or x>Q3​+1.5IQR

Quartile (fence) rule for outliers

With IQR=Q3−Q1\text{IQR} = Q_3 - Q_1IQR=Q3​−Q1​; an alternative rule flags values more than 2 or 3 standard deviations from the mean.

Worked example

Testing a value with the fence rule

For a data set Q1=30Q_1 = 30Q1​=30 and Q3=46Q_3 = 46Q3​=46. Determine whether the value 72 is an outlier by the quartile rule.

  1. 01Interquartile range

    IQR=46−30=16\text{IQR} = 46 - 30 = 16IQR=46−30=16.

  2. 02Upper fence

    Q3+1.5×16=46+24=70Q_3 + 1.5 \times 16 = 46 + 24 = 70Q3​+1.5×16=46+24=70.

    Q3+1.5 IQR=46+24=70Q_3 + 1.5\,\text{IQR} = 46 + 24 = 70Q3​+1.5IQR=46+24=70
  3. 03Compare

    Since 72>7072 > 7072>70, the value lies beyond the upper fence.

  4. 04Conclude

    72 is an outlier by the quartile rule and should be plotted separately and investigated.

Result: The upper fence is 70, and because 72 exceeds it, 72 is an outlier.

Exam focus

  • Apply the 1.5 IQR1.5\,\text{IQR}1.5IQR fence rule to decide whether a value is an outlier and show the fence calculation.
  • Construct a box plot and use it to describe the shape of a distribution.

Typical mistakes

  • Deleting an outlier automatically; it should be investigated, and genuine extremes are kept.
  • Drawing whiskers to the outliers instead of to the most extreme values inside the fences.

Active revision

A data set has Q1=30Q_1 = 30Q1​=30, Q3=46Q_3 = 46Q3​=46 and includes the value 72. Determine, using the 1.5 IQR1.5\,\text{IQR}1.5IQR rule, whether 72 is an outlier.

Active recall

Recall the key points — then reveal.

Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)

§ 04

Skewness and comparing distributions#

●●●AdvancedLPPearson Edexcel 9ST0, Topic 1 (Paper 1)

Key points

Skewness measures the asymmetry of a distribution. In a positively (right) skewed distribution the tail stretches to the right and typically mean>median>mode\text{mean} > \text{median} > \text{mode}mean>median>mode; in a negatively (left) skewed distribution the tail stretches to the left and mean<median<mode\text{mean} < \text{median} < \text{mode}mean<median<mode. A symmetric distribution has mean, median and mode coinciding. Recognising the direction of skew from the ordering of the averages, or from the length of the whiskers on a box plot, is a core interpretation skill.
Two coefficients quantify skewness. The Pearson coefficient of skewness is 3(mean−median)standard deviation\frac{3(\text{mean} - \text{median})}{\text{standard deviation}}standard deviation3(mean−median)​, and the quartile coefficient of skewness is Q3−2Q2+Q1Q3−Q1\frac{Q_3 - 2Q_2 + Q_1}{Q_3 - Q_1}Q3​−Q1​Q3​−2Q2​+Q1​​. Both are zero for a symmetric distribution, positive for right skew and negative for left skew; the sign is what carries the interpretation, and the magnitude indicates how pronounced the skew is.
Comparing two distributions demands a comparison of location, spread and shape, each supported by a figure. State which has the higher centre (comparing medians or means), which is more variable (comparing IQRs or standard deviations), and which is more skewed and in which direction. Crucially, comparisons must be made in the context of the data, not left as bare numbers.
The choice of summary follows the shape. For an approximately symmetric distribution, report the mean and standard deviation; for a skewed distribution, report the median and interquartile range, because the mean and standard deviation are distorted by the tail. Matching the summary to the shape, and justifying it, is a frequent AO2/AO3 demand.
Sk=3(xˉ−median)σ\text{Sk} = \frac{3(\bar{x} - \text{median})}{\sigma}Sk=σ3(xˉ−median)​

Pearson coefficient of skewness

Positive for right skew, negative for left skew, zero for symmetry.

SkQ=Q3−2Q2+Q1Q3−Q1\text{Sk}_Q = \frac{Q_3 - 2Q_2 + Q_1}{Q_3 - Q_1}SkQ​=Q3​−Q1​Q3​−2Q2​+Q1​​

Quartile coefficient of skewness

Uses only the quartiles, so it is robust to outliers.

Worked example

Quartile coefficient of skewness

A distribution has Q1=30Q_1 = 30Q1​=30, Q2=38Q_2 = 38Q2​=38 and Q3=46Q_3 = 46Q3​=46. Find the quartile coefficient of skewness and interpret it.

  1. 01Numerator

    Q3−2Q2+Q1=46−2(38)+30=46−76+30=0Q_3 - 2Q_2 + Q_1 = 46 - 2(38) + 30 = 46 - 76 + 30 = 0Q3​−2Q2​+Q1​=46−2(38)+30=46−76+30=0.

  2. 02Denominator

    Q3−Q1=46−30=16Q_3 - Q_1 = 46 - 30 = 16Q3​−Q1​=46−30=16.

  3. 03Coefficient

    SkQ=016=0\text{Sk}_Q = \frac{0}{16} = 0SkQ​=160​=0.

    SkQ=016=0\text{Sk}_Q = \frac{0}{16} = 0SkQ​=160​=0
  4. 04Interpret

    The quartiles are symmetric about the median, so the distribution shows no skew by this measure.

Result: The quartile coefficient of skewness is 0, indicating a symmetric middle half of the distribution.

Exam focus

  • Compute and interpret the sign of a skewness coefficient in context.
  • Compare two distributions on location, spread and shape, each with justification.

Typical mistakes

  • Reading the direction of skew backwards; a right (positive) skew has the longer tail to the right.
  • Comparing distributions on only one feature (for example location) and ignoring spread and shape.

Active revision

A distribution has mean 52, median 55 and standard deviation 12. Calculate the Pearson coefficient of skewness and describe the skew.

Active recall

Recall the key points — then reveal.

Sources: GCE AS and A level subject content (Statistics) (Department for Education / Ofqual)

§ 05

Histograms, box plots and cumulative frequency curves#

●●○StandardLPPearson Edexcel 9ST0, Topic 1 (Paper 1)

Histogram with unequal class widths

Journey timesHistogram: frequency density by time (minutes), Data: [0, 10): 0.8; [10, 20): 1.5; [20, 40): 1.2; [40, 70): 0.300.20.40.60.811.21.40102040700.81.51.20.3frequency densitytime (minutes)
Fig. 2Journey times: classes 0-10, 10-20, 20-40, 40-70 with frequencies 8, 15, 24, 9 give frequency densities 0.8, 1.5, 1.2, 0.3; the area of each bar is its frequency.

Key points

A histogram represents continuous grouped data with adjacent bars whose AREA is proportional to frequency. When classes have unequal widths, the bar height must be the frequency density frequencyclass width\frac{\text{frequency}}{\text{class width}}class widthfrequency​, not the raw frequency, so that area encodes frequency correctly. The histogram below uses classes of widths 10, 10, 20 and 30 and therefore plots frequency density; the area of each bar equals the frequency in its class.
A cumulative frequency curve plots the cumulative frequency against the upper class boundary and rises to the total frequency. It is the tool for reading off the median (at half the total frequency), the quartiles (at a quarter and three quarters) and any percentile: go up to the required cumulative frequency, across to the curve, and down to the value axis. The curve for the same journey-time data is shown; the median is read at a cumulative frequency of 28.
A box plot displays the five-number summary and any outliers and is unrivalled for comparing distributions. Choosing the right diagram is itself examined: histograms for the shape of continuous data, box plots for comparison and outliers, cumulative frequency curves for medians, quartiles and percentiles, and scatter diagrams for the relationship between two variables.
Every diagram must be read honestly. A histogram bar's height is a density, not a frequency, so a tall narrow bar can hold fewer observations than a short wide one; a cumulative frequency read gives an estimate because grouping hides the exact values; and a box plot compresses the data to five numbers and can hide multimodality. Stating these limitations is part of a full interpretation.
frequency density=frequencyclass width\text{frequency density} = \frac{\text{frequency}}{\text{class width}}frequency density=class widthfrequency​

Frequency density (histogram)

The bar height for a histogram, so that area = frequency even with unequal class widths.

Cumulative frequency curve

Cumulative frequency of journey timesLine chart: cumulative frequency by time (minutes)01020304050010203040506070cumulative frequencytime (minutes)
Fig. 3Cumulative frequencies at the upper class boundaries; the median is read across from a cumulative frequency of 28 (half of 56).
Worked example

Estimating the median from a cumulative frequency curve

For the journey-time data with total frequency 56 and cumulative frequencies 8, 23, 47, 56 at 10, 20, 40, 70 minutes, estimate the median.

  1. 01Locate the median position

    The median is at cumulative frequency 562=28\frac{56}{2} = 28256​=28.

  2. 02Find the class

    Cumulative frequency reaches 23 at 20 minutes and 47 at 40 minutes, so the median lies in the 20-40 class.

  3. 03Interpolate

    20+28−2347−23×(40−20)=20+524×20=20+4.17=24.220 + \frac{28 - 23}{47 - 23} \times (40 - 20) = 20 + \frac{5}{24} \times 20 = 20 + 4.17 = 24.220+47−2328−23​×(40−20)=20+245​×20=20+4.17=24.2 minutes.

    median≈20+28−2324×20=24.2 min\text{median} \approx 20 + \frac{28 - 23}{24}\times 20 = 24.2\text{ min}median≈20+2428−23​×20=24.2 min
  4. 04Interpret

    About half of the journeys take under 24 minutes; it is an estimate because grouping hides the exact times.

Result: The estimated median journey time is about 24.2 minutes (from linear interpolation in the 20-40 class).

Exam focus

  • Convert frequencies to frequency densities (and back) using class widths.
  • Read a median, quartile or percentile from a cumulative frequency curve, showing the construction.

Typical mistakes

  • Plotting raw frequency as the histogram bar height when class widths are unequal.
  • Plotting cumulative frequency against the midpoint rather than the upper class boundary.

Active revision

Using the journey-time data (classes 0-10, 10-20, 20-40, 40-70 with frequencies 8, 15, 24, 9), estimate the median from the cumulative frequency curve.

Active recall

Recall the key points — then reveal.

Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)

Contents

Section -- / 05

    • 01Types of data and measures of location○
    • 02Measures of spread, variance and coding◐
    • 03Quartiles, percentiles and outliers◐
    • 04Skewness and comparing distributions●
    • 05Histograms, box plots and cumulative frequency curves◐

0/5 Read

From notes into training

Numerical measures, graphs and diagrams

Reinforce this topic with matching tasks from the question bank.

~14
min
3
Competencies
Practise

References & sources

Sources

Pearson Edexcel

  • Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification

Department for Education / Ofqual

  • GCE AS and A level subject content (Statistics)

Previous topic

Population and samples

Next topic

Probability

EuraStudy·Notes T·02·MMXXVI

Carry on to the next topic — your learning path is kept.