Presentation on theme: "Frequency Distributions and Graphs"— Presentation transcript:
1 Frequency Distributions and Graphs 2-1Chapter 2Frequency Distributions and Graphs
2 Outline 2-1 Introduction 2-2 Organizing Data 2-3 Histograms, Frequency Polygons, and Ogives2-4 Other Types of Graphs
3 Objectives Organize data using frequency distributions. 2-3Organize data using frequency distributions.Represent data in frequency distributions graphically using histograms, frequency polygons, and ogives.
4 Objectives2-4Represent data using Pareto charts, time series graphs, and pie graphs.
5 2-2 Organizing Data2-5When 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.
6 2-2 Organizing Data2-6A 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.
7 2-2 Three Types of Frequency Distributions 2-7Categorical 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.
8 2-2 Blood Type Frequency Distribution - Example 2-8
9 2-2 Ungrouped Frequency Distributions 2-9Ungrouped frequency distributions - can be used for data that can be enumerated and when the range of values in the data set is not large.Examples - number of miles your instructors have to travel from home to campus, number of girls in a 4-child family etc.
11 2-2 Grouped Frequency Distributions 2-11Grouped frequency distributions - can be used when the range of values in the data set is very large. The data must be grouped into classes that are more than one unit in width.Examples - the life of boat batteries in hours.
12 2-2 Lifetimes of Boat Batteries - Example 2-12ClassClassFrequencyCumulativelimitsBoundariesfrequency441418725
13 2-2 Terms Associated with a Grouped Frequency Distribution 2-13Class limits represent the smallest and largest data values that can be included in a class.In the lifetimes of boat batteries example, the values 24 and 30 of the first class are the class limits.The lower class limit is 24 and the upper class limit is 30.
14 2-2 Terms Associated with a Grouped Frequency Distribution 2-14The class boundaries are used to separate the classes so that there are no gaps in the frequency distribution.
15 2-2 Terms Associated with a Grouped Frequency Distribution 2-15The class width for a class in a frequency distribution is found by subtracting the lower (or upper) class limit of one class minus the lower (or upper) class limit of the previous class.
16 2-2 Guidelines for Constructing a Frequency Distribution 2-16There should be between 5 and 20 classes.The class width should be an odd number.The classes must be mutually exclusive.
17 2-2 Guidelines for Constructing a Frequency Distribution 2-17The classes must be continuous.The classes must be exhaustive.The class must be equal in width.
18 2-2 Procedure for Constructing a Grouped Frequency Distribution 2-18Find 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.
19 2-2 Procedure for Constructing a Grouped Frequency Distribution 2-19Select 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.
20 2-2 Grouped Frequency Distribution - Example 2-20In 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.)
21 2-2 Grouped Frequency Distribution - Example 2-21
22 2-2 Grouped Frequency Distribution - Example 2-22Step 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.
23 2-2 Grouped Frequency Distribution - Example 2-23Step 4: Find the class width by dividing the range by the number of classes. Width = 17/6 = This value is rounded up to 3.
24 2-2 Grouped Frequency Distribution - Example 2-24Step 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.
25 2-2 Grouped Frequency Distribution - Example 2-25Step 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.
26 2-2 Grouped Frequency Distribution - Example 2-26Step 7: Find the class boundaries by subtracting 0.5 from each lower class limit and adding 0.5 to the upper class limit.
27 2-2 Grouped Frequency Distribution - Example 2-27Step 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.
29 2-3 Histograms, Frequency Polygons, and Ogives 2-29The three most commonly used graphs in research are:The histogram.The frequency polygon.The cumulative frequency graph, or ogive (pronounced o-jive).
30 2-3 Histograms, Frequency Polygons, and Ogives 2-30The histogram is a graph that displays the data by using vertical bars of various heights to represent the frequencies.
31 Example of a Histogram 2-31 y c n e u q e r F N u m b e r o f C i g a 65ycn4euq3erF21581114172NumberofCigarettesSmokedperDay
32 2-3 Histograms, Frequency Polygons, and Ogives 2-32A 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.
33 Example of a Frequency Polygon 2-33Frequency Polygon65ycn4euq3erF2125811141722326NumberofCigarettesSmokedperDay
34 2-3 Histograms, Frequency Polygons, and Ogives 2-34A cumulative frequency graph or ogive is a graph that represents the cumulative frequencies for the classes in a frequency distribution.
36 2-4 Other Types of Graphs2-36Pareto charts - a Pareto chart is used to represent a frequency distribution for a categorical variable.
37 2-4 Other Types of Graphs-Pareto Chart 2-37When 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.
38 Example of a Pareto Chart 2-38HomicdeRbryapAssault1329465.8ParetoChartforthenumberofCrimesInvestigatedbyLawDefctCounPrm%Ement Officers in U.S. National Parks During 1995.
39 2-4 Other Types of Graphs2-39Time series graph - A time series graph represents data that occur over a specific period of time.
40 2-4 Other Types of Graphs - Time Series Graph 2-40PORTAUTHORITYTRANSITRIDERSHIP89)s87nolil85imn83(ip81ihsr79ediR77751991991199219931994Year
41 2-4 Other Types of Graphs2-41Pie 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.
42 2-4 Other Types of Graphs - Pie Graph 2-42Robbery (29, 12.1%)Pie Chart of the Number of Crimes Investigated by Law Enforcement Officers In U.S. National Parks During 1995Rape (34, 14.2%)Homicide (13, 5.4%)Assaults (164, 68.3%)