sp5 1
sp5 1
sp5 1
Dispersion
Quartiles
Quartiles are the values that divide a list of numbers into quarters:
Put the list of numbers in order
Then cut the list into four equal parts
The Quartiles are at the "cuts"
• Range:
• It is defined as, it is the difference of highest and lowest observation in the
data.
• Example: Find the range from the following soil compaction data.
• 1, 4, 9, 12, 45, 89, 90, 40, 22, 79, 98, 103, 104, 99, 30, 87, , 9, 12, 45, 89, 90,
40, 22, 79, 98, 103, 104, 103, 104, 99, 30, 87, , 9, 12, 45, 89, 90.
• Solution.
• Highest value = 104
• Lowest value = 1
• Range = H.V – L.V = 104 – 1 = 103 ans.
Quartiles
The values that divide the data set into 4 equal parts after it has been arranged in ascending order are
called quartiles.
Example:
This are the same data as before, but this tim eit's split into quartes:
• The "Interquartile Range" is from Q1 to Q3:
• The Interquartile Range is:
• Q3 − Q1 = 7 − 4 = 3
• Quartiles for ungrouped data
• Quartiles are the values of arranged data which divide whole data
into four equal parts. They are 3 in numbers namely Q1, Q2 and Q3.
Here Q1 is first quartile, Q2 is second quartile and Q3 is third quartile.
• The formula for ith quartile is
• Qi= Value of (i(n+1)4)th observation, i=1,2,3
• where n is the total number of observations.
• Example 1
• A random sample of 15 patients yielded the following data on the length of
stay (in days) in the hospital.
• 5, 6, 9, 10, 15, 10, 14, 12, 10, 13, 13, 9, 8, 10, 12.
• Find quartiles.
• Solution
• The formula for ith quartile is
•=9
• Thus, 25 % of the patients had length of stay in the hospital less than or equal
to 9 days.
• Second Quartile Q2
• The second quartile Q2 can be computed as follows:
• =10
• Thus, 50 % of the patients had length of stay in the hospital less than or equal
to 10 days.
• Third Quartile Q3
• The third quartile Q3 can be computed as follows:
• Thus, 75 % of the patients had length of stay in the hospital less than or equal
to 13 days.
• Example 2
• Blood sugar level (in mg/dl) of a sample of 20 patients admitted to the hospitals
are as follows:
• 75,89,72,78,87, 85, 73, 75, 97, 87, 84, 76,73,79,99,86,83,76,78,73.
• Find the value of Q1, Q2 and Q3.
• Mean Deviation: (action of doing something)
• It is the arithmetic mean of absolute values of all observations from their
mean. All observations are taken positive because it is the property of
arithmetic mean that the algebraic sum of the deviation from their mean is
zero.
• Suppose the observations x1, x2,…,xn have a mean then mean deviation is
defined as,
• where
• Example: Find the mean deviation from the following data.
C – I (%) 88-91 92-95 96-99 100-103 104-107
Frequency 5 8 12 10 11
• Solution.
C- I (%) f Mid point x ()
88-91 5 89.5 9.217 46.08
92-95 8 93.5 5.217 41.73
96-99 12 97.5 1.217 14.60
100-103 10 101.5 2.783 27.83
104-107 11 105.5 6.783 74.61
Sum 46 204.85
• Standard Deviation
• The most satisfactory measure of dispersion is the standard deviation which is
always calculated from mean and represented by Greek letter ( sigma). In the
calculation of standard deviation the sign disappears as the number are squared.
Standard deviation is the positive square root of the sum of the squares of
deviations of the variables from their mean divided by total number of
observations.
• Solution.
C- I (%) f Mid point x ()
88-91 5 89.5 9.217 424.76
92-95 8 93.5 5.217 217.73
96-99 12 97.5 1.217 17.77
100-103 10 101.5 2.783 77.45
104-107 11 105.5 6.783 506.09
Sum 46 1243.8
• Coefficient of Variance (C.V)
0-49 18 7
50-99 12 13
100-149 30 31
150-199 35 41
200-249 15 8
• Solution.
• In which city the residence have low variation in their consumption of
electricity.
• Calculation for city A
C- I f x fx