Biostatistic Chpt.3
Biostatistic Chpt.3
Chapter III
MEASURES OF DISPERSION
3.1- Introduction
Student I Student II
68 85
75 90
65 80
67 25
70 65
Both have got a total of 345 and an average of 69 each. The fact is that
the second student has failed in one paper. When the averages alone are
considered, the two students are equal. But first student has less variation
than second student. Less variation is a desirable characteristic.
3.2- Range:
In symbols, Range = L – S.
S = Smallest value.
1
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Method 1:
Method 2:
Example:
7, 9, 6, 8, 11, 10, 4
Solution:
Range = L – S = 11- 4 = 7
Example:
Range = L – S = 75 – 60 = 15
Merits:
1. It is simple to understand.
2. It is easy to calculate.
2
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Demerits:
1. It is very much affected by the extreme items.
2. It is based on only two extreme observations.
3. It cannot be calculated from open-end class intervals.
4. It is not suitable for mathematical treatment.
5. It is a very rarely used measure.
Q3 Q1
Q.D
2
Example :
Find the Quartile Deviation for the following data:
391, 384, 591, 407, 672, 522, 777, 733, 1490, 2488
Solution:
Arrange the given values in ascending order.
384, 391, 407, 522, 591, 672, 733, 777, 1490, 2488.
Number of items, n = 10
(n 1)
Lower quartile, Q1 = item
4
(10 1) 11
Q1 = 2.75 term
4 4
From the quartile formula we can write;
Q1 = 2nd term + 0.75(3rd term-2nd term)
Q1= 391+0.75(407-391) = 391+0.75×16=391+12=403
3(n 1)
Upper Quartile, Q3 = item
4
3(10 1) 33
Q3 = 8.25 term
4 4
Q3 = 8th term + 0.25(9th term-8th term)
Q3 = 777+0.25(1490-777) = 777 + 0.25 (713)
= 777 + 178.25 = 955.25
𝑄3 − 𝑄1 955.25 − 403
𝑄. 𝐷 = = = 276.125
2 2
3
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
∑𝑛𝑖=1|𝑋𝑖 − 𝑋̅|
𝑀. 𝐷 =
𝑛
Example:
3 , 4, 2 , 6 , 5
Solution:
∑5𝑖=1 𝑋𝑖 20
𝑥̅ = = =4
𝑛 5
then
∑𝑛𝑖=1|𝑋𝑖 − 𝑋̅| |3 − 4| + |4 − 4| + |2 − 4| + |6 − 4| + |5 − 4|
𝑀. 𝐷 = =
𝑛 5
1+0+2+2+1 6
= = 1.2
5 5
4
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Definition:
2
∑𝑛𝑖=1(𝑋𝑖 − 𝑋̅)2
𝑆 =
𝑛−1
Or
2
∑𝑛𝑖=1 𝑋 2 − 𝑛𝑋̅ 2
𝑆 =
𝑛−1
Which is
∑𝑛𝑖=1(𝑋𝑖 − 𝑋̅)2
𝑆= √
𝑛−1
Or
∑𝑛𝑖=1 𝑋 2 − 𝑛𝑋̅ 2
𝑆=√
𝑛−1
Example:
Calculate the standard deviation and variance from the following data.
Solution:
14 + 22 + 9 + 15 + 20 + 17 + 12 + 11 120
𝑥̅ = = = 15
8 8
5
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
or
Variance = 𝑆 2 = (4.47)2 = 20
Which is
Example2:
Thirty farmers were asked how many farm workers they hire during a
typical harvest season. Their responses were:
Workers 0 1 2 3 4 5 6 7 8 9
Farmers 1 1 2 3 6 5 4 3 3 2
6
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Solution:
𝑥𝑖 𝑓𝑖 𝑓𝑖 𝑥𝑖 𝑥𝑖 − 𝑥̅ (𝑥𝑖 − 𝑥̅ )2 𝑓𝑖 (𝑥𝑖 − 𝑥̅ )2
0 1 0 -5 25 25
1 1 1 -4 16 16
2 2 4 -3 9 18
3 3 9 -2 4 12
4 6 24 -1 1 6
5 5 25 0 0 0
6 4 24 1 1 4
7 3 21 2 4 12
8 3 24 3 9 27
9 2 18 4 16 32
∑𝑛𝑖=1 𝑓𝑖 𝑥𝑖 150
𝑥̅ = 𝑛 = =5
∑𝑖=1 𝑓𝑖 30
2
∑𝑛𝑖=1 𝑓𝑖 (𝑋𝑖 − 𝑋̅)2 152 152
𝑆 = = = = 5.241
∑𝑛𝑖=1 𝑓𝑖 − 1 30 − 1 29
7
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Example2:
Intervals 𝑓𝑖
10-14 2
15-19 12
20-24 23
25-29 60
30-34 77
35-39 38
40-44 8
Solution:
Midpoint
Intervals 𝑓𝑖 𝑓𝑖 𝑥𝑖 𝑥𝑖 − 𝑥̅ (𝑥𝑖 − 𝑥̅ )2 𝑓𝑖 (𝑥𝑖 − 𝑥̅ )2
𝑥𝑖
10-14 2 12 24 -17.82 317.6 635.2
15-19 12 17 204 -12.82 164.4 1972.8
20-24 23 22 506 -7.82 61.2 1407.6
25-29 60 27 1620 -2.82 8 480
30-34 77 32 2464 2.18 4.8 369.6
35-39 38 37 1406 7.18 51.6 1960.8
40-44 8 42 336 12.18 148.4 1187.2
Total 220 6560 8013.2
∑𝑛𝑖=1 𝑓𝑖 𝑥𝑖 6560
𝑥̅ = 𝑛 = = 29.82
∑𝑖=1 𝑓𝑖 220
2
∑𝑛𝑖=1 𝑓𝑖 (𝑋𝑖 − 𝑋̅)2 8013.2 8013.2
𝑆 = 𝑛 = = = 36.51
∑𝑖=1 𝑓𝑖 − 1 220 − 1 219
→ 𝑆 = √𝑆 2 = √36.51 = 6.04
8
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Example :
In two factories A and B located in the same industrial area, the average
weekly wages and the standard deviations are as follows:
9
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Solution:
𝑆𝐴 5
𝐶. 𝑉(𝐴) = × 100 = × 100 = 14.49%
̅̅̅
𝑋𝐴 34.5
𝑆𝐵 4.5
𝐶. 𝑉(𝐵) = × 100 = × 100 = 15.79%
̅̅̅̅
𝑋 𝐵 28.5
10
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
3.7 Skewness:
Skewness means ‘lack of symmetry’. We study skewness to have an idea
about the shape of the curve which we can draw with the help of the
given data.
• If in a distribution
Mean = Median = Mode
then that distribution is known as symmetrical distribution.
If in a distribution
Mean ≠ Median ≠ Mode
then it is not a symmetrical distribution and it is called a skewed
distribution and such a distribution could either be positively skewed or
negatively skewed.
Positively skewed
Negatively skewed
11
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Measures of skewness:
𝑀𝑒𝑎𝑛 − 𝑀𝑜𝑑𝑒 𝑋̅ − 𝑋̂
𝛼1 = =
𝑆. 𝐷 𝑆
2) Second coefficient of skewness:
(𝑄3 − 𝑋̃)(𝑋̃ − 𝑄1 )
𝛼3 =
𝑄3 − 𝑄1
Note:
Example:
Find 𝛼1 , 𝛼2 ?
Solution:
𝑋̅ − 𝑋̂ 74.92 − 76.33
𝛼1 = = = −0.0637
𝑆 22.17
and
12
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Since 𝛼1 < 0 and 𝛼2 < 0, then the curve of data is skewness to left
"negative skewness".
3.8 Kurtosis:
Measure of Kurtosis:
Example:
Solution:
𝑄3 − 𝑄1 66 − 23.33 42.66
𝛽= = = = 0.339
2(𝑃90 − 𝑃10 ) 2(78 − 15.09) 125.818
Since 𝛽 > 0.263 then the frequency curve of this data is Platy Kurtic
"flat".
13
Faculty of medicine and Pharmacy / Al-mergib University - Academic year 2022/2023
Biostatistics for Premedical students - Dr. A. A. Aziz - Dr. M.O. Alshrani
Exercises:
ii. If the minimum value in a set is 9 and its range is 57, the maximum
value of the set is …………………
The mean of four numbers is 71.5 . If three of the numbers are 58, 76,
and 88, then the value of the fourth number is equal to:
15 , 10 , 12 , 12 , 10 , 9 , 10 , 14
15