Lecture 7 - CH 5 (Describing Data With Graphs)
Lecture 7 - CH 5 (Describing Data With Graphs)
Introduction to Probability
and Statistics
Twelfth Edition
Chapter 5
Describing Data with Graphs
174
175
1
4/21/2022
Definitions
176
Example
• Variable
–Hair color
• Experimental unit
–Person
• Typical Measurements
–Brown, black, blonde, etc.
177 Dr Ahmed Kafafy-FCI Menoufia university.
177
2
4/21/2022
Example
• Variable
–Time until a
light bulb burns out
• Experimental unit
–Light bulb
• Typical Measurements
–1500 hours, 1535.5 hours, etc.
178 Dr Ahmed Kafafy-FCI Menoufia university.
178
179
3
4/21/2022
Types of Variables
Qualitative Quantitative
180
Types of Variables
181
4
4/21/2022
Types of Variables
182
Examples
183
5
4/21/2022
184
Example
• A bag of M&Ms contains 25 candies:
m m m m m m m m m m
• Raw Data:
m m m m m m m m m m
m m m m m
• Statistical Table:
Color Tally Frequency Relative Percent
Frequency
Red mmm 3 3/25 = .12 12%
Blue mmmmmm 6 6/25 = .24 24%
Green mm mm 4 4/25 = .16 16%
Orange mmmmm 5 5/25 = .20 20%
Brown mm m 3 3/25 = .12 12%
Yellow mmmm 4 4/25 = .16 16%
185 Dr Ahmed Kafafy-FCI Menoufia university.
185
6
4/21/2022
Graphs
6
Bar Chart
Frequency
0
Brown Yellow Red Blue Orange Green
Color
Green Brown
16.0% 12.0%
Yellow
Pie Chart
16.0%
Orange
20.0%
Red
12.0%
Blue
24.0%
186
costs $4.90 in 3
Switzerland, $2.90 in
2
the U.S. and $1.86 in
South Africa. 1
0
Switzerland U.S. South Africa
Country
187
7
4/21/2022
188
4 5 6 7
189
8
4/21/2022
190
Example
4 0 4 0
Reorder
5 5
6 580855 6 055588
7 000504050 7 000000455
8 8
9 05 9 05
191
9
4/21/2022
192
193
10
4/21/2022
No Outliers Outlier
194
Example
195
11
4/21/2022
196
197
12
4/21/2022
198
Example
The ages of 50 tenured faculty at a
state university.
• 34 48 70 63 52 52 35 50 37 43 53 43 52 44
• 42 31 36 48 43 26 58 62 49 34 48 53 39 45
• 34 59 34 66 40 59 36 41 35 36 62 34 38 28
• 43 50 30 43 32 44 58 53
199
13
4/21/2022
14/50
12/50
Relative frequency
10/50
8/50
6/50
4/50
2/50
0
25 33 41 49 57 65 73
Ages
200
14/50
12/50
Relative frequency
8/50
6/50
4/50
2/50
Outliers? No.
What proportion of the (14 + 5)/50 = 19/50 = .38
tenured faculty are younger
than 41?
What is the probability that a (8 + 7 + 2)/50 = 17/50 = .34
randomly selected faculty
member is 49 or older?
201 Dr Ahmed Kafafy-FCI Menoufia university.
201
14
4/21/2022
Key Concepts
I. How Data Are Generated
1. Experimental units, variables, measurements
2. Samples and populations
3. Univariate, bivariate, and multivariate data
II. Types of Variables
1. Qualitative or categorical
2. Quantitative
a. Discrete
b. Continuous
III. Graphs for Univariate Data Distributions
1. Qualitative or categorical data
a. Pie charts
b. Bar charts
202
Key Concepts
2. Quantitative data
a. Pie and bar charts
b. Line charts
c. Dotplots
d. Stem and leaf plots
e. Relative frequency histograms
3. Describing data distributions
a. Shapes—symmetric, skewed left, skewed right,
unimodal, bimodal
b. Proportion of measurements in certain intervals
c. Outliers
203
15