Professional Documents
Culture Documents
Tutorial 2
Tutorial 2
Quality Control
EDPT 905
Prepared By
Eng. Mostafa Abdel rahman Moussa
Measures of Central Tendency
Each has advantages and disadvantages depending on the data and the
intended purpose.
Mean
Ungrouped Data
X 1 X 2 X 3 ...... X N X J
X J 1
N N
Example:
8 3 5 12 10 38
X 7.6
5 5
Grouped Data
If the numbers X1, X2, X3,……,XK occur with frequencies f1, f2, f3,……,fK
the mean is
f1 X 1 f 2 X 2 f 3 X 3 ...... f k X k f J XJ
X J 1
f1 f 2 f 3 ...... f k k
f J 1
J
Example
60-62 61 5 305
63-65 64 18 1152
66-68 67 42 2814
69-71 70 27 1890
72-74 73 8 584
f J XJ
6745
X J 1
k
67.45
100
f J 1
J
Median
Ungrouped Data
The median of a set of numbers arranged in order of
magnitude (i.e. in an array) is the middle value or the mean
of the two middle values.
Example 1:
To get the median of the set of numbers
4, 8, 6,5, 10, 3,8, 4, 8
3,4,4,5,6,8,8,8,10
The median is 6
Example 2:
To get the median of the set of numbers
9, 18, 12, 5,11, 7,15, 5
5,5,7,9,11,12,15,18
The median is (9+11)/2=10
Grouped Data
N
f 1
Median L1 2 c
f median
Where
L1 : Lower class boundary of the median class (i.e. the class containing the median)
N: number of items in the data (i.e. total frequency)
(∑f)1 : Sum of frequencies of all classes lower than the median class.
fmedian : frequency of median class
c : size of the median class.
Example
63-65 62.5-65.5 18
66-68 65.5-68.5 42
69-71 68.5-71.5 27
72-74 71.5-74.5 8
We shall use the second method of locating the Median by drawing two o
gives (one 'less than’ and the other 'more than’). From the point of
intersection of the two o gives we will draw a perpendicular on the x-axis
and the point where it touches the x-axis would be the value of the Median.
Locating Median Graphically
Wages in dollar
The value of the median comes to 91.25
Mode
Ungrouped Data
The mode of a set of numbers is that value which occurs
with the greatest frequency , i.e. it is the most common
value
The mode may not exist, and even if it does exist it may not
be unique
Example 1:
Get the mode of the set of numbers
2,2,5,7,9,9,9,10,10,11,12,18
The mode is 9 (unimodal)
Example 2:
Get the mode of the set of numbers
3,5,8,10,12,16,18
There is no mode
Example 3:
Get the mode of the set of numbers
2,3,4,4,4,5,5,7,7,7,9
1
Mode L1 c
1 2
Where
L1 : Lower class boundary of the modal class (i.e. the class containing the mode)
Δ1: excess of modal frequency over frequency of the preceding class
Δ2: excess of modal frequency over frequency of the succeeding class
c : size of the modal class.
Example
63-65 62.5-65.5 18
66-68 65.5-68.5 42
69-71 68.5-71.5 27
72-74 71.5-74.5 8
It is the degree to which the numerical data tend to spread about an average
value.
Range:
The range of a set of numbers is the difference between the largest and
smallest numbers in the set.
Range = XL – XS = 74 – 60 = 14
Mean Deviation
Ungrouped Data
X J X
Mean Deviation M .D. J 1
N
Grouped Data
If the numbers X1, X2, X3,……,XK occur with frequencies f1, f2, f3,……,fK
the mean deviation is
fJ XJ X
M .D. J 1
k
f
J 1
J
Example
flX- 67.45l
Class limits Class Mark (X) Frequency (f) lX- 67.45l
fJ XJ X
226.5
M .D. J 1
k
2.265
100
f J
Standard Deviation
Ungrouped Data
X X
N
2
J
J 1
N
Grouped Data
If the numbers X1, X2, X3,……,XK occur with frequencies f1, f2, f3,……,fK
the mean deviation is
k
2
fJ X J X
J 1
N
Example
Class Mark
Class limits Frequency (f) X- 67.45 (X- 67.45)2 f(X- 67.45)2
(X)
f X
k
2
J J X
852.75
J 1
2.92
N 100
Variance