Week 6
Week 6
Week 6:
DATA PRESENTATION BY
NUMBERS
Outline
▪ Measures of Location
▪ Measures of Variability
▪ Other measures
Measures of Location
Measures of
Location
Central
Percentiles
Tendency
Mean Median
Mode
1
25-Oct-21
1. Central Tendency
▪ Mean
▪ Median
▪ Mode
Mean
Arithmetic Mean
xi xi
= x=
N n
Business Decision Making – Nguyen Minh Thu – [email protected]
2
25-Oct-21
Weight wi Value xi
σ xi wi where:
xത = xi = value of observation i
σ wi wi = weight for observation i
3
25-Oct-21
Geometric Mean
10
𝑅𝑒𝑣𝑖 110
𝐺𝑟𝑜𝑤𝑡ℎ 𝑓𝑎𝑐𝑡𝑜𝑟 𝑜𝑓 𝑅𝑒𝑣𝑒𝑛𝑢𝑒 = = = 1.1
𝑅𝑒𝑣𝑖−1 100
11
12
4
25-Oct-21
Geometric Mean
Example:
Year Growth factor of revenue (%)
2014 105.25
2015 105.42
2016 105.98
2017 106.68
2018 106.21
13
Geometric Mean
14
Exercise
The annual percentage returns (%) on two stocks over a 7-year period
were as follows:
Stock A Stock B
4.01 6.51
14.31 4.41
19.01 3.81
-14.69 6.91
-26.49 8.01
8.01 5.81
5.81 5.11
Compare the average annual returns on the two stocks. Which stock
has the higher returns after 7 years?
Business Decision Making – Nguyen Minh Thu – [email protected]
15
5
25-Oct-21
The Mean
16
Exercise
17
The Median
Lower
50%
Upper
50%
Median
Business Decision Making – Nguyen Minh Thu – [email protected]
18
6
25-Oct-21
The Median
Example:
• Data: { 5, 6, 9, 5, 6}
7+8
Median = = 7.5
2
19
Number of
GPA
students 6 7 7 8 8 8 9 9 9 9 9 9 9 10 10
6 1
7 2
Middle position
8 3 Me = 9
9 7
10 2
∑ 15
20
Me = xm+1 𝐱 𝐦 + 𝐱𝐦+𝟏
Me =
𝟐
Business Decision Making – Nguyen Minh Thu – [email protected]
21
7
25-Oct-21
Age Number
Number of
of users
users Si
10 – 20 33 3
20 – 30 77 10
30 – 40 18
18 28
40 – 50 20 48
50 – 60 12
12 60
Total 60
60
• Middle position?
• Group containing middle position
• Calculate the Median
• Meaning of Median?
22
The Median
23
The Mode
24
8
25-Oct-21
The Mode
• Qualitative Data
➢ Data: { Yellow, Yellow, Red, Blue, Green}
→ Mode is the category having the largest frequency
• Quantitative Data
➢ Data 1: { 5, 6, 6, 7, 7, 7, 9 }
➢ Data 2: { 5, 6, 7, 8, 9 }
➢ Data 3: { 5, 6, 9, 5, 6 }
➢ Data 4: { 5, 5, 5, 5, 5 }
→ Mode is the value having the largest frequency
There may be no mode or several modes
Business Decision Making – Nguyen Minh Thu – [email protected]
25
The Mode
Number of Number of
Age
GPA users
students
10 – 20 3
6 1
20 – 30 7
7 2
30 – 40 18
8 3
9 7 40 – 50 20
10 2 50 – 60 12
∑ 15 Total 60
26
Mean
Median
Mean < Median < Mode Mode Mode < Median < Mean
27
9
25-Oct-21
Skewness
n x −തx 3
➢ Sample: Skewness = σ i
(n−1)(n−2) S
28
Skewness
29
Kurtosis
30
10
25-Oct-21
Kurtosis
• Formula:
➢ Population:
➢ Sample:
1 x −μ 4
Kurtosis = σ i
n σ
31
Kurtosis
Kurtosis > 0
Kurtosis = 0
Kurtosis < 0
32
Percentiles
The pth percentile divides the data into two parts:
• Approximately p% of the observations are less than the p th
percentile
• Approximately (100 – p)% of the observations are greater than
the pth percentile
33
11
25-Oct-21
Percentiles
80% of people are shorter than you and your height is 1.85m
34
Percentiles
35
Percentiles
8 6500 000
000
10 8850
000
12 10000
000
ime in ours
0
0 5 0
• Estimate the 30th percentile
36
12
25-Oct-21
Percentiles
8 6500 000
000
10 8850
000
12 10000
000
ime in ours
0
0 5 0
• Estimate the 30th percentile
• Estimate what percentile of visitors had arrived after 11 hours
Business Decision Making – Nguyen Minh Thu – [email protected]
37
Quartiles
Q1 Q2 Q3
38
Exercise
39
13
25-Oct-21
Exercise
40
Exercise
41
14