Coding Statistical Variables - Lesson
Coding Statistical Variables - Lesson
Jamie Frost
www.drfrost.org
@DrFrostMaths
Let
? ? ? ?
Let
a
a Calculate
b Calculate b
c What do you c
notice? In increasing each
value by , we also
increased the mean
by , i.e.
Does this Work on all Transformations?
Let
a
a Calculate
b Calculate b
c What do you
c
notice? . Squaring the values
does not square the
mean, i.e. although ,
Coding Averages
Example:
kg
Effect of Coding on Other Statistics
Range
Media Mea 𝑸𝟑
n n
𝒙
Range
Media Mea 𝑸𝟑
n n
𝒚 =𝒙+𝟏𝟎𝟎𝟎𝟎
Salary
k k k k k k k ($)
36 4 𝑦=𝑥−20𝟏𝟔𝟒 ? ?
𝟑𝟔𝟖
? ? 𝑦 =2 𝑥7216
35 4 𝑦=3 𝑥−20𝟖𝟓𝟏𝟐 ? ?
𝟒𝟎𝟑
? ? 𝑦=
𝑥
2 20 2
3
1127 𝑦 =
𝑥+10
3 𝟕𝟗
? ?
𝟑𝟎𝟎𝟐𝟓
? ? 𝑦 =
𝑥 −100
5 405
Example Exam Question
The following table summarises the times, minutes to the nearest minute, recorded
for a group of students to complete an exam.
e) Without further calculations, explain the effect this would have on each of the
estimates found in parts (a), (b), (c) and (d).
Median decreases by .
Coding is Mean decreases
?e Lower quartile decreases
by .
by .
unaffected.
Test Your Understanding
Use the
coding
Determine the mean and standard backwards to
a retrieve the
deviation of . b
original
and
mean.
Hence determine the mean and
b The doesn’t
standard deviation for the price of
affect
the diamond rings.
Test Your Understanding
3 [Edexcel IAL Mathematics Oct a
2022 Stats 1 Q3]
Morgan is investigating the body
length, centimetres, of squirrels.
A random sample of squirrels is ?
taken and the data for each
squirrel is coded using