Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›Edexcel A-level Mathematics
  3. ›S Statistics
  4. ›S2 Data presentation and interpretation

Edexcel A-level Mathematics · S · Statistics

S2 Data presentation and interpretation

Draw and interpret histograms, box plots and cumulative frequency graphs, compare averages and spread, and identify outliers and skewness.

  • 5 min read
  • 6 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/6Histograms use area to represent frequency
  1. 1Histograms use area to represent frequency
  2. 2Cumulative frequency graphs estimate medians and quartiles
  3. 3Mean, median and spread summarise a data set
  4. 4Box plots display quartiles and mark outliers clearly
  5. 5Skewness describes which side the data trail off towards
  6. 6Comparisons need a centre, a spread and context
  7. Check your recall
  8. Practice: 10 questions
1

Part 1 of 6: Histograms use area to represent frequency

A bar chart of grouped data misleads when class widths differ. In a histogram, the area of each bar is proportional to the frequency. The vertical axis therefore shows frequency density, calculated as frequencyclass width\frac{\text{frequency}}{\text{class width}}class widthfrequency​.

To estimate a frequency for part of a class, multiply the frequency density by the width you need. This assumes the data are spread evenly through the class.

Common mistake

Bar height is not frequency unless every class has the same width. Always read the label on the vertical axis.

Worked example

Histogram bar heights

Grouped data: 0–10 has frequency 12, 10–20 has frequency 30, and 20–40 has frequency 36. Find the frequency density of each class.
  1. 1
    Class 0–10 has width 10: 1210=1.2\frac{12}{10}=1.21012​=1.2.
  2. 2
    Class 10–20 has width 10: 3010=3.0\frac{30}{10}=3.01030​=3.0.
  3. 3
    Class 20–40 has width 20: 3620=1.8\frac{36}{20}=1.82036​=1.8.

Answer: The frequency densities are 1.2, 3.0 and 1.8.

Key term

frequency density

The frequency density of a class is its frequency divided by its class width, and it gives the height of a histogram bar.

Part 1 done

2

Part 2 of 6: Cumulative frequency graphs estimate medians and quartiles

Histograms show shape. To find the middle of the data, use running totals, called cumulative frequency. Each total counts the values up to an upper class boundary. Plot each total against its upper boundary and join the points with a smooth curve. Read the median by going across from its position to the curve, then down to the axis.

For nnn values, the middle value, or median, is at n2\frac{n}{2}2n​. A quartile divides the ordered data into quarters: Q1Q_1Q1​ is at n4\frac{n}{4}4n​ and Q3Q_3Q3​ is at 3n4\frac{3n}{4}43n​. The interquartile range (IQR) is Q3−Q1Q_3-Q_1Q3​−Q1​.

Worked example

Estimating a median

A sample of 80 values has cumulative frequencies of 8, 30, 62 and 80 at the upper boundaries 10, 20, 30 and 40. Estimate the median.
  1. 1
    The median is at 802=40\frac{80}{2}=40280​=40th value.
  2. 2
    The cumulative frequency passes 40 in the class 20–30, between 30 and 62.
  3. 3
    Interpolate: 20+40−3062−30×10=20+3.12520+\frac{40-30}{62-30}\times10=20+3.12520+62−3040−30​×10=20+3.125.

Answer: The estimated median is about 23.1.

Key terms · tap one for its definition

cumulative frequency

The cumulative frequency at a value is the number of observations less than or equal to that upper class boundary.

quartile

A quartile is one of three values that divide ordered data into four equal parts, written Q1Q_1Q1​, Q2Q_2Q2​ and Q3Q_3Q3​.

interquartile range

The interquartile range is the difference between the upper and lower quartiles, Q3−Q1Q_3-Q_1Q3​−Q1​.

Part 2 done

Quick check

One question on the part you just read

Easy

State what the vertical axis of a histogram shows.
Show answer and explanation

Answer: B · Worked explanation

A histogram’s vertical axis shows frequency density, so that bar area represents frequency. Frequency is only shown directly when all class widths are equal, which is why labelling it as frequency can mislead. Frequency would only be correct when every class has the same width.
3

Part 3 of 6: Mean, median and spread summarise a data set

Graphs show shape, but numbers allow precise comparison. The mean is the sum of the values divided by how many there are. The median is the middle value of the ordered data. The mode is the most common value or class.

Spread measures how widely values vary. The variance averages the squared distances from the mean. The standard deviation is its square root. Use σ2=∑x2n−xˉ2\sigma^2=\frac{\sum x^2}{n}-\bar{x}^2σ2=n∑x2​−xˉ2 and σ=σ2\sigma=\sqrt{\sigma^2}σ=σ2​.

Exam tip

Take the square root at the end. Variance has squared units, but the standard deviation matches the units of the data.

Worked example

Variance and standard deviation

Find the mean and standard deviation of 2, 4, 4, 5, 9.
  1. 1
    ∑x=24\sum x=24∑x=24 and n=5n=5n=5, so xˉ=4.8\bar{x}=4.8xˉ=4.8.
  2. 2
    ∑x2=4+16+16+25+81=142\sum x^2=4+16+16+25+81=142∑x2=4+16+16+25+81=142.
  3. 3
    σ2=1425−4.82=28.4−23.04=5.36\sigma^2=\frac{142}{5}-4.8^2=28.4-23.04=5.36σ2=5142​−4.82=28.4−23.04=5.36.
  4. 4
    σ=5.36≈2.32\sigma=\sqrt{5.36}\approx2.32σ=5.36​≈2.32.

Answer: The mean is 4.8 and the standard deviation is σ≈2.32\sigma\approx2.32σ≈2.32.

Key terms · tap one for its definition

variance

The variance σ2\sigma^2σ2 is the mean of the squared distances from the mean, equal to ∑x2n−xˉ2\frac{\sum x^2}{n}-\bar{x}^2n∑x2​−xˉ2.

standard deviation

The standard deviation σ\sigmaσ is the positive square root of the variance, in the same units as the data.

Part 3 done

4

Part 4 of 6: Box plots display quartiles and mark outliers clearly

Quartiles also give a standard test for unusual values. An outlier is a value far from the rest. A common test marks a value as an outlier if it is more than 1.5×IQR1.5\times\text{IQR}1.5×IQR above Q3Q_3Q3​ or below Q1Q_1Q1​.

A box plot draws a box from Q1Q_1Q1​ to Q3Q_3Q3​ with a line at the median. Whiskers reach the most extreme values that are not outliers. Outliers are marked separately with crosses.

Figure 1. The box spans the quartiles, the line marks the median, and the cross shows a value beyond the upper limit.

Common mistake

An outlier is not automatically an error. Check whether it is a recording mistake before removing it from the data.

Worked example

Testing for an outlier

A data set has Q1=12Q_1=12Q1​=12 and Q3=20Q_3=20Q3​=20. Decide whether the values 28 and 35 are outliers.
  1. 1
    IQR=20−12=8\text{IQR}=20-12=8IQR=20−12=8, so 1.5×IQR=121.5\times\text{IQR}=121.5×IQR=12.
  2. 2
    Upper limit: 20+12=3220+12=3220+12=32. Lower limit: 12−12=012-12=012−12=0.
  3. 3
    28 is below 32, and 35 is above 32.

Answer: The value 35 is an outlier, but 28 is not.

Key terms · tap one for its definition

outlier

An outlier is a value more than 1.5×IQR1.5\times\text{IQR}1.5×IQR above Q3Q_3Q3​ or below Q1Q_1Q1​, or otherwise far from the rest.

box plot

A box plot is a diagram showing the median, quartiles and extreme values of a data set, with outliers marked separately.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify the quantity that is proportional to frequency in a histogram.
Show answer and explanation

Answer: A · Worked explanation

Bar area equals frequency density multiplied by class width, which is the frequency. The height alone equals the frequency only if all classes have the same width, so height is not the correct answer in general. Height would be correct only when class widths are equal.
5

Part 5 of 6: Skewness describes which side the data trail off towards

Box plots also reveal the shape of the data. The asymmetry of a distribution is its skewness. Household incomes are a typical example, because a few very high values stretch the right-hand tail. Data with a long tail to the right show positive skew. Data with a long tail to the left show negative skew.

Use the quartiles to decide. Compare the gaps Q2−Q1Q_2-Q_1Q2​−Q1​ and Q3−Q2Q_3-Q_2Q3​−Q2​, where Q2Q_2Q2​ is the median. The larger gap shows the side of the tail. The mean is pulled towards the tail, so it usually lies on that side of the median.

Skewness from the quartiles

ShapeQuartile gapsMean and median
Positive skewQ3−Q2>Q2−Q1Q_3-Q_2>Q_2-Q_1Q3​−Q2​>Q2​−Q1​mean above median
Negative skewQ3−Q2<Q2−Q1Q_3-Q_2<Q_2-Q_1Q3​−Q2​<Q2​−Q1​mean below median
SymmetricQ3−Q2=Q2−Q1Q_3-Q_2=Q_2-Q_1Q3​−Q2​=Q2​−Q1​mean close to median
Shape
Positive skew
Quartile gaps
Q3−Q2>Q2−Q1Q_3-Q_2>Q_2-Q_1Q3​−Q2​>Q2​−Q1​
Mean and median
mean above median
Shape
Negative skew
Quartile gaps
Q3−Q2<Q2−Q1Q_3-Q_2<Q_2-Q_1Q3​−Q2​<Q2​−Q1​
Mean and median
mean below median
Shape
Symmetric
Quartile gaps
Q3−Q2=Q2−Q1Q_3-Q_2=Q_2-Q_1Q3​−Q2​=Q2​−Q1​
Mean and median
mean close to median

Key term

skewness

Skewness is the asymmetry of a distribution, positive when the tail is on the right and negative when it is on the left.

Part 5 done

6

Part 6 of 6: Comparisons need a centre, a spread and context

Finally, you can use these summaries to compare two data sets. Choose one measure of average and one of spread. Use the mean with the standard deviation, or the median with the interquartile range. The median and IQR are less affected by outliers.

Then write the comparison in the context of the question. State which set is higher on average and which varies more.

Exam tip

Name the quantity, such as typical journey time, and give a reason in context. A bare statement such as “set A is bigger” earns little credit.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[1 mark]

    State the formula for frequency density.

    Show mark schemeHide mark scheme

    Model answer

    Frequency density =frequencyclass width=\frac{\text{frequency}}{\text{class width}}=class widthfrequency​.

    • 1 mark for stating frequency divided by class width
  2. 2.Calculate[3 marks]

    Calculate the variance and standard deviation of 3, 5, 6, 8, 13.

    Show mark schemeHide mark scheme

    Model answer

    xˉ=7\bar{x}=7xˉ=7 and ∑x2=303\sum x^2=303∑x2=303. The variance is 3035−72=11.6\frac{303}{5}-7^2=11.65303​−72=11.6, so σ=11.6≈3.41\sigma=\sqrt{11.6}\approx3.41σ=11.6​≈3.41.

    • 1 mark for finding the mean 7 and the sum of squares 303
    • 1 mark for obtaining a variance of 11.6
    • 1 mark for obtaining a standard deviation of 3.41
  3. 3.Determine[3 marks]

    Determine whether a value of 41 is an outlier when Q1=18Q_1=18Q1​=18 and Q3=30Q_3=30Q3​=30.

    Show mark schemeHide mark scheme

    Model answer

    IQR=12\text{IQR}=12IQR=12, so 1.5×IQR=181.5\times\text{IQR}=181.5×IQR=18. The upper limit is 30+18=4830+18=4830+18=48, and 41 is below it, so 41 is not an outlier.

    • 1 mark for finding an IQR of 12
    • 1 mark for finding an upper limit of 48
    • 1 mark for concluding that 41 is not an outlier
  4. 4.Describe[2 marks]

    Describe how to estimate the median from a cumulative frequency graph of nnn values.

    Show mark schemeHide mark scheme

    Model answer

    Find the value n2\frac{n}{2}2n​ on the cumulative frequency axis. Read across to the curve, then down to read the median on the horizontal axis.

    • 1 mark for using the position n2\frac{n}{2}2n​ on the cumulative frequency axis
    • 1 mark for reading across to the curve and down to the data axis
  5. 5.Explain[2 marks]

    Explain how the quartiles show that a data set has positive skew.

    Show mark schemeHide mark scheme

    Model answer

    Positive skew has a long tail to the right. The gap Q3−Q2Q_3-Q_2Q3​−Q2​ is larger than the gap Q2−Q1Q_2-Q_1Q2​−Q1​.

    • 1 mark for stating that the tail is to the right
    • 1 mark for stating that Q3−Q2Q_3-Q_2Q3​−Q2​ is greater than Q2−Q1Q_2-Q_1Q2​−Q1​
  6. 6.Compare[3 marks]

    Compare set X, with median 34 and IQR 6, and set Y, with median 29 and IQR 14.

    Show mark schemeHide mark scheme

    Model answer

    Set X has the higher median, so its typical value is greater. Set X also has the smaller IQR, so its central values are less spread out. Set Y is lower and more varied.

    • 1 mark for stating that X has the higher median
    • 1 mark for stating that X has the smaller IQR
    • 1 mark for giving the comparison in context

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·State[1 mark]

State the formula for the interquartile range.
Show answer and explanation

Answer: D · Worked explanation

The interquartile range is the upper quartile minus the lower quartile. The gap Q3−Q2Q_3-Q_2Q3​−Q2​ covers only the upper half of the middle spread, so it is not the full range between the quartiles. The IQR measures the spread of the middle half of the data.
4.

Medium[2 marks]

A histogram has a bar for the class 10≤x<2510\le x<2510≤x<25 with frequency 45. Calculate its frequency density.
Show answer and explanation

Answer: C · Worked explanation

The class width is 25−10=1525-10=1525−10=15, so the frequency density is 4515=3\frac{45}{15}=31545​=3. The value 675 multiplies instead of dividing. The value 0.33 divides the width by the frequency, which inverts the correct fraction. The frequency density is a rate per unit of the variable, so it is smaller than the frequency here.
5.

Medium·Calculate[2 marks]

Calculate the standard deviation of 1, 3, 5, 7, 9.
Show answer and explanation

Answer: B · Worked explanation

The mean is 5 and ∑x2=165\sum x^2=165∑x2=165, so the variance is 1655−25=8\frac{165}{5}-25=85165​−25=8. The standard deviation is 8≈2.83\sqrt{8}\approx2.838​≈2.83. The value 8.00 is the variance, with the square root left out. The value 5.74 is 33\sqrt{33}33​, which forgets to subtract the mean squared.
6.

Medium[2 marks]

A data set has Q1=30Q_1=30Q1​=30 and Q3=42Q_3=42Q3​=42. Determine which of these values is an outlier.
Show answer and explanation

Answer: A · Worked explanation

The IQR is 12, so 1.5×12=181.5\times12=181.5×12=18. The limits are 42+18=6042+18=6042+18=60 and 30−18=1230-18=1230−18=12. Only 61 lies beyond a limit. The value 58 is large but still below 60, so it is not an outlier. Check the limits first, then test each value against them.
7.

Medium[2 marks]

A data set has Q1=20Q_1=20Q1​=20, median 26 and Q3=40Q_3=40Q3​=40. Identify the skewness.
Show answer and explanation

Answer: D · Worked explanation

The gaps are 26−20=626-20=626−20=6 below the median and 40−26=1440-26=1440−26=14 above it. The longer upper gap shows a tail to the right, which is positive skew. A median close to Q1Q_1Q1​ may look negative, but it points the other way. Compare the two gaps, not the sizes of the quartiles themselves.
8.

Hard[2 marks]

A sample of 60 values has cumulative frequencies 6, 26, 50 and 60 at the upper boundaries 10, 20, 30 and 40. Calculate an estimate of the lower quartile.
Show answer and explanation

Answer: C · Worked explanation

The lower quartile is the 604=15\frac{60}{4}=15460​=15th value, in the class 10–20. Interpolating gives 10+15−626−6×10=14.510+\frac{15-6}{26-6}\times10=14.510+26−615−6​×10=14.5. The value 15.0 reports the position, not the value. The value 17.5 forgets to subtract the 6 values already below 10. Always subtract the cumulative frequency of the class below before interpolating.
9.

Hard[2 marks]

Set A has mean 52 and standard deviation 4. Set B has mean 49 and standard deviation 11. Compare the sets.
Show answer and explanation

Answer: B · Worked explanation

The mean of A is higher, and its standard deviation of 4 is smaller than 11, so A is less spread out. The statement that B is less spread out confuses a larger standard deviation with greater consistency. A smaller standard deviation always means values lie closer to the mean.
10.

Hard[2 marks]

A histogram has frequency density 2.5 for 10≤x<2010\le x<2010≤x<20 and 4.0 for 20≤x<3020\le x<3020≤x<30. Assuming the data are spread evenly, calculate the estimated frequency for 15≤x<2415\le x<2415≤x<24.
Show answer and explanation

Answer: A · Worked explanation

The part from 15 to 20 gives 5×2.5=12.55\times2.5=12.55×2.5=12.5, and the part from 20 to 24 gives 4×4.0=164\times4.0=164×4.0=16. The total is 28.5. The value 65.0 uses the whole of both classes. The value 32.5 treats the second part as 5 units wide.

Keep going

Next topicS3 ProbabilityPrevious topicS1 Statistical sampling

More in S · Statistics

  1. S1Statistical samplingNotes · 10 questions
  2. S2Data presentation and interpretationNotes · 10 questions
  3. S3ProbabilityNotes · 10 questions
  4. S4Statistical distributionsNotes · 10 questions
  5. S5Hypothesis testingNotes · 10 questions

All Edexcel A-level Mathematics topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by Pearson Edexcel or any exam board.

On this page

0/6 read

  1. 1Histograms use area to represent frequency
  2. 2Cumulative frequency graphs estimate medians and quartiles
  3. 3Mean, median and spread summarise a data set
  4. 4Box plots display quartiles and mark outliers clearly
  5. 5Skewness describes which side the data trail off towards
  6. 6Comparisons need a centre, a spread and context
  7. Check your recall
  8. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe