02.2 Graphical Summary Techniques
02.2 Graphical Summary Techniques
Techniques
Glyzel Grace M. Francisco
STAT2205 – Introduction to Biostatistics
2nd Semester, 2020-2021
2. Boxplots
3. Histogram
4. Scatterplot
Example 1:
83, 72, 73, 65, 65, 95, 70, 50, 100, 88,
87, 13, 92, 35, 56, 8, 40, 23, 39, 45
Example 2:
Example 3:
Female scores: 76, 45, 58, 79, 82, 63, 76, 72, 58, 13, 45, 90, 72, 65, 70
Male scores: 56, 34, 72, 89, 15, 97, 45, 34, 72, 65, 98, 12, 26, 64, 54
Interquartile Range
Outlier (IQR) Outliers
whisker whisker
Minimum/ Maximum/
Lower Fence Median Upper Fence
𝑸𝟏 𝑸𝟑
(𝑸𝟏 − 1.5 ∗ IQR) (25th Percentile) (75th Percentile) (𝑸𝟑 + 1.5 ∗ IQR)
50 50 𝟐𝟑𝒓𝒅 + 𝟐𝟒𝒕𝒉
𝐿= 𝑥𝑁 = 𝑥46 = 23 𝟐
100 100
1 5 5 6 8 10 12 13 14 15
15 17 18 18 18 18 18 20 24 25
23rd 24th
26 26 data 26 26 data
27 28 31 31 34 37
37 37 39 40 40 41 41 42 43 44
44 46 46 47 49 50
GGMFRANCISCO STAT2205 – INTRODUCTION TO BIOSTATISTICS | 17
DEPARTMENT of
STATISTICS Steps in Constructing a Boxplot
3. 3rd quartile
𝑄3 = 𝑃75
75 75 35th
𝐿= 𝑥𝑁 = 𝑥46 = 34.5 ≈ 35 data
𝑸𝟑 =40
100 100
1 5 5 6 8 10 12 13 14 15
15 17 18 18 18 18 18 20 24 25
26 26 26 26 27 28 31 31 34 37
35th
37 37 39 40 40 data
41 41 42 43 44
44 46 46 47 49 50
GGMFRANCISCO STAT2205 – INTRODUCTION TO BIOSTATISTICS | 18
DEPARTMENT of
STATISTICS Steps in Constructing a Boxplot
4. Interquartile range
IQR = 𝑄3 − 𝑄1
IQR = 40 − 17
IQR = 23
𝐹𝐿 = 𝑄1 − 1.5𝑥𝐼𝑄𝑅 𝐹𝑈 = 𝑄3 + 1.5𝑥𝐼𝑄𝑅
𝐹𝐿 = 17 − 1.5𝑥23 𝐹𝐿 = 40 + 1.5𝑥23
𝐹𝐿 = −17.5 𝐹𝐿 = 74.5
GGMFRANCISCO STAT2205 – INTRODUCTION TO BIOSTATISTICS | 19
DEPARTMENT of
STATISTICS Steps in Constructing a Boxplot
1 5 5 6 8 10 12 13 14 15 𝑄1 = 17
15 17 18 18 18 18 18 20 24 25 𝑄2 = 26
26 26 26 26 27 28 31 31 34 37 𝑄3 = 40
37 37 39 40 40 41 41 42 43 44 𝐹𝐿 = −17.5
44 46 46 47 49 50 𝐹𝑈 = 74.5
2. Construct a rectangle with one end at the first quartile and the
other end at the third quartile.
−𝟏𝟕. 𝟓 𝟏𝟕 𝟐𝟔 𝟒𝟎 74.𝟓
Observations:
• Median is not exactly at the middle of the rectangle
• no possible outliers
Frquency
37.6 30.3 10.2 45.6 4
3
36.5 21.4 37.3 36.5
2
45.3 35.6 31.2 43.1
1
0
0-10.0 10.1-20.0 20.1-30.0 30.1-40.0 40.1-50.0 50.1-60.0
Customer wait time in minutes
In this example, each dot shows one person's weight versus their height
Temperature
57 60 64 65 68 71 74 77
(Fahrenheit)
Number off Chirps
18 20 21 23 27 30 34 39
(in 15 seconds)