Interpolation For Median and Quartiles - Lesson
Interpolation For Median and Quartiles - Lesson
cm cm cm
Estimate the number of cats with cats cats cats
a height:
halfway
a Below cm
8
Cats up to
this height
b Above cm
c Below cm
4
a
Heigh
b cm cm
t
c 8 +15=𝟐𝟑 This is known as linear interpolation,
because if we were plotting this as a
cumulative frequency graph (i.e. the running
total of cats up to a specific height), the
graph forms a straight line.
Test Your Understanding drfrost.org/ 544c
s/
We understand mean as an
‘average’ that considers all
values, but is skewed by
extreme values.
Salary
($)
Mea 𝑷 𝟗𝟗
Media n 𝑸𝟑 We can also have percentiles. The
n 99th percentile (written ) is the value
along the data. When ‘the ’is used in
the media, it’s referring to people in
the ‘top percentile’ for salary, i.e.
Median is a measure of above .
position because it allows us Another measure of position is
to get the value a certain quartiles, which gives us the
position, in this case along the value , , and along the data.
data.
along data (lower quartile)
along data (upper quartile)
Names for Quantiles
Quantiles represent general positions across the data when
ordered.
Quartiles
𝑄1 𝑄2 𝑄3
of data 25 % 25 % 25 %
Deciles
𝐷1 𝐷 2 𝐷 3 𝐷 4 𝐷5 𝐷 6 𝐷7 𝐷 8 𝐷 9
10 %10 %10 %10 %10 %10 %10 %10 %10 %10 %
Percentil
es
𝑃1 𝑃2 𝑃3 𝑃 98 𝑃 99
1 1 1 1 1 1
%%%%%%
… … 1 1
%%
What Item To Use For Listed Data?
IQ of L6Ms2 () Frequency ()
If the data is grouped, what
item do we use for the
median?
th
item
Important point: Unlike with listed values, for grouped data, do not round in
any way. For example, if we were reading off a value from a cumulative
frequency graph and there were values, for the median we’d read across the th
item mark, not halfway between the 50th and 51st.
Quickfire Questions
What position do we use for the
1 median? 4 7
Lengths: cm, cm, cm, … Score Fre Weights: kg, kg, …
q
? : 18th
Position
?
Position:
6th 8
?
Position: Volume (ml) Freq
2 5th
Lengths: m, m, m, … 5
Ages: , …
Position:?
12th/13th
3 Position:?30th/31st ? 6.5th
Position:
Age Freq
6 9
Score Freq
Weights: kg, kg, …
?
Position: Position:? 9th/10th
8.5th
Position?: 10.5th
Example Test Your
Understanding
In what interval does the 2 In what interval does the
upper quartile lie? lower quartile lie?
The upper
th
item quartile, , is
th
item
along the
data.
The 12.75th item doesn’t The lower quartile lies
lie within the first items. within ?
But is within the next .
Using linear
interpolation, estimate
the median.
Step 1: Identify the interval in which
the median item, here the th value, lies.
Frequencies
go at the top. 𝟐𝟎
𝟒𝟓
𝟐𝟓
Frequency up Item number we’re Frequency by
𝟒𝟓
until this
interval
55 75 interested in. 100 end of this
interval
Height at start
of interval.
m 𝟐𝟓
𝑄2 Height by m
end of
𝟒𝟓 interval.
And heights at the
What fraction of the way of the
th bottom. You may
across the class interval are wish to put units to
way
avoid confusing with
we?
your frequencies.
Step 3: We therefore go
( )
the same fraction of the
20
way between m to m. 𝑄 2=0.6 + × 0.05 =𝟎 .𝟔𝟐𝟐 𝐦
45
Further Examples
Using linear interpolation, estimate the
median.
Weight of cat Freq C.F. Time (s) Freq C.F.
(kg)
? th item
16 ? th item
10
Median class 𝟑 ≤ 𝒘? <𝟒 Median class 𝟏𝟐 ≤ 𝒕<𝟏𝟒
?
interval: interval:
10
? 16
? 18
? 7
? 10
? 20
?
kg
? 𝑄 2 kg
? ?s 𝑄2 ?s
𝟔
Fraction along ? RIP Pippin❤️ Estimate of median:
interval: 𝟖 2012-2021
Estimate of ? secs (to
median: 3sf)
𝟑+ ( 𝟔
𝟖 )
×𝟏 ?=𝟑 .𝟕𝟓k
g
Test Your Understanding drfrost.org/ 544d
s/
49 62 103
m 𝑄2 m
?
9 .5 − 12.5
Lower class Upper
boundary class
Class width = boundary
Quickfire Boundaries/Class Width
1 2
Distance travelled (in m) … Time taken (to the …
nearest second)
23.5th
25th item. item.
Lies in interval.
Lies in interval. 12 23.5 36
𝑄 2?
20 25 32 ml ml
h 𝑄2 h 𝑄 2=399.5+ ( 11.5
24 )
×200ml
𝑄 2=5.5+
5
12 (
× 5m ) drfrost.org/ 544e
s/
Interpolation with Quartiles
We can use the same process to determine quartiles (and
therefore the interquartile range). Simply use the correct item
number.
Use linear interpolation to a th item
estimate:
a
class interval:2.5 ≤ 𝑡 <5.5
b the lower quartile
c the upper quartile 12 12.5 20
the interquartile range h 𝑄1 h
Time (to Frequency ()
C.F
(8 )
nearest hour) 0.5
. 𝑄1 =2.5+ ×3 =𝟐 .𝟔𝟗h
b th
item
10.5 ≤ 𝑡<30.5
class interval:
32 37.5 50
h 𝑄3 h
c h
𝑄 3=10.5+ ( 5.5
18 )
×20 =𝟏𝟔 .𝟔𝟏
h
Test Your Understanding drfrost.org/ 544f
s/
544g
b rd
item
𝑄 3=8 + ( 44
54 )
× 2 =𝟗 .𝟔𝟑
m
c m ?
Inter-percentile and Inter-decile Ranges
Interquartile Range
𝑄1 𝑄2 𝑄3
of data 25 % 25 % 25 %
2nd to 8th Interdecile
Range
𝐷1 𝐷 2 𝐷 3 𝐷 4 𝐷5 𝐷 6 𝐷7 𝐷 8 𝐷 9
10 %10 %10 %10 %10 %10 %10 %10 %10 %10 %
g
?
20 21 27
g 𝐷7 g
g to 3sf