Using Graphs To Describe Data
Using Graphs To Describe Data
Chapter 1
Examples:
Population Sample
Example:
Suppose you wish to sample n = 9 items from a
population of N = 72.
j = N / n = 72 / 9 = 8
◼ Inferential statistics
◼ Using data to make predictions, forecasts, and
estimates to assist decision making
◼ Present data
◼ e.g., Tables and graphs
◼ Summarize data
◼ e.g., Sample mean =
X i
◼ Estimation
◼ e.g., Estimate the population
Data
Categorical Numerical
Examples:
◼ Marital Status
◼ Are you registered to Discrete Continuous
vote?
◼ Eye Color Examples: Examples:
(Defined categories or ◼ Number of Children ◼ Weight
groups) ◼ Defects per hour ◼ Voltage
(Counted items) (Measured characteristics)
Differences between
measurements, true Ratio Data
zero exists
Quantitative Data
Differences between
measurements but no Interval Data
true zero
Ordered Categories
(rankings, order, or Ordinal Data
scaling)
Qualitative Data
Categories (no
ordering or direction) Nominal Data
Copyright © 2013 Pearson Education Ch. 1-16
1.3-
Graphical
1.5 Presentation of Data
◼ Graph
Categorical Numerical
Variables Variables
Categorical
Data
Frequency
Distribution Bar Pie Pareto
Table Chart Chart Diagram
Hospital Number
Unit of Patients
2000
1000
0
Cardiac
Emergency
Intensive
Surgery
Maternity
Care
Care
Copyright © 2013 Pearson Education Ch. 1-28
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)
Copyright © 2013 Pearson Education Ch. 1-29
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%
Copyright © 2013 Pearson Education Ch. 1-32
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
Numerical Data
Histogram Ogive
data:
24, 35, 17, 21, 24, 37, 26, 46, 58, 30,
32, 13, 12, 38, 41, 43, 44, 27, 53, 27
◼ 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
Copyright © 2013 Pearson Education Ch. 1-42
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 1010 2020 30 30 40 40 50 50 60 60 70
bars) Temperature in Degrees
Copyright © 2013 Pearson Education Ch. 1-44
Histograms in Excel
1
Select Data Tab 2
Click on Data Analysis
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
with gaps from empty classes 2
1.5
4
8
12
16
20
24
28
32
36
40
44
48
52
56
60
More
Temperature
10
◼ may compress variation too much and
Frequency
8
variation. 0
0 30 60 More
Temperature
(X axis labels are upper class endpoints)
Cumulative Cumulative
Class Frequency Percentage
Frequency Percentage
Stem Leaf
◼ 613 would become 6 1
◼ 776 would become 7 8
◼ ...
◼ 1224 becomes 12 2
…
W.Va. 525 513
Wis. 581 594
Wyo. 548 546
Copyright © 2013 Pearson Education Ch. 1-57
Scatter Diagrams in Excel