Professional Documents
Culture Documents
• Not all three are suitable to describe a distribution for ALL cases
Basic numerical representation
Draw the frequency histogram. Calculate the mean, median
and mode for the number of quarts of milk purchased by the
following 25 households:
0 0 1 1 1
1 1 2 2 2
2 2 2 2 2
2 3 3 3 3
3 4 4 4 5
x=
xi 55
= = 2.2
m=2 mode = 2
n 25
Extreme Value
• The mean is more easily affected by extremely large or small values
than the median.
• The median is often used as a measure of center when the
distribution is skewed.
Extreme Values (cont.)
Mean is often used as a measure of center when the distribution is symmetric.
1 3 2.5
2
2
3
1.5 4
2 5
1
0.5
0
Frequency
3 3
4 1
1 1 2.5
2
2
3
1.5 4
2 3
1
0.5
0
Frequency
3 5
4 3
R = 14 – 5 = 9
The Variance
• The variance is measure of variability that uses all the
measurements (as oppose to range R that uses only 2
measurements, maximum and minimum).
• It measures the average deviation of the measurements from
their mean.
• Flower petals: 5, 12, 6, 8, 14
45
x= =9
5 4 6 8 10 12 14
The Variance (cont.)
• The variance of a population of N measurements is the average of
the squared deviations of the measurements about their mean,
μ.
( x − ) 2
2 = i
N
• The variance of a sample of n measurements is the sum of the
squared deviations of the measurements about their mean,
divided by (n – 1).
( xi − x ) 2
s =
2
n −1
2 Ways to Calculate the Sample Variance
Use the Definition Formula:
xi xi − x ( xi − x ) 2 ( xi − x ) 2
5 -4 16
s =
2
n −1
12 3 9
6 -3 9 60
8 -1 1
= = 15
4
14 5 25
Sum 45 0 60 s = s 2 = 15 = 3.87
2 Ways to Calculate the Sample Variance (cont.)
Use the Calculation Formula:
( x ) 2
xi −
2 i
xi xi2 n
s =
2
5 25
n −1
12 144
452
6 36 465 −
8 64 = 5 = 15
14 196 4
Sum 45 465 s = s = 15 = 3.87
2
The Standard Deviation
2. Question: Eliminate the last observation x= 25 and then find the mean,
median and mode. How do these values compare with those found
using the full data set?
Solution: median = 5.5; mean = 55/10 = 5.5; modes = 5 and 6. The mean
is smaller.
2. the mean
Solution : Mean = 72 / 9 = 8
3. the variance
Solution : Variance = [588 – (722/9)] / 8 = 12 / 8 = 1.5