Professional Documents
Culture Documents
Raini Hassan
Office: C2 - 14, Level 2, KICT Building
Department: Computer Science, Level 4, KICT Building
Email: hrai@iium.edu.my Phone no: 03-61965655
Semester I 2016/2017
Semester I 2016/2017
Chapter 02/Lecture 01
Frequency Distributions
and Graphs
Frequency Distributions
and Graphs
CHAPTER
Outline
2-1 Organizing Data
2-2 Histograms, Frequency Polygons, and Ogives
2-3 Other Types of Graphs
Copyright 2015 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Learning Objectives
1
2
3
Copyright 2015 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction
When conducting a statistical study, the researcher
must gather data for the particular variable under
study.
To describe situations, draw conclusions, or make
inferences about events, the researcher must organize
the data in some meaningful way frequency
distribution.
After organizing the data, the researcher must present
them so they can be understood by those who will
benefit the study statistical charts and graphs.
Semester I 2016/2017
Chapter 2
Frequency Distributions and
Graphs
Section 2-1
Example 2-1
Page #43
Semester I 2016/2017
Raw Data:
A,B,B,AB,O
O,O,B,AB,B
B,B,O,A,O
A,O,O,O,AB
AB,A,O,B,A
Semester I 2016/2017
Semester I 2016/2017
B,B,O,A,O
Semester I 2016/2017
Class width is 7;
found from 31
24 = 7
Semester I 2016/2017
Class width is 7;
found from 30.5
23.5 = 7
Semester I 2016/2017
Semester I 2016/2017
Semester I 2016/2017
Semester I 2016/2017
Second formula:
Semester I 2016/2017
Semester I 2016/2017
Semester I 2016/2017
frequency
There
should
be
Semester I 2016/2017
classes
to
Semester I 2016/2017
Chapter 2
Frequency Distributions and
Graphs
Section 2-1
Example 2-2
Page #47
Semester I 2016/2017
Semester I 2016/2017
100
118
112
108
113
127
117
114
110
120
120
116
115
121
117
134
118
118
113
105
118
122
117
120
110
Semester I 2016/2017
105
114
118
119
118
110
114
122
111
112
109
105
106
104
114
112
109
110
111
114
The
Class
Boundaries
Frequency
99.5 - 104.5
104.5 - 109.5
109.5 - 114.5
114.5 - 119.5
119.5 - 124.5
124.5 - 129.5
129.5 - 134.5
Semester I 2016/2017
Cumulative
Frequency
Class
Boundaries
Frequency
99.5 - 104.5
104.5 - 109.5
109.5 - 114.5
114.5 - 119.5
119.5 - 124.5
124.5 - 129.5
129.5 - 134.5
2
8
18
13
7
1
1
Semester I 2016/2017
Cumulative
Frequency
Class
Boundaries
Frequency
Cumulative
Frequency
99.5 - 104.5
104.5 - 109.5
109.5 - 114.5
114.5 - 119.5
119.5 - 124.5
124.5 - 129.5
129.5 - 134.5
2
8
18
13
7
1
1
2
10
28
41
48
49
50
Semester I 2016/2017
Chapter 2
Frequency Distributions and
Graphs
Section 2-1
Example 2-3
Page #49
Semester I 2016/2017
Semester I 2016/2017
Semester I 2016/2017
Semester I 2016/2017
Semester I 2016/2017
Semester I 2016/2017
Summary of 2-1
3 different types of frequency distributions were
shown:
Summary of 2-1
The third type of distribution is used for numerical
data and when the range of data is small, as shown
in Example 23. Since each class is only one unit,
this distribution is called an ungrouped frequency
distribution.
Semester I 2016/2017
Summary of 2-1
The reasons for constructing a frequency distribution are as
follows:
To organize the data in a meaningful, intelligible way.
To enable the reader to determine the nature or shape of
the distribution.
To facilitate computational procedures for measures of
average and spread (shown in Sections 31 and 32).
To enable the researcher to draw charts and graphs for the
presentation of data (shown in Section 22).
To enable the reader to make comparisons among different
data sets.
Semester I 2016/2017
Exercises 2 -1
Semester I 2016/2017
Exercises 2 -1
Semester I 2016/2017
Exercises 2 -1
Semester I 2016/2017
Exercises 2 -1
Limits
54 - 62
63 - 71
72 - 80
81 - 89
90 - 98
99 - 107
108 - 116
Boundaries
53.5 - 62.5
62.5 - 71.5
71.5 - 80.5
80.5 - 89.5
89.5 - 98.5
98.5 - 107.5
107.5 - 116.5
cf
Less than 53.5 0
Less than 62.5 7
Less than 71.5 13
Less than 80.5 21
Less than 89.5 25
Less than 98.5 26
Less than 107.5 29
Less than 116.5 30
Semester I 2016/2017
f
7
6
8
4
1
3
1
30
2. Frequency Polygon
3. Cumulative Frequency Polygon (Ogive
pronounced o-jive)
Semester I 2016/2017
Semester I 2016/2017
Chapter 2
Frequency Distributions and Graphs
Section 2-2
Example 2-4
Page #57
Semester I 2016/2017
Histograms
Construct a histogram to represent the data for
the record high temperatures for each of the 50
states (see Example 22 for the data).
112
110
107
116
120
100
118
112
108
113
127
117
114
110
120
120
116
115
121
117
134
118
118
113
105
118
122
117
120
110
Semester I 2016/2017
105
114
118
119
118
110
114
122
111
112
109
105
106
104
114
112
109
110
111
114
Histograms
Histograms use class boundaries and
frequencies of the classes.
Class
Limits
100 - 104
105 - 109
110 - 114
115 - 119
120 - 124
125 - 129
130 - 134
Class
Boundaries
99.5 - 104.5
104.5 - 109.5
109.5 - 114.5
114.5 - 119.5
119.5 - 124.5
124.5 - 129.5
129.5 - 134.5
Semester I 2016/2017
Frequency
2
8
18
13
7
1
1
Histograms
Histograms use class boundaries and
frequencies of the classes.
Semester I 2016/2017
Chapter 2
Frequency Distributions and Graphs
Section 2-2
Example 2-5
Page #58
Semester I 2016/2017
Frequency Polygons
Construct a frequency polygon to represent the
data for the record high temperatures for each
of the 50 states (see Example 22 for the data).
112
110
107
116
120
100
118
112
108
113
127
117
114
110
120
120
116
115
121
117
134
118
118
113
105
118
122
117
120
110
Semester I 2016/2017
105
114
118
119
118
110
114
122
111
112
109
105
106
104
114
112
109
110
111
114
Frequency Polygons
Frequency polygons use class midpoints and
frequencies of the classes.
Class Limits
100 - 104
105 - 109
110 - 114
115 - 119
120 - 124
125 - 129
130 - 134
Class
Midpoints
102
107
112
117
122
127
132
Semester I 2016/2017
Frequency
2
8
18
13
7
1
1
Frequency Polygons
Frequency polygons use class midpoints and
frequencies of the classes.
A frequency polygon
is anchored on the
x-axis before the first
class and after the
last class.
Semester I 2016/2017
Semester I 2016/2017
Chapter 2
Frequency Distributions and Graphs
Section 2-2
Example 2-6
Page #59
Semester I 2016/2017
Ogives
Construct an ogive to represent the data for
the record high temperatures for each of the
50 states (see Example 22 for the data).
112
110
107
116
120
100
118
112
108
113
127
117
114
110
120
120
116
115
121
117
134
118
118
113
105
118
122
117
120
110
Semester I 2016/2017
105
114
118
119
118
110
114
122
111
112
109
105
106
104
114
112
109
110
111
114
Ogives
Ogives use upper class boundaries and
cumulative frequencies of the classes.
Class
Limits
100 - 104
105 - 109
110 - 114
115 - 119
120 - 124
125 - 129
130 - 134
Class
Boundaries
99.5 - 104.5
104.5 - 109.5
109.5 - 114.5
114.5 - 119.5
119.5 - 124.5
124.5 - 129.5
129.5 - 134.5
Cumulative
Frequency
Frequency
Semester I 2016/2017
2
8
18
13
7
1
1
2
10
28
41
48
49
50
Ogives
Ogives use upper class boundaries and
cumulative frequencies of the classes.
Class Boundaries
Cumulative
Frequency
2
10
28
41
48
49
50
Ogives
Ogives use upper class boundaries and
cumulative frequencies of the classes.
Semester I 2016/2017
Step 1
Step 2
Step 3
Step 4
Chapter 2
Frequency Distributions and
Graphs
Section 2-2
Example 2-7
Page #61
Semester I 2016/2017
Semester I 2016/2017
Histograms
The following is a frequency distribution of miles
run per week by 20 selected runners.
Class
Frequency
Boundaries
5.5 - 10.5
1
10.5 - 15.5
2
15.5 - 20.5
3
20.5 - 25.5
5
25.5 - 30.5
4
30.5 - 35.5
3
35.5 - 40.5
2
f = 20
Relative
Frequency
1/20 = 0.05
2/20 = 0.10
3/20 = 0.15
5/20 = 0.25
4/20 = 0.20
3/20 = 0.15
2/20 = 0.10
rf = 1.00
Semester I 2016/2017
Divide each
frequency by
the total
frequency to
get the
relative
frequency.
Histograms
Use the class boundaries and the relative
frequencies of the classes.
Semester I 2016/2017
Frequency Polygons
The following is a frequency distribution of miles
run per week by 20 selected runners.
Class
Boundaries
5.5 - 10.5
10.5 - 15.5
15.5 - 20.5
20.5 - 25.5
25.5 - 30.5
30.5 - 35.5
35.5 - 40.5
Class
Midpoints
8
13
18
23
28
33
38
Semester I 2016/2017
Relative
Frequency
0.05
0.10
0.15
0.25
0.20
0.15
0.10
Frequency Polygons
Use the class midpoints and the relative
frequencies of the classes.
Semester I 2016/2017
Ogives
The following is a frequency distribution of miles
run per week by 20 selected runners.
Class
Frequency
Boundaries
5.5 - 10.5
1
10.5 - 15.5
2
15.5 - 20.5
3
20.5 - 25.5
5
25.5 - 30.5
4
30.5 - 35.5
3
35.5 - 40.5
2
f = 20
Cumulative
Frequency
1
3
6
11
15
18
20
Semester I 2016/2017
Cum. Rel.
Frequency
1/20 = 0.05
3/20 = 0.15
6/20 = 0.30
11/20 = 0.55
15/20 = 0.75
18/20 = 0.90
20/20 = 1.00
Ogives
Ogives use upper class boundaries and
cumulative frequencies of the classes.
Class Boundaries
Cum. Rel.
Frequency
0.05
0.15
0.30
0.55
0.75
0.90
1.00
Ogives
Use the upper class boundaries and the
cumulative relative frequencies.
Semester I 2016/2017