Nothing HHHHHHH
Nothing HHHHHHH
Lecture 4:
Descriptive Measures.
stem Leaf
0 1 4 5 7 7 7 8
1 0 1 4 8
2 2 2 2 6 8
3 1 1 6 6 8
4 0 8
Data (sample):
31, 40, 1, 22, 22, 7, 4, 10, 18, 38
5, 8, 22, 14, 26, 48, 36, 31, 28, 7
36, 11, 7
Ordered Data:
1, 4, 5, 7, 7, 7, 8, 10, 11, 14, 18, 22, 22, 22, 26, 28,
31, 31, 36, 36, 38, 40, 48
sample size: n = 23
P
sum of x : x = 13768, sample mean: x̄ = 20.5217,
1/n
geometric mean: ( ni=1 xi ) = 14.9699
Q
This is indeed called the standard error for the sample mean.
To find median:
put data in increasing order. This means look at the ordered data. Then
If the sample size n is odd, then the median is the datum at the center of the ordered data.
If the sample size n is even, then the median is the average of the two values at the center
of the ordered data.
To Find Q1 : Find the median of the values that are to the left side of the median Q2 of
data.
Q2 is not included.
In Example 1, there are 11 values to the left side of Q2 = 22, and the median of these values
is Q1 = 7
To Find Q3 : Find the median of the values that are to the right side of the median Q2
of data; Q2 should not be included.
In Example 1, there are 11 values to the right side of Q2 = 22, and the median of these
values is Q3 = 31
Min is the smallest values in size, the first value in the ordered data.
In Example 1, min x = 1
Max is the largest values in size, the last value in the ordered data.
In Example 1, max x = 48
Box Plot: The five values Summary are nicely displayed by ”Box Plot”.
Put the five values on the horizontal axis, then build up a rectangle above the horizontal
axis, as follows.
Index 0
0 10 20 30 40 50
The Box-Plot gives a good picture on:
1- How data are spread, from min to max.
2- It shows if the distribution is symmetric, skewed to the right or skewed to the left.
Symmetric: The Box-plot is completely symmetric about Q2 . For symmetric distribution
always Q2 = x̄
Skewed to the right: The distribution has short left tail but long right tail. So Box-Plot is
condensed on left and is wide on right. For skewed to the right distribution, always Q2 > x̄
skewed to the left: The distribution has short right tail but long left tail. So Box-Plot is
condensed on right and is wide on left. For skewed to the right distribution, always Q2 < x̄
Percentile: We note that Q1 is the 25% lower percentile of data, and also 75% upper
percentile.
Also Q2 is the 50% lower percentile, lower or upper.
Also Q3 is the 75% lower and 25% upper percentile.
For any value γ between 0 to 100, one can locate the lower or upper percentile.