Lecture (4) Chapter (3) Part 2
Lecture (4) Chapter (3) Part 2
Use Midpoints
standard deviation 𝝈= 𝝈𝟐
standard deviation 𝑺= 𝑺𝟐
Example
Using the following frequency table for population data , calculate … range , variance and
standard deviation.
Solution
Class interval f Midpoint (𝑴) 𝒇𝑴 𝒇 𝑴𝟐
1 up to 3 4 2 8 16
3 up to 5 12 4 48 192
5 up to 7 13 6 78 468
7 up to 9 19 8 152 1216
9 up to11 7 10 70 700
11 up to 13 5 12 60 720
total 60 416 3312
Range = 12 – 2 = 10
( 𝜮 𝒇𝑴 )𝟐 ( 𝟒𝟏𝟔)𝟐
𝚺 𝒇 𝑴𝟐 − 𝟑𝟑𝟏𝟐 −
variance 𝝈𝟐 = 𝑵
= 𝟔𝟎
= 7.13
𝑵 𝟔𝟎
- if the result of SK is negative , then the shape of data is negatively skewed ( skewed left )
- if the result of SK is positive , then the shape of data is positively skewed ( skewed right)
- if the result of SK is zero , then the shape of data is symmetrical distribution ( bell shaped )
( normal distribution ) .
Example
if you have a sample data and it has a mean of 7 , median = 8 and standard deviation = 3.32 …
calculate the coefficient of skewness and comment on the shape of a distribution of data.
solution
3( 𝑥 − 𝑚𝑒𝑑𝑖𝑎𝑛 ) 3( 𝟕−𝟖 )
SK = = = - 0.9
𝑠 𝟑.𝟑𝟐
- The coefficient of variation (CV) is the ratio of the standard deviation to the mean and
shows the extent of variability in relation to the mean of the population or sample.
- The higher the CV, the greater the dispersion.
CV = Standard Deviation / Mean
𝜎
CV = * 100 for population
𝜇
𝐬
CV = * 100 for sample
𝐱
Example
The mean of a math test is 89 with a standard deviation 12. the mean of a language test is 68
with a standard deviation 10 . Which test has more variability ?
Solution
𝟏𝟐
for math test CV = * 100 = 13.48%
𝟖𝟗
𝟏𝟎
for language test CV = * 100 = 14.7%
𝟔𝟖
Lower outer fence = Lower inner fence = Upper inner fence = Upper outer fence =
Q1 – 3 IQR Q1 – 1.5 IQR Q3 + 1.5 IQR Q3 + 3 IQR
Extremes Extremes
we draw the box plot to identify
2. shape of data .
Solution steps
1. calculate Q1 , Q2 , Q3 .
2. IQR = Q3 – Q1
3. Upper inner fence = Q3 + 1.5 IQR (assign outliers) ,Upper outer fence = Q3 + 3 IQR (assign Extremes)
4. Lower inner fence = Q1 – 1.5 IQR (assign outliers) , Lower outer fence = Q1 – 3 IQR (assign Extremes)
example
let us draw the box plot for the following data where ,
10 23 55 64.25 90
Shape of distribution
Class interval f
10 up to 15 6
15up to 20 22
20 up to 25 35
25 up to 30 29
30 up to 35 16
35up to 40 8
40 up to 45 4
45 up to 50 2
Total
solution
Mode = 22.5
Mode < Median < Mean Then the data is positively skewed or skewed right
( 𝜮 𝒇𝑴 )𝟐 ( 𝟑𝟏𝟑𝟎)𝟐
𝚺 𝒇 𝑴𝟐 − 𝒏 87212.5 −
variance 𝑺𝟐 = = 𝟏𝟐𝟐
= 57.11
𝒏−𝟏 𝟏𝟐𝟐−𝟏
3( 𝑥 − 𝑚𝑒𝑑𝑖𝑎𝑛 ) 3( 𝟐𝟓.𝟔𝟔−𝟐𝟒.𝟕𝟏)
SK = = = 0.38 then the distribution of data is positively skewed
𝑠 𝟕.𝟓𝟔
𝑆 𝟕.𝟓𝟔
C.V = * 100 = * 100 = 29.46%
𝐱 𝟐𝟓.𝟔𝟔
Chapter 3
The end