Descriptive Statistics: Numerical
Descriptive Statistics: Numerical
Median
Variance
Mode
Standard Deviation
Coefficient of Variation
x i
x i1
n
Arithmetic Midpoint of Most frequently
average ranked values observed value
xx1 x 2 x N
i Population
μ
i1
values
N N
Population size
x i
x1 x 2 x n Observed
x i1
values
n n
Sample size
Prepared by Dr. Md. Israt Rayhan
Arithmetic Mean
(continued)
0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10
Mean = 3 Mean = 4
1 2 3 4 5 15 1 2 3 4 10 20
3 4
5 5 5 5
0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10
Median = 3 Median = 3
n 1
Median position position in the ordered data
2
If the number of values is odd, the median is the middle number
If the number of values is even, the median is the average of
the two middle numbers
n 1
Note that is not the value of the median, only the
2
position of the median in the ranked data
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 1 2 3 4 5 6
No Mode
Mode = 9
Prepared by Dr. Md. Israt Rayhan
Which measure of location
is the “best”?
Example:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Range = 14 - 1 = 13
σ 2 i 1
N
Where μ = population mean
N = population size
xi = ith value of the variable x
Prepared by Dr. Md. Israt Rayhan
Sample Variance
s
2 i1
n -1
Where X = arithmetic mean
n = sample size
Xi = ith value of the variable X
Prepared by Dr. Md. Israt Rayhan
Population Standard Deviation
Most commonly used measure of variation
Shows variation about the mean
Has the same units as the original data
i
(x μ) 2
σ i 1
N
Prepared by Dr. Md. Israt Rayhan
Sample Standard Deviation
Most commonly used measure of variation
Shows variation about the mean
Has the same units as the original data
i
Sample standard deviation:
(x x) 2
S i1
n -1
s
CV 100%
x
Prepared by Dr. Md. Israt Rayhan
Comparing Coefficient
of Variation
Stock A:
Average price last year = $50
Standard deviation = $5
s $5
CVA 100% 100% 10%
x $50 Both stocks
Stock B: have the same
standard
Average price last year = $100 deviation, but
stock B is less
Standard deviation = $5 variable relative
to its price
s $5
CVB 100% 100% 5%
x $100
Prepared by Dr. Md. Israt Rayhan
Approximations for Grouped Data
Suppose a data set contains values m1, m2, . . ., mk,
occurring with frequencies f1, f2, . . . fK
fimi where
K
N fi
μ i1 i1
N
For a sample of n observations, the mean is
K
fm i i
where
K
n fi
x i1
i1
n
Prepared by Dr. Md. Israt Rayhan