Measures of Dispersion Tendency
Measures of Dispersion Tendency
1-Range
— Simplest measure of variation
— Difference between the largest and the smallest observations:
Example:
2-Mean Deviation
MEAN DEVIATION The arithmetic mean of the absolute values of the deviations from the arithmetic mean.
— A shortcoming of the range is that it is based on only two values, the highest and the lowest;
it does not take into consideration all of the values.
— The mean deviation does. It measures the mean amount by which the values in a
population, or sample, vary from their mean
𝚺|𝒙−𝒙|
Mean deviation MD =
𝒏
Example:
The number of cappuccinos sold at the Starbucks location in the Orange County Airport between
4 and 7 p.m. for a sample of 5 days last year were 20, 40, 50, 60, and 80. Determine the mean
deviation for the number of cappuccinos sold.
Step 1: Compute the mean
x
x 20 40 50 60 80 50
n 5
-21-
Step 2: Subtract the mean (50) from each of the observations, convert to positive if
difference is negative
Step 3: Sum the absolute differences found in step 2 then divide by the number of
observations
-22-
variance
( X ) 2 ( X X ) 2
2 s2
N n 1 Degree of freedom
Example:
The time between an electric light stimulus and a bar press to avoid a shock was noted for each of five
conditioned rats. Use the data below to compute the sample variance.
Shock avoidance times (seconds): 5,4,3,1,3
Solution
The deviations and the squared deviations are shown below. The sample mean is 3.2
Using the total of the squared deviations column, we find the sample variance to be
( X X ) 2 8.8
s2 2.2
n 1 4
Standard deviation
[definition]
Standard deviation is the positive square root of the variance.
The value of the standard deviation tells how closely the values of a data set are clustered around
the mean.
[symbol]
( X X ) 2
S
n 1
Sample standard deviation S
-23-
Properties
– It is the best measurement describing the variability of quantitative variable, which can
reflect the variability of any data.
– Only when the data come from normal distribution, can it be used.
The first quartile, Q1, is the value for which 25% of the observations are smaller and
75% are larger
Q2 is the same as the median (50% are smaller, 50% are larger)
Only 25% of the observations are greater than the third quartile
Quartile Formulas
Find a quartile by determining the value in the appropriate position in the ranked data,
where
First quartile position: Q1 = 0.25(n+1)
Second quartile position: Q2 = 0.50(n+1)
(the median position)
Third quartile position: Q3 = 0.75(n+1)
where n is the number of observed values
Example: Find the first quartile
Sample Ranked Data: 11 12 13 16 16 17 18 21 22
(n = 9)
Q1 = is in the 0.25(9+1) = 2.5 position of the ranked data
so use the value half way between the 2nd and 3rd values, so Q1 = 12.5
-24-
Interquartile Range
The interquartile range is the distance between the third quartile Q3 (P75) and the first
quartile Q1 (P25) .
This distance will include the middle 50 percent of the observations.
Interquartile range = Q3 - Q1
Example
The following are the ages of nine employees of an insurance company:
47 28 39 51 33 37 59 24 33
a) Find the values of the three quartiles. Where does the age of 28 fall in relation to the
ages of the employees?
b) Find the interquartile range.
Solution
-25-
Example
The following data are the incomes (in thousands of dollars) for a sample of 12 households.
35 29 44 72 34 64 41 50 54 104 39 58
Construct a box-and-whisker plot for these data.
Solution
Step 1.
29 34 35 39 41 44 50 54 58 64 72 104
Median = (44 + 50) / 2 = 47
Q1 = (35 + 39) / 2 = 37
Q3 = (58 + 64) / 2 = 61
IQR = Q3 – Q1 = 61 – 37 = 24
Step 2.
1.5 x IQR = 1.5 x 24 = 36
Lower inner fence = Q1 – 36 = 37 – 36 = 1
Upper inner fence = Q3 + 36 = 61 + 36 = 97
s
CV 100%
X
We need a measure of the relative variation that will not depend on either the units or on how
large the values are. This measure is the coefficient of variation (C.V.) which is defined by:
s
CV 100% OR
X
The relative variability in the 1st data set is larger than the relative variability in the 2nd data set if
C.V1> C.V2 (and vice versa).
-26-
Example
One doctor measured the heights and weights of 50 people, the outcome is
Height : X 165cm, S 8.5cm
Weight : X 64kg, S 7kg
Coefficient of Skewness
Example:
The following data for a sample of 12 households.
Q1=37 , Q2= 47 , Q3=61
Find: 1- Coefficient of Variation
2- Coefficient of Skewness
Solution