Professional Documents
Culture Documents
Lecture 2 (6th Week)
Lecture 2 (6th Week)
σ(𝑋𝑖 − ത
𝑋) 2
2
𝑆 =
Lecturer: Mustafa Khairi 𝑛−1 101
Example : Find the Population Variance,
for the following data:- 13, 17, 14, 11, 15
Sol:-
σ5𝑖=1 𝑥𝑖 13 + 17 + 14 + 11 + 15 70
𝑥ҧ = = = = 14
𝑛 5 5
σ 5 2
2 𝑖=1 𝑥𝑖 − 𝑥ҧ 20
𝜎 = = =4
𝑛 5
Lecturer: Mustafa Khairi 102
Example : Find the Sample Variance,
for the following data. 13, 17, 14, 11, 15
Sol:-
σ5𝑖=1 𝑥𝑖 13 + 17 + 14 + 11 + 15 70
𝑥ҧ = = = = 14
𝑛 5 5
σ 5 2
2 𝑖=1 𝑥𝑖 − 𝑥ҧ 20 20
𝑆 = = = =5
𝑛−1 5−1 4
Lecturer: Mustafa Khairi 103
3. Variance for grouped data:-
a) The Population Variance:-
𝑛 ത 2
2
σ𝑖=1 𝑓𝑖 (𝑋𝑖 − 𝑋)
𝜎 =
σ𝑛𝑖=1 𝑓𝑖
b) The Sample Variance:-
𝑛 ത 2
σ𝑖=1 𝑓𝑖 (𝑋𝑖 − 𝑋)
𝑆2 =
σ𝑛𝑖=1 𝑓𝑖 − 1
Lecturer: Mustafa Khairi 104
Example: The lengths of (32) plants are distributed as the
following distribution. Find the Variance ?
Classes 20 -22 23-25 26-28 29-31 32-34
frequency 3 6 12 9 2
Sol:
classes 𝑓𝑖 𝑋𝑖 𝑓𝑖 𝑋𝑖 𝑋𝑖 − 𝑋ത ത 2
𝑓𝑖 (𝑋𝑖 − 𝑋)
Sample Variance
𝑛 ത 2
σ 𝑖=1 𝑓𝑖 (𝑋𝑖 − 𝑋) 314.72
𝑆2 = 𝑛 = = 10.152
σ𝑖=1 𝑓𝑖 − 1 31
Lecturer: Mustafa Khairi 106
4. Standard Deviation for ungrouped data:-
ത 2
σ(𝑋𝑖 − 𝑋)
𝜎= = 𝜎2
𝑛
b) The Sample Standard Deviation :-
ത 2
σ(𝑋𝑖 − 𝑋)
𝑆= = 𝑆2
𝑛−1
Lecturer: Mustafa Khairi 107
Example : Find The Population Standard Deviation.
For the following data : 13, 17, 14, 11, 15
Sol:-
σ5𝑖=1 𝑥𝑖 13 + 17 + 14 + 11 + 15 70
𝑥ҧ = = = = 14
𝑛 5 5
5 2
2
σ 𝑖=1 𝑥𝑖 − 𝑥ҧ 20
𝜎 = = =4
𝑛 5
𝜎 = 𝜎2 = 4 = 2 𝑖𝑠 𝑎 𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑑𝑒𝑣𝑖𝑎𝑡𝑖𝑜𝑛
Lecturer: Mustafa Khairi 108
Example : Find The Sample Standard Deviation.
For the following data : 13, 17, 14, 11, 15
Sol:-
σ5𝑖=1 𝑥𝑖 13 + 17 + 14 + 11 + 15 70
𝑥ҧ = = = = 14
𝑛 5 5
5 2
2
σ 𝑖=1 𝑥𝑖 − 𝑥ҧ 20 20
𝑆 = = = =5
𝑛−1 5−1 4
𝑆 = 𝑆 2 = 5 = 2.236
Lecturer: Mustafa Khairi 109
5. Standard deviation for grouped data:-
a) The Population Standard deviation :-
ത 2
σ𝑛𝑖=1 𝑓𝑖 (𝑋𝑖 − 𝑋)
𝜎= 𝑛 = 𝜎2
σ𝑖=1 𝑓𝑖
b) The Sample Standard deviation :-
ത 2
σ𝑛𝑖=1 𝑓𝑖 (𝑋𝑖 − 𝑋)
𝑆= = 𝑆2
σ𝑛𝑖=1 𝑓𝑖 − 1
Lecturer: Mustafa Khairi 110
Example: The lengths of (32) plants are distributed as the
following distribution. Find the Standard deviation ?
Classes 20 -22 23-25 26-28 29-31 32-34
frequency 3 6 12 9 2
Sol:
classes 𝑓𝑖 𝑋𝑖 𝑓𝑖 𝑋𝑖 𝑋𝑖 − 𝑋ത ത 2
𝑓𝑖 (𝑋𝑖 − 𝑋)