L02 - Ch4 - Data Presentation
L02 - Ch4 - Data Presentation
Chapter 4:
Data Presentation
By Caleb Tan
Objectives
Calculate the following:
- arithmetic mean, median, mode,
- standard deviation, variance, quartiles, range and
interquartile range
Explain the use and limitations of the above quantities
Draw and interpret: histograms, stem-and-leaf diagrams,
boxplots and cumulative frequency distributions
Incorporate labels and titles correctly in your diagrams
and give the units you have used.
1
Data Presentation
Dot Plot (self-study)
Stem-and-Leaf Diagram
Histogram
2
Stem and Leaf Diagram
Example:
Note:
1. Title
2. Centre
3. Align
4. Gap
3
Histogram
To draw a Histogram, the first step is to
construct a frequency distribution table.
Histogram
SG Section 4.7.3
for Cumulative
Freq Density = Freq / Width Frequency
Diagram
4
Histogram
Vertical Axis is
Freq Density
Freq = Area
Horizontal Axis
is the Variable
38 50 54 60
39 51 56 61
40 51 56 62
41 52 57 64
44 52 57 64
45 52 57 64
48 52 58 65
48 54 59 65
49 54 59 66
50 54 60 67
10
5
Measures of Location
Mean
Median
Mode
11
Example:
32 28 67 39 19 48 32 44 37 24
Sample Mean,
12
6
Sample Median SG Section 4.8.2
• Median Position = (n + 1) / 2
Example:
19 24 28 32 32 37 39 44 48 67
13
Example:
19 24 28 32 32 37 39 44 48 67
Sample Mode = 32
14
7
Shape of Distribution (Skewness)
15
172.5 162.5 166.5 174.0 180.0 176.5 186.5 179.0 164.5 196.5
174.0 177.0 169.5 172.5 192.0 181.5 171.0 169.0 171.0 172.5
16
8
Measures of Spread
Range
Standard Deviation
Interquartile Range
17
Example:
32 28 67 39 19 48 32 44 37 24
Range = 67 – 19 = 48
18
9
Sample Standard Deviation
Sample Variance, s2 =
19
32 28 67 39 19 48 32 44 37 24
20
10
Sample Interquartile Range
SG Section 4.9.1
• Quartiles
Q1 Q2 Q3
Q1 position = (n+1)/4
Q2 position = 2(n+1)/4
Q3 position = 3(n+1)/4
21
19 24 28 32 32 37 39 44 48 67
IQR = 45 - 27 = 18
22
11
Class Activity 2.3
The following values represent the heights, in cm, of a random selection of
20 students:
162.5 164.5 166.5 169.0 169.5 171.0 171.0 172.5 172.5 172.5
174.0 174.0 176.5 177.0 179.0 180.0 181.5 186.5 192.0 196.5
IQR: 9.875
23
24
12
Boxplot
Example:
162.5 164.5 166.5 169.0 169.5 171.0 171.0 172.5 172.5 172.5
174.0 174.0 176.5 177.0 179.0 180.0 181.5 186.5 192.0 196.5
To find outliers:
◦ Q1 – 1.5(IQR) = 169.875 - (1.5)(9.875) = 155.0625
◦ Q3 + 1.5(IQR) = 179.75 + (1.5)(9.875) = 194.5625
25
Boxplot
Example:
162.5 164.5 166.5 169.0 169.5 171.0 171.0 172.5 172.5 172.5
174.0 174.0 176.5 177.0 179.0 180.0 181.5 186.5 192.0 196.5
26
13
Grouped Data
27
Homework
VLE Activities
28
14