Professional Documents
Culture Documents
Outline
2-1 Introduction 2-2 Organizing Data 2-3 Histograms, Frequency Polygons, and Ogives 2-4 Other Types of Graphs
Objectives
Organize data using frequency distributions. Represent data in frequency distributions graphically using histograms, frequency polygons, and ogives.
The McGraw-Hill Companies, Inc., 2000
Objectives
Represent data using Pareto charts, time series graphs, and pie graphs.
When data are collected in original form, they are called raw data. When the raw data is organized into a frequency distribution, the frequency will be the number of values in a specific class of the distribution.
The McGraw-Hill Companies, Inc., 2000
A frequency distribution is the organizing of raw data in table form, using classes and frequencies. The following slide shows an example of a frequency distribution.
The McGraw-Hill Companies, Inc., 2000
2-7
Categorical frequency distributions can be used for data that can be placed in specific categories, such as nominal- or ordinal-level data. Examples - political affiliation, religious affiliation, blood type etc.
The McGraw-Hill Companies, Inc., 2000
2-8
Relative frequency
2-9
2-10
2-11
2-12
Class limits 24 - 30 31 - 37 38 - 44
Class Frequency Cumulative Boundaries frequency 23.5 - 30.5 30.5 - 37.5 37.5 - 44.5 4 14 7 4 18 25
2-13
2-14
The class boundaries are used to separate the classes so that there are no gaps in the frequency distribution. The lower class boundary of the first class is 23.5. The upper class boundary of the first class is 30.5
The McGraw-Hill Companies, Inc., 2000
2-15
Class midpoint is obtained by adding the lower and upper boundaries and dividing by 2, or adding the lower and upper limits and dividing by 2:
or
The midpoint of the first class with boat batteries is (24+30)/2 = 27 or (23.5+30.5)/2=27
The McGraw-Hill Companies, Inc., 2000
2-16
There should be between 5 and 20 classes. The class width should be an odd number. The classes must be mutually exclusive.
The McGraw-Hill Companies, Inc., 2000
2-17
The classes must be continuous. The classes must be exhaustive. The class must be equal in width.
2-18
Find the highest and lowest value. Find the range. Select the number of classes desired. Find the width by dividing the range by the number of classes and rounding up.
The McGraw-Hill Companies, Inc., 2000
2-19
Select a starting point (usually the lowest value); add the width to get the lower limits. Find the upper class limits. Find the boundaries. Tally the data, find the frequencies, and find the cumulative frequency.
The McGraw-Hill Companies, Inc., 2000
2-20
In a survey of 20 patients who smoked, the following data were obtained. Each value represents the number of cigarettes the patient smoked per day. Construct a frequency distribution using six classes. (The data is given on the next slide.)
The McGraw-Hill Companies, Inc., 2000
2-21
2-22
Step 1: Find the highest and lowest values: H = 22 and L = 5. Step 2: Find the range: R = H L = 22 5 = 17. Step 3: Select the number of classes desired. In this case it is equal to 6.
The McGraw-Hill Companies, Inc., 2000
2-23
Step 4: Find the class width by dividing the range by the number of classes. Width = 17/6 = 2.83. This value is rounded up to 3.
2-24
Step 5: Select a starting point for the lowest class limit. For convenience, this value is chosen to be 5, the smallest data value. The lower class limits will be 5, 8, 11, 14, 17, and 20.
The McGraw-Hill Companies, Inc., 2000
2-25
Step 6: The upper class limits will be 7, 10, 13, 16, 19, and 22. For example, the upper limit for the first class is computed as 8 - 1, etc.
2-26
Step 7: Find the class boundaries by subtracting 0.5 from each lower class limit and adding 0.5 to the upper class limit.
Step 8: Tally the data, write the numerical values for the tallies in the frequency column, and find the cumulative frequencies. The grouped frequency distribution is shown on the next slide.
The McGraw-Hill Companies, Inc., 2000
05 to 07 08 to 10 11 to 13 14 to 16 17 to 19 20 to 22
4.5 - 7.5 7.5 - 10.5 10.5 - 13.5 13.5 - 16.5 16.5 - 19.5 19.5 - 22.5
2 3 6 5 3 1
2 5 11 16 19 20
The McGraw-Hill Companies, Inc., 2000
The three most commonly used graphs in research are: The histogram. The frequency polygon. The cumulative frequency graph, or ogive (pronounced o-jive).
The McGraw-Hill Companies, Inc., 2000
The histogram is a graph that displays the data by using vertical bars of various heights to represent the frequencies.
Example of a Histogram
6 5
Frequency
N u m b e r o f C ig a re tte s S m o k e d p e r D a y
A frequency polygon is a graph that displays the data by using lines that connect points plotted for frequencies at the midpoint of classes. The frequencies represent the heights of the midpoints.
The McGraw-Hill Companies, Inc., 2000
Frequency
A cumulative frequency graph or ogive is a graph that represents the cumulative frequencies for the classes in a frequency distribution.
Example of an Ogive
Ogive
20
Cumulative Frequency
10
0 2 5 8 11 14 17 20 23 26
Pareto charts - a Pareto chart is used to represent a frequency distribution for a categorical variable.
When constructing a Pareto chart Make the bars the same width. Arrange the data from largest to smallest according to frequencies. Make the units that are used for the frequency equal in size.
The McGraw-Hill Companies, Inc., 2000
150 100 50 0
Defec t
Percent
Count
80
Time series graph - A time series graph represents data that occur over a specific period of time.
Y ear
The McGraw-Hill Companies, Inc., 2000
Pie graph - A pie graph is a circle that is divided into sections or wedges according to the percentage of frequencies in each category of the distribution.
It is a method of organizing data and is a combination of sorting and graphing. It has the advantage over grouped frequency distribution of retaining the actual data while showing them in graphic form.
Example
At an outpatient testing center, a sample of 20 days showed the following number of cardiograms done each day. Construct a stem and leaf plot for the data. 25 31 20 32 13 14 43 02 57 23 36 32 33 32 44 32 52 44 51 45
The McGraw-Hill Companies, Inc., 2000
Solution
Step 1: arrange the data in order: 02, 13, 14, 20, 23, 25, 31, 32, 32, 32, 32, 33, 36, 43, 44, 44, 45, 51, 52, 57 Step 2: separate the data according to the first digit, as shown. 02 13,14 20,23,25 31,32,32,32,32,33,36 43,44,44,45, 51,52,57
The McGraw-Hill Companies, Inc., 2000
Solution
Step 3: A display can be made by using the leading digit as a stem and the trailing digit as the leaf
Leading digit (stem) 0 1 2 3 4 5 Trailing digit (leaf) 2 3 4 0 3 5 1 2 2 2 2 3 6 3 4 4 5 1 2 7
The McGraw-Hill Companies, Inc., 2000