Week 7 - Data Intelligence PDF
Week 7 - Data Intelligence PDF
Week 7
Data Intelligence
1
Learning Objectives
• Master basic Excel skills, in particular PivotTable
• Perform descriptive analytics
• Develop data visualization
2
Basic Analytics Steps
Model or
Data Descriptive Data
Data Input Processing Statistics Visualization
Report Output Presentation
Generation
3
Every analytics project starts with
questions
4
Understanding of your data set
Categorical Variable
• Also known as Qualitative Variable
• Example: Gender, Occupation
Numerical Variable
• Also known as Quantitative Variable
• Example: Salary
5
Excel Function
• countifs
6
Answering Q1.
•How are sales transactions distributed among
regions?
7
Describing Categorical Data
70
Male
60
50
40
Male MidWest
30 Female NorthEast
West
20 South
10
0
MidWest NorthEast West South
8
Practice
9
Describing Numerical Data
Standard Error
153.818
4.868652
Median 126.72
Mode 113.95
Kurtosis 0.774828
Skewness 1.093076
Range 478.19
Minimum 6.82
Maximum 485.01
Sum 61527.21
Count 400
10
Numerical vs Categorical
11
Excel Function
• averageifs
12
Answering Q2.
• On average, which gender spends more, male or
female?
• Find out the gender-specific average spending (total cost)
• Find out region variability in average spending
13
Multi-Objective Visualization
• Combo Chart
14
Answering Q3
15
Finding Relationship
16
Pivot Table
• An interactive worksheet table that
• Provides a powerful tool for summarizing large amount of
data;
• Calculates totals, averages, counts, percentages, etc. based
on any numeric fields in your table;
• Generates charts on summarized information
17
Flexible
Visible
Pivot Interactive
Table
Dynamic
18
Data Preparation
19
Fundamentals of Pivot Table
Construct Pivot Table
Arrange Data
Calculate Data
20
Fundamentals of Pivot Table
Construct Pivot Table
Arrange Data
Calculate Data
21
Arranging Data
22
Construct a Pivot table
• Place mouse cursor inside the region of data.
• Choose “Insert | Pivot Table” from the menu bar.
23
Data fields for selection
Filtering factor
Fields to be
placed in rows Values to be summarised
24
Practice
25
Fundamentals of Pivot Table
Construct Pivot Table
Arrange Data
Calculate Data
26
Calculate Data
27
Change field setting
28
Multiple Calculations
29
Practice
30
Summarize by count
31
Answering Q4
32
Fundamentals of Pivot Table
Construct Pivot Table
Arrange Data
Calculate Data
33
Formatting Table
34
Show value as
35
Grouping
36
Grouping
37
Grouping by value
38
Grouping by value
39
Fundamentals of Pivot Table
Construct Pivot Table
Arrange Data
Calculate Data
40
Pivot Chart
41
Take-home Message
42