Chapter 3 Measures of Variability
Chapter 3 Measures of Variability
Dispersion or
Variability
Measures of
Variability
Use to describe the spread of data
or its variation around a central
value.
M e a s u r e s o f
Variability
There are four common measures of
variability:
range variance
Standard
Mean Absolute Deviation
deviation
Range
It is defined as the
difference between
Range the largest and
smallest sample
values.
The range is a measure
of variability or
scatteredness of the
variates or observations
Range Where:
HV – Highest Value
LV – Lowest Value
Example 1
The score of the intelligence test given to a
group of 8 students are listed below. What is
the range of their scores?
70 73 75 78 79 82 87 90
Solution -Example 1
R = HV – LV
R = 90 – 70
R = 20
Example 2
Find the range of the given set of data
below.
48 50 37 32 65 52
44 70 58 64 86 60
62 28 75 70 25 56
Solution Example 2
R = HV – LV
R = 86 – 25
R = 61
Mean It is a way to explain
Absolute Where :
𝑥𝑖 = value of each
Deviation observation
||= symbol for absolute
value
Population 2 ∑(𝑥𝑖 − 𝜇)
𝜎 =
𝑁
where:
Variance 𝑥𝑖 = value of each item
𝜇 = population mean
formula N= total number of
observations
Sample 2
𝑆 =
ҧ
∑(𝑥𝑖 −𝑥 ) 2
Variance
𝑛−1
where:
𝑥𝑖 = value of each item
formula 𝑥=
ҧ sample mean
n= total number of
observations
Population 𝜎 = ∑(𝑥 − 𝑖 𝜇)2
Standard Where:
𝑁
Formula observations
N= total number of
Sample S=
∑(𝑥𝑖 −𝑥)ҧ 2
𝑛−1
Standard Where:
𝑥𝑖 = value of each item
Deviation 𝑥=
ҧ sample mean
n= total number of
Formula observations
For Calculating Variance of
Ungrouped data
1. Compute for the mean (ungrouped data)
2. Compute the deviation by subtracting the mean to each data set. (𝑥𝑖
- 𝑥ҧ ).
2
3. Square the deviation. 𝑥𝑖 − 𝑥ҧ .
2
4. Get the sum of the squared deviation. ∑ 𝑥𝑖 − 𝑥ҧ
5. Divide the sum by
a. N - if we are computing for the population variance
b. n – 1 - if we are computing for the sample variance
For Calculating Standard Deviation
of Ungrouped data
118
=
4
= 29.5
= 5.43
Calculating the
Measures of
Variability
Grouped Data
Range R = 𝑈𝐵𝐻𝐶 − 𝐿𝐵𝐿𝑐
R = 𝑈𝐵𝐻𝐶 − 𝐿𝐵𝐿𝑐
Where:
𝑈𝐵𝐻𝐶 – Upper boundary
Absolute Where:
𝑀𝐴𝐷 =
𝑥ҧ − mean
Where: 𝑥ҧ − 𝑚𝑒𝑎𝑛
n –ortotal
frequency frequency or
observation
𝑁
n – total
Deviation observation
frequency
𝑥 − 𝑝𝑎𝑟𝑡𝑖𝑐𝑢𝑙𝑎𝑟 𝑠𝑐𝑜𝑟𝑒
(MAD) f - frequency
Steps in Calculating Mean Absolute
Deviation of Grouped data
1. Compute for the mean (grouped data).
2. Compute for the class mark (x) by getting the average of the upper limit and
lower limit of each class interval.
3. Find the distance between the class mark of each class interval and the mean.
Find the absolute value of the difference between each class mark and the
mean. 𝑥 − 𝑥ҧ
4. Multiply each deviation by its corresponding frequency. (𝑓 𝑥 − 𝑥ҧ )
5. Sum up the product of the deviation and frequency. (∑𝑓 𝑥 − 𝑥ҧ )
6. Divide the sum by the number of observations to get the MAD
Example 1
The following is a frequency distribution of an achievement test. Using the
table below compute for the MAD.
Class Mark
Class Interval f fx |x- 𝑥|ҧ f |x-𝑥|ҧ
x =(UL+LL)/2
49-53 8
2409
54-58 13
59-63 11
64-68 6
69-73 12
Total 50
Solution-Example 1
∑𝑓𝑥 3 055
𝑥ҧ = = = 61.1
𝑛 50
∑𝑓 𝑥 − 𝑥ҧ
𝑀𝐴𝐷 =
𝑁
295
=
50
= 5.9
Example 2
Class Mark
Class Interval f
x =(UL+LL)/2
fx |x-𝑥ҧ | f |x-𝑥ҧ |
Standard Where:
x= class mark of each class
interval
Deviation 𝜇 = population mean
N= total number of
Formula observations
f - frequency
Sample S=
∑𝑓(𝑥 −𝑥)ҧ 2
𝑛−1
Standard Where:
x= class mark of each class
interval
Deviation 𝑥=ҧ sample mean
n= total number of
Formula observations
f - frequency
Variance of Grouped data
1. Compute for the mean (grouped data)
2. Compute the deviation by subtracting the mean from each class-mark of the
data set .𝑥 − 𝑥ҧ
3. Square the deviation. 𝑥 − 𝑥ҧ 2
2050
=
43
= 47.67
= 6.90
Example 2
Given the weight in pounds distribution of 123 high school students in a certain
university. Calculate the sample variance and sample standard deviation of the
given data.
Classes f x fx
118-126 15 122 1830
127-135 28 131 3668 ∑𝑓𝑥 17796
136-144 22 140 3080 𝑥ҧ = =
145-153 17 149 2533 𝑛 123
154-162 18 158 2844
163-171 23 167 3841 = 145
Total 123 17796
Example 2
Given the weight in pounds distribution of 123 high school students in a certain
university. Calculate the sample variance and sample standard deviation of the
given data..
𝒙−ഥ 𝟐 𝟐
Classes f x fx 𝒙 𝒙−ഥ
𝒙 𝒇 𝒙−ഥ
𝒙
118-126 15 122 1830 -23 529 7 935
127-135 28 131 3668 -14 196 5 488
136-144 22 140 3080 -5 25 550
145-153 17 149 2533 4 16 272
154-162 18 158 2844 13 169 3 042
163-171 23 167 3841 22 484 11 132
Total 123 17796 28 419
Solution -Example 2
2
2
∑𝑓 𝑥 − 𝑥ҧ
𝑠 =
𝑛−1
𝟐𝟖 𝟒𝟏𝟗
=
123 − 1
28 419
=
122
= 232. 94
Solution -Example 2
∑𝑓 𝑥−𝑥ҧ 2
s=
𝑛−1
28 419
=
122
= 232.94
=15.26
Example 3
The table shows the frequency distribution of the number of laptops sold
during the month of February at 45 selected stores located at Angeles City.
Solve the (a) range , (b) mean absolute deviation , ( c) variance, (d) standard
deviation.
Classes f x fx 𝒙−𝜇
3-11 5
12-20 10
21-29 4
30-38 14
39-47 8
48-56 3
57-65 1
Example
Given are the scores of BSIT-2C students in their Probability exam.
Compute for the range, MAD, and variance and standard deviation.
Classes f x fx 𝒙−𝜇
18-27 8
28-37 13
38-47 21
48-57 6
58-67 12
Total