Statistics Lec3
Statistics Lec3
By:
Batool Abdulsatar Abdulghani
Shelan K. Ahmed
Measures of Central Tendency
1. Mean
2. Median
3. Mode
If 𝑥1, 𝑥2, … . . , 𝑥𝑛 are the sample values, then the sample mean is:
σ𝑛
𝑥ҧ = 𝑥1 + 𝑥2 + 𝑥𝑛
𝑛
= 𝑖=1 𝑥𝑖
𝑛
→ 𝑥ҧ =
σ𝑥
𝑛
where: Σ𝑥 is the sum of all values;
𝑛 is the sample size;
𝑥ҧ is the sample mean.
σ 𝑥 386
Mean for sample data: 𝑥ҧ = = =38.6
𝑛 10
Statistics and Probability February 10, 2025 4
Properties of the Mean
✓ Uniqueness :
For a given set of data there is one and only one Mean
✓ Simplicity :
It is easy to understand and to compute.
✓ Affected by extreme values :
Since all values enter into the computation.
𝑥𝑖 − 𝑥ҧ = 0 ↔ 𝑥𝑖 − 𝑛𝑥ҧ = 0
𝑖=1 𝑖=1
𝑥𝑖 − 𝑥ҧ = 0
𝑖=1
The deviations of these numbers from their mean:
8 – 7.6 = 0.4
3 – 7.6 = - 4.6
5 – 7.6 = -2.6
12 – 7.6 = 4.4
10 – 7.6 = 2.4
Where:
k : is the number of classes
xi : is the midpoint of class i,
fi : is the frequency of class i, and σ𝑛𝑖=1 𝑓𝑖 = 𝑛
19 - 30 10 24.5 10*24.5=245
31 - 42 13 36.5 13*36.5=474.5
43 - 54 8 48.5 8*48.5=388
55 - 66 5 60.5 5*60.5=302.5
67 - 78 6 72.5 6*72.5=435
79 - 90 2 84.5 2*84.5=169
Sum 50 2089
2. n= 5 (odd)
Me = n+1/2 = (5+1)/2 = 6/2 =3
∑𝒇𝒊
2
3. Indicate the lower boundary of the median class, its class width ,
frequency of the median class and cumulative frequency for the
class before the median class.
4. Find the median of the frequency table:
Class Frequency
10 – 19 3
20 – 29 6
30 – 39 10
40 – 49 15
50 – 59 8
60 – 69 5
70 - 79 3
10 – 19 3 3
20 – 29 6 9
30 – 39 10 19
40 – 49 15 34
50 – 59 8 42
60 – 69 5 47
70 - 79 3 50
sum 50
The median lies in the 4th class, which is therefore the median class
Frequency Cumulative
Class limits
f frequency
40 - 49 7 7
50 - 59 30 37
60 - 69 14 51
70 - 79 12 63
80 - 89 4 67
90 - 100 3 70
total 70
∑𝒇𝒊 70
= = 35
2 2
The median lies in the 2nd class, which is therefore the median class
❖ The median gives the center of a histogram, with half the data
values to the left of the median and half to the right of the median.
C. 39, 42, 14, 25, 39, 2, 14, C. 2, 14, 14, 14, 15, 25, 26, 39, 39, 39, 42
26, 14, 39, 15 The data set has two modes, 14 and 39
A major shortcoming of the mode is that a data set may have none or
may have more than one mode, whereas it will have only one mean
and only one median.
One advantage of the mode is that it can be calculated for both kinds
of data (quantitative and qualitative), whereas the mean and median
can only be calculated for quantitative data.
𝒇𝟏 − 𝒇𝟎
Mode = L + [ ] *C
𝒇𝟏 − 𝒇𝟎 +(𝒇𝟏 − 𝒇𝟐 )
Where:
L = lower class boundary of the modal class (class with higher
frequency).
f0 = frequency of the class preceding the modal class.
f1 = frequency of the modal class (the class with higher frequency).
f2 = frequency of the class succeeding the modal class.
c = size of modal class.
Class Frequency
10 – 19 3
20 – 29 6
30 – 39 10
40 – 49 15
50 – 59 8
60 – 69 5
70 - 79 3
Class Frequency f
40 - 49 15
50 - 59 15
60 - 69 15
70 - 79 15
80 - 89 15
total 75
112 109 110 105 118 134 120 127 100 112
109 105 114 114 122 118 116 117 118 110
110 106 122 118 117 118 115 114 112 107
111 104 111 119 120 113 121 110 108 116
114 114 112 118 110 105 117 120 113 120