Lecture 2 A - Describing Data-Graphical-New PDF
Lecture 2 A - Describing Data-Graphical-New PDF
Quantitative Methods
By Handema M.
Section Goals
Graph
Categorical Numerical
Variables Variables
Frequency
Distribution Bar Pie Pareto
Table Chart Chart Diagram
The Frequency
Distribution Table
Summarize data by category
Hospital Number
Unit of Patients
2000
1000
0
Cardiac
Surgery
Emergency
Maternity
Intensive
Care
Care
Pie Chart Example
Hospital Number % of
Unit of Patients Total
Hospital Patients by Unit
Cardiac Care 1,052 11.93
Emergency 2,245 25.46 Cardiac Care
12%
Intensive Care 340 3.86
Maternity 552 6.26
Surgery 4,630 52.50
Emergency
Surgery 25%
53%
Intensive Care
(Percentages 4%
are rounded to Maternity
the nearest 6%
percent)
Pareto Diagram
Source of
Manufacturing Error Number of defects % of Total Defects
Poor Alignment 223 55.75
Paint Flaw 78 19.50
Bad Weld 34 8.50
Missing Part 25 6.25
Cracked case 21 5.25
Electrical Short 19 4.75
Total 400 100%
Pareto Diagram Example
(continued)
Step 3: Show results graphically
Pareto Diagram: Cause of Manufacturing Defect
60% 100%
% of defects in each category
90%
70%
(bar graph)
40%
60%
30% 50%
40%
20%
30%
20%
10%
10%
0% 0%
Poor Alignment Paint Flaw Bad Weld Missing Part Cracked case Electrical Short
Graphs for Time-Series Data
A line chart (time-series plot) is used to show
the values of a variable over time
350
300
Thousands of subscribers
250
200
150
100
50
0
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
Graphs to Describe
Numerical Variables
Numerical Data
Histogram Ogive
Frequency Distributions
24, 35, 17, 21, 24, 37, 26, 46, 58, 30,
32, 13, 12, 38, 41, 43, 44, 27, 53, 27
Frequency Distribution
Example
(continued)
Find range: 58 - 12 = 46
Select number of classes: 5 (usually between 5 and 15)
Compute interval width: 10 (46/5 then round up)
Relative
Interval Frequency Percentage
Frequency
10 but less than 20 3 .15 15
20 but less than 30 6 .30 30
30 but less than 40 5 .25 25
40 but less than 50 4 .20 20
50 but less than 60 2 .10 10
Total 20 1.00 100
Histogram
Interval Frequency
Histogram : Daily High Tem perature
10 but less than 20 3
20 but less than 30 6 7 6
30 but less than 40 5
40 but less than 50 4
6 5
50 but less than 60 2 5 4
Frequency
4 3
3 2
2
1 0 0
(No gaps 0
between 0 0 10 10 2020 30 30 40 40 50 50 60 60 70
bars) Temperature in Degrees
Histograms in Excel
1
Select Data Tab 2
Click on Data Analysis
Histograms in Excel
(continued)
3
Choose Histogram
(
Input data range and bin
range (bin range is a cell
4 range containing the upper
interval endpoints for each class
grouping)
Frequency
2
empty classes 1.5
1
4
8
12
16
20
24
28
32
36
40
44
48
52
56
60
More
Temperature
classes
12
Frequency
8
0
distribution 0 30 60 More
Temperature
of variation.
The Cumulative
Frequency Distribuiton
Data in ordered array:
12, 13, 17, 21, 24, 24, 26, 27, 27, 30, 32, 35, 37, 38, 41, 43, 44, 46, 53, 58
Cumulative Cumulative
Class Frequency Percentage
Frequency Percentage
Stem Leaf
613 would become 6 1
776 would become 7 8
...
1224 becomes 12 2
Using other stem units
(continued)
Categorical Numerical
(Qualitative) (Quantitative)
Variables Variables
29 146
150
33 160
38 167 100
42 170 50
50 188
0
55 195
0 10 20 30 40 50 60 70
60 200
Volume per Day
Types of Relationships
Linear Relationships
Y Y
X X
Types of Relationships
(continued)
Curvilinear Relationships
Y Y
X X
Types of Relationships
(continued)
No Relationship
Y Y
X X
Section Summary
S a vin g s
CD
B onds
S toc k s
0 10 20 30 40 50 60
In ve s t o r A In ve s t o r B In ve s t o r C
Side-by-Side Chart Example
Sales by quarter for three sales territories:
1st Qtr 2nd Qtr 3rd Qtr 4th Qtr
East 20.4 27.4 59 20.4
West 30.6 38.6 34.6 31.6
North 45.9 46.9 45 43.9
60
50
40
East
30 West
North
20
10
0
1st Qtr 2nd Qtr 3rd Qtr 4th Qtr
Data Presentation Errors