Professional Documents
Culture Documents
DESCRIPTIVE STATISTICS
WEEK 1
Learning Objectives:
At the end of the lesson, students should be able to:
42
28
45
52
76
56
56
39
57
56
41
64
37
65
90
63
72
43
83
73
26
59
76
68
34
37
17
73
52
26
66
45
64
84
57
92
56
51
91
41
16
29
60
64
56
Stem-and-Leaf Display
17
30
39
43
51
56
59
64
73
84
26
34
40
45
52
56
60
65
73
90
26
35
41
45
52
56
63
66
76
91
28
37
41
45
56
57
64
68
76
92
67
6689
045779
011235559
12266666779
03444568
23366
34
012
2. Histogram:
A bar graph representing a frequency distribution of a
quantitative variable.A histogram is made up of the following
components. Histograms are used to summarize large data sets.
Age
Freq.
Rel. Freq.
18
20
0.20
19
24
0.24
20
26
0.26
21
18
0.18
22
0.05
23
0.03
24
0.02
25
0.02
Sum 100
1.00
3. Box plot:
a graphical display that simultaneously describes several
important features of a data set:
center
Spread
departure from symmetry
identification of outliers
a box plot displays the median, the first quartile and the third
quartiles on a rectangular box, aligned either horizontally or
vertically.
sometimes called box whiskers plot.
x (1) x 2 x ( n )
1
x ( n ) x ( n 1)
~
2
2
x 2
x ( n1 )
2
if n is even
if n is odd.
7.8
4.6
3.7
9.2
12.1
-5
-2.5
10.8
7.8
4.6
3.7
9.2
12.1
-5
-2.5
10.8
-2.5
0.3
3.7
4.6
7.8
1
x ( n ) x ( n 1)
~
2
2
x 2
x ( n1 )
2
9.2
10.8 12.1
if n is even
if n is odd.
-2.3 2.6
3.6
1.4
6.9
4.3
8.4
2.8
-2.3 2.6
3.6
1.4
6.9
4.3
8.4
2.8
1
x ( n ) x ( n 1)
~
2
2
x 2
x ( n1 )
2
if n is even
if n is odd.
Percentile:
Measure of central tendency that divide a group
of data into 100 parts.
Nth percentile:
LQ (Q1) is 25 percentile
Median (Q2) is 50 percentile
UP (Q3) is 75 percentile
25 percentile = Q1
At least 25% of the data lie between the 25th
percentile and at most (75)% of the data lie above the
25th percentile
0.75(n+1) = 0.75(12) = 9
Q1 = x(3) = 0.4,
Q3 = x(9) = 12.1,
and IQR = 12.1 0.4 = 11.7
0.75(n+1)=0.75(13) = 9.75
9.8
10.2
10.8
12.5
14 16.4
18.7
n=10,
0.25(n+1) = 0.25(11)=2.75;
0.75(n+1)=0.75(11) = 8.25
Example 2
The following cold start ignition time of an automobile
engine obtained for a test vehicle are as follows:
1.75 1.92 2.62 2.35 3.09 3.15 2.53 1.91
a) Calculate the sample median, the quartiles and the IQR
b) Construct a box plot of the data.
Solution:
Rank the n = 8 measurements from smallest to largest
1.75 1.91 1.92 2.35 2.53 2.62 3.09 3.15
1
~
x ( xn / 2 xn / 2 1 )
2
1
1
~
x ( x4 x5 ) (2.35 2.53) 2.44
2
2
Solution:
1.75
1.91
1.92
Lower quartile:
2.35
2.53
2.62
3.09
3.15
Max: 3.15
1.5IQR
Q3 = 2.9725
Q2 = 2.44
IQR = 1.06
Q1 = 1.9125
Min: 1.75
1.5IQR
0.3225
Example 3
Suppose that the ages of thirty UTP students live in village 2 are follow:
18, 20, 21, 26, 24, 19, 25, 20, 22, 21,
19, 24, 25, 28, 24, 20, 26, 20, 35, 17,
18, 24, 20, 21, 22, 27, 25, 28, 27, 24.
a) Calculate the sample median, the quartiles and the IQR
b) Construct a box plot of the data.
Solution:
Step 1: Place the number in order from smallest to the largest
17, 18, 18, 19, 19, 20, 20, 20, 20, 20,
21, 21, 21, 22, 22, 24, 24, 24, 24, 24,
25, 25, 25, 25, 26, 26, 27, 27, 28, 35.
Step 2: The median, Q2 , the lower quartile, Q1, the upper quartile, Q3, and
the IQR are:
Q1 = X7+0.75(X8 - X7 ) = 20 + 0.75(20-20) = 20
17
28
o35 outlier
Q1 =20
Q2 =23
Q3=25.25
12.125.<1.5IQR>< ------------..IQR=5.25--------------><1.5IQR>.33.125
QUIZ 1
79, 53, 82, 91, 87, 98, 80, 93
Lower quartile:
QUIZ 1
The following data are given as follows:
82
79
53
91
87
98
93
80