CH 3 and 4
CH 3 and 4
CH 3 and 4
Objectives:
1. To comprehend the data easily.
2. To facilitate comparison.
3. To make further statistical analysis.
1
.
Introduction to Statistics Lecture notes
The expression is read, "the sum of X sub i from i equals 1 to N." It means
"add up all the numbers."
Example: Suppose the following were scores made on the first homework
assignment for five students in the class: 5, 7, 7, 6, and 8. In this example set
of five numbers, where N=5, the summation could be written:
The "i=1" in the bottom of the summation notation tells where to begin the
sequence of summation. If the expression were written with "i=3", the
summation would start with the third number in the set. For example:
In the example set of numbers, this would give the following result:
The "N" in the upper part of the summation notation tells where to end the
sequence of summation. If there were only three scores then the summation
and example would be:
2
Introduction to Statistics Lecture notes
For example:
PROPERTIES OF SUMMATION
n
1. ∑ k = nk
i =1
where k is any constant
n n
2. ∑ kX i = k ∑ X i where k is any constant
i =1 i =1
n n
3. ∑ (a + bX i ) = na + b∑ X i where a and b are any constant
i =1 i =1
n n n
4. ∑(X
i =1
i + Yi ) = ∑ X i + ∑ Yi
i =1 i =1
5
b) ∑Y
i =1
i
5
c) ∑10
i =1
3
Introduction to Statistics Lecture notes
5
d) ∑(X
i =1
i + Yi )
5
e) ∑(X
i =1
i − Yi )
5
f) ∑X Y
i =1
i i
∑X
2
g) i
i =1
5 5
h) (∑ X i )(∑ Yi )
i =1 i =1
Solutions:
5
a) ∑X
i =1
i = 5 + 7 + 7 + 6 + 8 = 33
5
b) ∑Y
i =1
i = 6 + 7 + 8 + 7 + 8 = 36
5
c) ∑10 = 5 *10 = 50
i =1
5
d) ∑(X
i =1
i + Yi ) = (5 + 6) + (7 + 7) + (7 + 8) + (6 + 7) + (8 + 8) = 69 = 33 + 36
5
e) ∑(X
i =1
i − Yi ) = (5 − 6) + (7 − 7) + (7 − 8) + (6 − 7) + (8 − 8) = −3 = 33 − 36
5
f) ∑X Y
i =1
i i = 5 * 6 + 7 * 7 + 7 * 8 + 6 * 7 + 8 * 8 = 241
5
∑X = 5 2 + 7 2 + 7 2 + 6 2 + 8 2 = 223
2
g) i
i =1
5 5
h) (∑ X i )(∑ Yi ) = 33 * 36 = 1188
i =1 i =1
4
Introduction to Statistics Lecture notes
-The choice of these averages depends up on which best fit the property under
discussion.
The Arithmetic Mean:
- Is defined as the sum of the magnitude of the items divided by the
number of items
- The mean of X1, X2 ,X3 …Xn is denoted by A.M ,m or X and is given
by:
X 1 + X 2 + ... + X n
X =
n
n
∑X i
⇒X = i =1
- If X1 occurs f1 times
If X2occurs f2 times
.
.
- If Xn occurs fn times
Then the mean will be
k
∑fX i i k
X= i =1
k
, where k is the number of classes and ∑f i =n
∑f
i =1
i
i =1
5
Introduction to Statistics Lecture notes
Xi fi Xifi
2 2 4
3 1 3
7 3 21
8 1 8
Total 7 36
4
∑fX i i
36
X = i =1
4
= = 5.15
∑f
7
i
i =1
If data are given in the shape of a continuous frequency distribution, then the
mean is obtained as follows:
k
∑fX i i
th
X = i =1
k
,Where Xi =the class mark of the i class
∑f i =1
i
6
Introduction to Statistics Lecture notes
Solutions:
• First find the class marks
• Find the product of frequency and class marks
• Find mean using the formula.
Class fi Xi Xifi
6- 10 35 8 280
11- 15 23 13 299
16- 20 15 18 270
21- 25 12 23 276
26- 30 9 28 252
31- 35 6 33 198
Total 100 1575
6
∑f X i i
1575
X = i =1
6
= = 15.75
∑f
100
i
i =1
Exercises:
1. Marks of 75 students are summarized in the following frequency
distribution:
7
Introduction to Statistics Lecture notes
2. The sum of the squared deviations of a set of items from their mean is
n n
the minimum. i.e. ∑ ( Xi − X ) 2 < ∑ ( X i − A) 2 , A ≠ X
i =1 i =1
X 1 n1 + X 2 n2 + .... + X k nk ∑ X i ni
Xc = = k
i =1
n1 + n2 + ...nk ∑ ni i =1
Females Males
X 1 = 60 X 2 = 72
n1 = 30 n2 = 70
2
X 1 n1 + X 2 n 2 ∑ X i ni
Xc = = 2
i =1
n1 + n 2 ∑ ni i =1
8
Introduction to Statistics Lecture notes
4. If a wrong figure has been used when calculating the mean the correct
mean can be obtained with out repeating the whole process using:
(CorrectValue − WrongValue )
CorrectMean = WrongMean +
n
Where n is total number of observations.
Example: An average weight of 10 students was calculated to be
65.Latter it was discovered that one weight was misread as 40 instead
of 80 k.g. Calculate the correct average weight.
Solutions:
(CorrectValue − WrongValue )
CorrectMean = WrongMean +
n
(80 − 40)
CorrectMean = 65 + = 65 + 4 = 69k .g .
10
9
Introduction to Statistics Lecture notes
Solutions:
a).NewMean = OldMean + 10 = 500 + 10 = 510
b).NewMean = −5 * OldMean = −5 * 500 = −2500
Weighted Mean
- When a proper importance is desired to be given to different data a
weighted mean is appropriate.
- Weights are assigned to each item in proportion to its relative
importance.
- Let X1, X2, …Xn be the value of items of a series and W1, W2, …Wn their
corresponding weights , then the weighted mean denoted X w is defined
as:
n
∑XW i i
Xw = i =1
n
∑W i −1
i
Example:
A student obtained the following percentage in an examination:
English 60, Biology 75, Mathematics 63, Physics 59, and chemistry 55.Find
the students weighted arithmetic mean if weights 1, 2, 1, 3, 3 respectively
are allotted to the subjects.
Solutions:
5
∑XW i i 60 *1 + 75 * 2 + 63 *1 + 59 * 3 + 55 * 3 615
Xw = i =1
= = = 61.5
1+ 2 +1+ 3 + 3
5
∑W i −1
i
10
Merits and Demerits of Arithmetic Mean
Merits:
• It is rigidly defined.
• It is based on all observation.
• It is suitable for further mathematical treatment.
• It is stable average, i.e. it is not affected by fluctuations of sampling to some
extent.
• It is easy to calculate and simple to understand.
Demerits:
• It is affected by extreme observations.
• It can not be used in the case of open end classes.
10
Introduction to Statistics Lecture notes
The Mode
- Mode is a value which occurs most frequently in a set of values
- The mode may not exist and even if it does exist, it may not be unique.
- In case of discrete distribution the value having the maximum frequency is
the model value.
Examples:
1. Find the mode of 5, 3, 5, 8, 9
Mode =5
2. Find the mode of 8, 9, 9, 7, 8, 2, and 5.
It is a bimodal Data: 8 and 9
3. Find the mode of 4, 12, 3, 6, and 7.
No mode for this data.
- The mode of a set of numbers X1, X2, …Xn is usually denoted by X̂ .
If data are given in the shape of continuous frequency distribution, the mode
is defined as:
⎛ Δ1 ⎞
Xˆ = Lmo + w⎜⎜ ⎟⎟
Δ
⎝ 1 + Δ 2 ⎠
11
Introduction to Statistics Lecture notes
Where:
Xˆ = the mod e of the distribution
w = the size of the mod al class
Δ1 = f mo − f1
Δ 2 = f mo − f 2
f mo = frequency of the mod al class
f1 = frequency of the class preceeding the mod al class
f 2 = frequency of the class following the mod al class
Note: The modal class is a class with the highest frequency.
Example: Following is the distribution of the size of certain farms selected at
random from a district. Calculate the mode of the distribution.
Size of farms No. of farms
5- 15 ______________________________ 8
15- 25______________________________ 12
25- 35______________________________ 17
35- 45______________________________ 29
45- 55______________________________ 31
55- 65______________________________ 5
65- 75______________________________ 3
Solutions:
45 − 55 is the mod al class, sin ce it is a class with the highest frequency.
Lmo = 45
w = 10
Δ1 = f mo − f1 = 2
Δ 2 = f mo − f 2 = 26
f mo = 31
f1 = 29
f2 = 5
⎛ 2 ⎞
⇒ Xˆ = 45 + 10⎜ ⎟
⎝ 2 + 26 ⎠
= 45.71
12
Introduction to Statistics Lecture notes
Merits:
• It is not affected by extreme observations.
• Easy to calculate and simple to understand.
• It can be calculated for distribution with open end class
Demerits:
• It is not rigidly defined.
• It is not based on all observations
• It is not suitable for further mathematical treatment.
• It is not stable average, i.e. it is affected by fluctuations of sampling to
some extent.
• Often its value is not unique.
Note: being the point of maximum density, mode is especially useful in finding
the most popular size in studies relating to marketing, trade, business, and
industry. It is the appropriate average to be used to find the ideal size.
The Median
- In a distribution, median is the value of the variable which divides it in to two
equal halves.
- In an ordered series of data median is an observation lying exactly in the middle
of the series. It is the middle most value in the sense that the number of values
less than the median is equal to the number of values greater than it.
-If X1, X2, …Xn be the observations, then the numbers arranged in ascending
order will be X[1], X[2], …X[n], where X[i] is ith smallest value.
⇒ X[1]< X[2]< …<X[n]
-Median is denoted by X̂ .
Median for ungrouped data.
⎧X , If n is odd .
~ ⎪ [( n +1) 2 ]
X = ⎨1
⎪⎩ 2 ( X [n 2] + X [(n 2) + 1]), If n is even
Example: Find the median of the following numbers.
a) 6, 5, 2, 8, 9, 4.
b) 2, 1, 8, 3, 5, 8.
13
Introduction to Statistics Lecture notes
Solutions:
a) First order the data: 2, 4, 5, 6, 8, 9
Here n=6
~ 1
X = (X n + X n )
2 [2] [ +1]
2
1
= ( X [ 3] + X [ 4 ] )
2
1
= (5 + 6) = 5.5
2
b) Order the data :1, 2, 3, 5, 8
Here n=5
~
X= X n +1
[ ]
2
= X [ 3]
=3
14
Introduction to Statistics Lecture notes
Remark:
The median class is the class with the smallest cumulative frequency (less than
n
type) greater than or equal to .
2
Example: Find the median of the following distribution.
Class Frequency
40-44 7
45-49 10
50-54 22
55-59 15
60-64 12
65-69 6
70-74 3
Solutions:
• First find the less than cumulative frequency.
• Identify the median class.
• Find median using formula.
n 75
= = 37.5
2 2
39 is the first cumulative frequency to be greater than or equal to 37.5
⇒ 50 − 54 is the median class.
15
Introduction to Statistics Lecture notes
L = 49.5, w =5
med
n = 75, c = 17, f = 22
med
~ wn
⇒ X = Lmed + ( − c)
f med 2
5
= 49.5 + (37.5 − 17)
22
= 54.16
Demerits:
• It is not a good representative of data if the number of items is small.
• It is not amenable to further algebraic treatment.
• It is susceptible to sampling fluctuations.
Quantiles
Quartiles:
- Quartiles are measures that divide the frequency distribution in to four
equal parts.
- The value of the variables corresponding to these divisions are denoted
Q1, Q2, and Q3 often called the first, the second and the third quartile
respectively.
- Q1 is a value which has 25% items which are less than or equal to it.
Similarly Q2 has 50%items with value less than or equal to it and Q3 has
75% items whose values are less than or equal to it.
16
Introduction to Statistics Lecture notes
iN
- To find Qi (i=1, 2, 3) we count of the classes beginning from the
4
lowest class.
- For grouped data: we have the following formula
w iN
Qi = LQ + ( − c) , i = 1,2,3
i f
Q 4
i
Where :
LQ = lower class boundary of the quartile class.
i
w = the size of the quartile class
N = total number of observations.
c = the cumulative frequency (less than type) preceeding the quartile class.
f Q = thefrequency of the quartile class.
i
Remark:
The quartile class (class containing Qi ) is the class with the smallest
iN
cumulative frequency (less than type) greater than or equal to .
4
Deciles:
- Deciles are measures that divide the frequency distribution in to ten equal
parts.
- The values of the variables corresponding to these divisions are denoted
D1, D2,.. D9 often called the first, the second,…, the ninth decile
respectively.
iN
- To find Di (i=1, 2,..9) we count of the classes beginning from the
10
lowest class.
17
Introduction to Statistics Lecture notes
w iN
Di = LD i + ( − c) , i = 1,2,...,9
f D 10
i
Where :
LD = lower class boundary of the decile class.
i
Remark:
The decile class (class containing Di )is the class with the smallest cumulative
iN
frequency (less than type) greater than or equal to .
10
Percentiles:
- Percentiles are measures that divide the frequency distribution in to
hundred equal parts.
- The values of the variables corresponding to these divisions are denoted
P1, P2,.. P99 often called the first, the second,…, the ninety-ninth
percentile respectively.
iN
- To find Pi (i=1, 2,..99) we count of the classes beginning from the
100
lowest class.
18
Introduction to Statistics Lecture notes
w iN
Pi = LP + ( − c) , i = 1,2,...,99
i
f P 100
i
Where :
LP = lower class boundary of the percentile class.
i
Remark:
The percentile class (class containing Pi )is the class with the smallest
iN
cumulative frequency (less than type) greater than or equal to .
100
Example: Considering the following distribution
Calculate:
a) All quartiles.
b) The 7th decile.
c) The 90th percentile.
Values Frequency
140- 150 17
150- 160 29
160- 170 42
170- 180 72
180- 190 84
190- 200 107
200- 210 49
210- 220 34
220- 230 31
230- 240 16
240- 250 12
19
Introduction to Statistics Lecture notes
Solutions:
• First find the less than cumulative frequency.
• Use the formula to calculate the required quantile.
a) Quartiles:
i. Q1
- determine the class containing the first quartile.
N
= 123.25
4
⇒ 170 − 180 is the class containing the first quartile.
LQ = 170 ,
1
w =10
N = 493 , c = 88 , f Q = 72
1
w N
⇒ Q1 = LQ1 + ( − c)
fQ 4
1
10
= 170 + (123.25 − 88)
72
= 174.90
20
Introduction to Statistics Lecture notes
ii. Q2
- determine the class containing the second quartile.
2* N
= 246.5
4
⇒ 190 − 200 is the class containing the sec ond quartile.
LQ = 190 ,
2
w =10
N = 493 , c = 244 , f Q =107
2
w 2* N
⇒ Q2 = LQ + ( − c)
2
fQ
2
4
10
= 170 + (246.5 − 244)
72
= 190.23
iii. Q3
- determine the class containing the third quartile.
3* N
= 369.75
4
⇒ 200 − 210 is the class containing the third quartile.
LQ = 200 ,
3
w =10
N = 493 , c = 351 , f Q = 49
3
w 3* N
⇒ Q3 = LQ 3 + ( − c)
fQ
3
4
10
= 200 + (369.75 − 351)
49
= 203.83
21
Introduction to Statistics Lecture notes
b) D7
- determine the class containing the 7th decile.
7* N
= 345.1
10
⇒ 190 − 200 is the class containing the seventh decile.
LD = 190 ,
7
w =10
N = 493 , c = 244 , f D =107
7
w 7* N
⇒ D7 = LD + ( − c)
7
f D 10
7
10
= 190 + (345.1 − 244)
107
= 199.45
c) P90
- determine the class containing the 90th percentile.
90 * N
= 443.7
100
⇒ 220 − 230 is the class containing the 90th percentile.
L P = 220 ,
90
w = 10
N = 493 , c = 434 , f P = 3107
90
w 90 * N
⇒ P90 = LP + ( − c)
90
f P 100
90
10
= 220 + (443.7 − 434)
31
= 223.13
22
Introduction to Statistics Lecture notes
The range is the largest score minus the smallest score. It is a quick and dirty
measure of variability, although when a test is given back to students they
very often wish to know the range of scores. Because the range is greatly
affected by extreme scores, it may give a distorted picture of the scores. The
following two distributions have the same range, 13, yet appear to differ
greatly in the amount of variability.
23
Introduction to Statistics Lecture notes
Distribution 1: 32 35 36 36 37 38 40 42 42 43 43 45
Distribution 2: 32 32 33 33 33 34 34 34 34 34 35 45
For this reason, among others, the range is not the most important measure
of variability.
24
Introduction to Statistics Lecture notes
The inter quartile range is the difference between the third and the first
quartiles of a set of items and semi-inter quartile range is half of the inter
quartile range.
Q3 − Q1
Q.D =
2
Coefficient of Quartile Deviation (C.Q.D)
(Q3 − Q1 2 2 * Q.D Q3 − Q1
C. Q.D = = =
(Q3 + Q1 ) 2 Q3 + Q1 Q3 + Q1
¾ It gives the average amount by which the two quartiles differ from the
median.
Example: Compute Q.D and its coefficient for the following distribution.
Values Frequency
140- 150 17
150- 160 29
160- 170 42
170- 180 72
180- 190 84
190- 200 107
200- 210 49
210- 220 34
220- 230 31
230- 240 16
240- 250 12
25
Introduction to Statistics Lecture notes
Solutions:
In the previous chapter we have obtained the values of all quartiles as:
Q1= 174.90, Q2= 190.23, Q3=203.83
Q3 − Q1 203.83 − 174.90
⇒ Q.D = = = 14.47
2 2
2 * Q.D 2 *14.47
C.Q.D = = = 0.076
Q3 + Q1 203.83 + 174.90
Remark: Q.D or C.Q.D includes only the middle 50% of the observation.
The mean deviation of a set of items is defined as the arithmetic mean of the
values of the absolute deviations from a given average. Depending up on the
type of averages used we have different mean deviations.
a) Mean Deviation about the mean
• Denoted by M.D( X ) and given by
n
∑ Xi − X
M .D ( X ) = i =1
n
• For the case of frequency distribution it is given as:
k
∑ fi X i − X
M .D ( X ) = i =1
n
26
Introduction to Statistics Lecture notes
n ~
~
∑ Xi − X
M .D ( X ) = i =1
n
• For the case of frequency distribution it is given as:
k ~
~
∑ fi X i − X
M .D ( X ) = i =1
n
~
Steps to calculate M.D ( X ):
~
1. Find the median, X
~
2. Find the deviations of each reading from X .
3. Find the arithmetic mean of the deviations, ignoring sign.
n
∑ X i − Xˆ
M . D ( Xˆ ) = i =1
n
k
∑ f i X i − Xˆ
M . D ( Xˆ ) = i =1
n
27
Introduction to Statistics Lecture notes
Examples:
1. The following are the number of visit made by ten mothers to the local
doctor’s surgery. 8, 6, 5, 5, 7, 4, 5, 9, 7, 4
Find mean deviation about mean, median and mode.
Solutions:
First calculate the three averages
~
X = 6, X = 5.5, Xˆ = 5
10
∑ X i − 6) 14
⇒ M .D ( X ) = i =1
= = 1 .4
10 10
10
~
∑ X i − 5 .5 14
M .D ( X ) = i =1
= = 1 .4
10 10
10
∑ X i − 5) 14
M . D ( Xˆ ) = i =1
= = 1 .4
10 10
28
Introduction to Statistics Lecture notes
2. Find mean deviation about mean, median and mode for the following
distributions.(exercise)
Class Frequency
40-44 7
45-49 10
50-54 22
55-59 15
60-64 12
65-69 6
70-74 3
M .D
C.M .D =
Average about which deviations are taken
M .D( X )
⇒ C.M .D( X ) =
X
~
~ M .D ( X )
C.M .D( X ) = ~
X
M .D ( Xˆ )
C.M .D( Xˆ ) =
Xˆ
Example: calculate the C.M.D about the mean, median and mode for the
data in example 1 above.
Solutions:
M .D
C.M .D =
Average about which deviations are taken
29
Introduction to Statistics Lecture notes
M .D( X ) 1.4
⇒ C.M .D( X ) = = = 0.233
X 6
~
~ M .D ( X ) 1.4
C.M .D( X ) = ~ = = 0.255
X 5.5
M .D ( Xˆ ) 1.4
C.M .D ( X ) =
ˆ = = 0.28
Xˆ 5
Exercise: Identify the merits and demerits of Mean Deviation
The Variance
Population Variance
If we divide the variation by the number of values in the population, we
get something called the population variance. This variance is the "average
squared deviation from the mean".
1
Population Varince = σ 2 = ∑ ( X i − μ ) 2 , i = 1,2,.....N
N
For the case of frequency distribution it is expressed as:
1
Population Varince = σ 2 = ∑ f i ( X i − μ ) 2 , i = 1,2,.....k
N
Sample Variance
1
Sample Varince = S 2 = ∑ ( X i − X ) 2 , i = 1,2,....., n
n −1
For the case of frequency distribution it is expressed as:
30
Introduction to Statistics Lecture notes
1
Sample Varince = S 2 = ∑ f i ( X i − X ) 2 , i = 1,2,.....k
n −1
We usually use the following short cut formula.
n
∑ X i − nX 2
2
There is a problem with variances. Recall that the deviations were squared.
That means that the units were also squared. To get the units back the same
as the original data values, the square root must be taken.
Examples: Find the variance and standard deviation of the following sample data
1. 5, 17, 12, 10.
2. The data is given in the form of frequency distribution.
31
Introduction to Statistics Lecture notes
Class Frequency
40-44 7
45-49 10
50-54 22
55-59 15
60-64 12
65-69 6
70-74 3
Solutions:
1. X = 11
Xi 5 10 12 17 Total
(Xi- X ) 2 36 1 1 36 74
n
∑ ( X i − X )2 74
⇒ S 2 = i =1 = = 24.67.
n −1 3
⇒ S = S 2 = 24.67 = 4.97.
2. X = 55
Xi(C.M) 42 47 52 57 62 67 72 Total
fi(Xi- X ) 2 1183 640 198 60 588 864 867 4400
n
∑ fi ( X i − X )2 4400
⇒ S 2 = i =1 = = 59.46.
n −1 74
⇒ S = S 2 = 59.46 = 7.71.
32
Introduction to Statistics Lecture notes
1.
∑ ( X i − X )2 < ∑ ( X i − A) 2 , A ≠ X
n −1 n −1
2. For normal (symmetric distribution the following holds.
3. Chebyshev's Theorem
For any data set ,no matter what the pattern of variation, the proportion
of the values that fall with in k standard deviations of the mean or
1
( X − kS , X + kS ) will be at least 1 − , where k is an number greater
k2
than 1. i.e. the proportion of items falling beyond k standard deviations of
1
the mean is at most
k2
Example: Suppose a distribution has mean 50 and standard deviation
6.What percent of the numbers are:
a) Between 38 and 62
b) Between 32 and 68
c) Less than 38 or more than 62.
d) Less than 32 or more than 68.
Solutions:
a) 38 and 62 are at equal distance from the mean,50 and this distance is 12
⇒ ks = 12
12 12
⇒k= = =2
S 6
1
Î Applying the above theorem at least (1 − ) *100% = 75% of the numbers lie
k2
between 38 and 62.
33
Introduction to Statistics Lecture notes
b) Similarly done.
1
c) It is just the complement of a) i.e. at most *100% = 25% of the
k2
numbers lie less than 32 or more than 62.
d) Similarly done.
Example 2:
The average score of a special test of knowledge of wood refinishing has
a mean of 53 and standard deviation of 6. Find the range of values in which
at least 75% the scores will lie. (Exercise)
34
Introduction to Statistics Lecture notes
Solutions:
Calculate coefficient of variation for both firms.
SA 10
C.VA = *100 = *100 = 19.05%
XA 52.5
S 11
C.VB = B *100 = *100 = 23.16%
XB 47.5
Since C.VA < C.VB, in firm B there is greater variability in individual wages.
B
City 1 25 24 23 26 17
City2 22 21 24 22 20
City3 32 27 35 24 28
Which city have the most consistent temperature, based on these data?
(Exercise)
35
Introduction to Statistics Lecture notes
X −μ
Z= , for population.
σ
X−X
Z= , for sample
S
• Z gives the deviations from the mean in units of standard deviation
• Z gives the number of standard deviation a particular observation
lie above or below the mean.
• It is used to compare two observations coming from different
groups.
Examples:
1. Two sections were given introduction to statistics examinations. The
following information was given.
Solutions:
Calculate the standard score of both students.
X A − X 1 90 − 78
ZA = = =2
S1 6
X B − X 2 95 − 90
ZB = = =1
S2 5
Î Student A performed better relative to his section because the score of
student A is two standard deviation above the mean score of his section
while, the score of student B is only one standard deviation above the mean
score of his section.
36
Introduction to Statistics Lecture notes
2. Two groups of people were trained to perform a certain task and tested to
find out which group is faster to learn the task. For the two groups the
following information was given:
Solutions:
a) Use coefficient of variation.
S1 1.2
C.V1 = *100 = *100 = 11.54%
X1 10.4
S 1.3
C.V2 = 2 *100 = *100 = 10.92%
X2 11.9
Since C.V2 < C.V1, group 2 is more consistent.
b) Calculate the standard score of A and B
X A − X 1 9.2 − 10.4
ZA = = = −1
S1 1.2
X B − X 2 9.3 − 11.9
ZB = = = −2
S2 1.3
ÎChild B is faster because the time taken by child B is two standard
deviation shorter than the average time taken by group 2 while, the time
taken by child A is only one standard deviation shorter than the average time
taken by group 1.
37
Introduction to Statistics Lecture notes
Moments
- If X is a variable that assume the values X1, X2,…..,Xn then
1. The rth moment is defined as:
X + X 2 + ... + X n
r r r
X = 1
r
n
n
∑ Xi
r
= i =1
n
- For the case of frequency distribution this is expressed as:
k
∑ fi X i
r
X r = i =1
n
- If r = 1 ,it is the simple arithmetic mean, this is called the first moment.
2. The rth moment about the mean ( the rth central moment)
k
∑ fi ( X i − X )r
M r = i =1
n
- If r = 2 , it is population variance, this is called the second central
moment. If we assume n −1 ≈ n ,it is also the sample variance.
'
- Denoted by M r and
38
Introduction to Statistics Lecture notes
n n
∑ ( X i − A) r
∑
(n − 1) i =1
( X i − A) r
M r = i =1 =
'
n n n −1
- For the case of frequency distribution this is expressed as:
k
∑ f i ( X i − A) r
M r = i =1
'
n
Example:
1. Find the first two moments for the following set of numbers 2, 3, 7
2. Find the first three central moments of the numbers in problem 1
3. Find the third moment about the number 3 of the numbers in problem 1.
Solutions:
1. Use the rth moment formula.
n
∑ Xi
r
X r = i =1
n
2+3+ 7
⇒ X1 = =4= X
3
2 2 + 32 + 7 2
X =
2
= 20.67
3
2. Use the rth central moment formula.
n
∑ ( X i − X )r
M r = i =1
n
(2 − 4) + (3 − 4) + (7 − 4)
⇒ M1 = =0
3
(2 − 4) 2 + (3 − 4) 2 + (7 − 4) 2
M2 = = 4.67
3
(2 − 4)3 + (3 − 4)3 + (7 − 4)3
M3 = =6
3
39
Introduction to Statistics Lecture notes
n
∑ ( X i − A) r
M r = i =1
n
(2 − 3)3 + (3 − 3)3 + (7 − 3)3
⇒ M3 = = 21
'
3
Skewness
40
Introduction to Statistics Lecture notes
M3 M3 M3
α3 = = = , Where σ is the population s tan dard deviation.
M2
32
(σ 2 )3 2 σ 3
The shape of the curve is determined by the value of α 3
• If α 3 > 0 then the distributi on is positively skewed .
• If α 3 = 0 then the distributi on is symmetric.
• If α 3 < 0 then the distributi on is negatively skewed .
Remark:
o In a positively skewed distribution, smaller observations
are more frequent than larger observations. i.e. the
majority of the observations have a value below an
average.
o In a negatively skewed distribution, smaller observations
are less frequent than larger observations. i.e. the majority
of the observations have a value above an average.
Examples:
1. Suppose the mean, the mode, and the standard deviation of a certain
distribution are 32, 30.5 and 10 respectively. What is the shape of the
curve representing the distribution?
Solutions:
Use the Pearsonian coefficient of skewness
Mean − Mode 32 − 30.5
α3 = = = 0.15
S tan dard deviation 10
α 3 > 0 ⇒ The distribution is positively skewed .
2. In a frequency distribution, the coefficient of skewness based on the
quartiles is given to be 0.5. If the sum of the upper and lower quartile
is 28 and the median is 11, find the values of the upper and lower
quartiles.
41
Introduction to Statistics Lecture notes
Solutions:
~
Given: α 3 = 0.5, X = Q2 = 11 Required: Q1 ,Q3
Q1 + Q3 = 28...........................(*)
42
Introduction to Statistics Lecture notes
Kurtosis
M 4 162
α4 = 2
= 2 = 0.6 < 3
b) M2 16
⇒ The curve is platykurtic.
43
Introduction to Statistics Lecture notes
44