Professional Documents
Culture Documents
mk5144 Digital Metrics 3
mk5144 Digital Metrics 3
Digital Marketing
Metrics & Analytics
University
ofGalway.ie
1
The quality of the previous video
University
University
ofGalway.ie
ofGalway.ie
2
Unit 3
1. The assignment Q&A
2. The fundamental statistical
concepts in digital metrics &
analytics
3. Linear regression for digital
metrics & analytics
4. Linear regression in Jamovi
University
University
ofGalway.ie
ofGalway.ie
3
University
ofGalway.ie Today University
ofGalway.ie
4
The assignment #1
University
University
ofGalway.ie
ofGalway.ie
5
Assignment #1 is a group assignment worth 40% of the final
grade.
You will present (10 minutes) on February 9th after the lunch
break.
University
University
ofGalway.ie
ofGalway.ie
11
Last week, you have learned about dozens of digital metrics
University
University
ofGalway.ie
ofGalway.ie
13
Have you
ever flown
with
RyanAir?
University
University
ofGalway.ie
ofGalway.ie
14
150 mln. + passengers in 2023
200+ destinations
500+ aircraft
University
University
ofGalway.ie
ofGalway.ie
16
Solution to this problem: Sampling some customers, and
estimating (customers’) parameters (e.g., their satisfaction,
loyalty)
University
University
ofGalway.ie
ofGalway.ie
17
Statistics: collection, analysis, interpretation &
presentation of data
University
University
ofGalway.ie
ofGalway.ie
18
The key marketing analytics terms
University
University
ofGalway.ie
ofGalway.ie
19
When we do not need statistics?
(Very) few customers, little data
University
University
ofGalway.ie
ofGalway.ie
20
How does
RyanAir
perform
sampling?
University
University
ofGalway.ie
ofGalway.ie
21
Sampling methods:
Cluster Sampling: The population is divided into clusters (like areas or schools),
and entire clusters are randomly selected for sampling. It's cost-effective for
large, dispersed populations.
University
University
ofGalway.ie
ofGalway.ie
22
Sampling methods:
University
University
ofGalway.ie
ofGalway.ie
24
Source:
Google
Analytics
(Demo
account,
Merchandise
Store)
University
University
ofGalway.ie
ofGalway.ie
25
Measurement:
data recording
Dependent (outcome)
AND
Independent (predictor)
University
ofGalway.ie
Variables University
ofGalway.ie
26
How variables can be recorded: Levels of measurement*
*this refers to both, dependent and independent variables
University
University
ofGalway.ie
ofGalway.ie
27
Nominal scales
University
University
ofGalway.ie
ofGalway.ie
28
Nominal scales
Other
ofGalway.ie examples?
University
University
ofGalway.ie
29
Ordinal scales
University
University
ofGalway.ie
ofGalway.ie
30
Ordinal scales
Other
ofGalway.ie examples?
University
University
ofGalway.ie
31
Interval scales
University
University
ofGalway.ie
ofGalway.ie
32
Interval scales
Other examples?
University
University
ofGalway.ie
ofGalway.ie
33
Ratio scales
University
University
ofGalway.ie
ofGalway.ie
34
Ratio scales
Other examples?
University
University
ofGalway.ie
ofGalway.ie
35
Let’s practise
University
University
ofGalway.ie
ofGalway.ie
36
Let’s practice
Population ?
Sample ?
Parameter ?
Statistic ?
Variable ?
Data ?
University
ofGalway.ie
University
ofGalway.ie
37
Let’s practice
University
University
ofGalway.ie
ofGalway.ie
38
Uncertainty and
decision-making
in marketing
(and daily life?)
University
University
ofGalway.ie
ofGalway.ie
39
Karl Pearson, 1857 – 1936
Source:
University https://en.wikipedia.org/wiki/Ka
rl_Pearson#/media/File:Karl_Pe University
ofGalway.ie
arson,_1912.jpg ofGalway.ie
40
Probability: the likelihood of a given event’s occurrence
(usually expressed from 0 = impossible to 1 = certain)
University
University
ofGalway.ie
ofGalway.ie
41
A marketer might calculate the probability of customers
responding to an email campaign based on historical data. If
past campaigns had a 20% response rate, the probability of a
customer responding to a future email is 0.20.
University
University
ofGalway.ie
ofGalway.ie
46
Before you dive into regression analysis... (or
Assignment #1)
University
University
ofGalway.ie
ofGalway.ie
47
Formulating hypotheses
5. Define the variables. Clearly define the variables in your hypothesis, including their
operational definitions. This will help you measure and compare the variables in your
study.
Identify the independent and dependent variables. Determine which variable you will
manipulate (independent variable) and which variable you will measure (dependent variable).
6. State the predicted relationship between the variables. In your hypothesis, state your
prediction about the relationship between the independent and dependent variables.
University
University
ofGalway.ie
ofGalway.ie
52
How to test
whether H1 is
likely to be true?
University
University
ofGalway.ie
ofGalway.ie
53
Source:
University
https://en.wikipedia.org/wiki/Normal_distribution#/me University
ofGalway.ie
dia/File:Standard_deviation_diagram_micro.svg ofGalway.ie
54
Definition of P-Value
University
University
ofGalway.ie
ofGalway.ie
60
Interpretation:
Compared to
AI-generated ‘vintage’
and ‘natural’ labels,
customers are willing
to pay (WTP) less for
‘unlabeled’ wine
[1.85$ less]
University [but that’s a complexUniversity
model,
ofGalway.ie
so it’s not that easy :)]
ofGalway.ie
61
Additional videos on hypothesis testing:
Intro to Hypothesis Testing in Statistics - Hypothesis Testing Statistics Problems & Examples
What Is A P-Value? - Clearly Explained
Hypothesis Testing Problems - Z Test & T Statistics - One & Two Tailed Tests 2
University
University
ofGalway.ie
ofGalway.ie
63
Regression analysis is a way of estimating the relationship
between an independent (X, predictor, explanatory variable)
and a dependent (Y, outcome) variable.
Formula:
Y = mx + b
Y = dependent variable value
x = predictor variable value
m = slope (how steep the line is)
b = the Y Intercept (the point where Y axis is crossed by the line)
University
University
ofGalway.ie
ofGalway.ie
64
Source:
https://www.mathsisfu
n.com/data/least-squar
es-regression.html
University
University
ofGalway.ie
ofGalway.ie
65
In Ordinary Least
Squares (OLS)
regression, an
"error" refers to the
difference between
the observed values
of the dependent
variable and the
values predicted by
Source:
the regression https://www.mathsisfu
model. n.com/data/least-squar
es-regression.html
University
University
ofGalway.ie
ofGalway.ie
66
Example
This means that a customer A who spending 50 seconds will spend 50 * 0.13 +
(intercept at 0.07 EUR) = €6.57.
University
University
Customer
ofGalway.ie B spending 180 second will spend 180 * 0.13 + (intercept) = €23.47.ofGalway.ie
69
What OLS regression does not always tell us in the context of
digital metrics & analytics:
● Causality
● Data quality (biases, Mon. vs Fri. shopping patterns)
● Assumption of linear relationship
● Extrapolation (do you know anybody who is 4m tall?)
● Problems with multiple predictors (multicollinearity)
University
University
ofGalway.ie
ofGalway.ie
70
Linear regression in Jamovi
University
University
ofGalway.ie
ofGalway.ie
71
Why not Excel/SPSS?
Reproducibility (crisis): Excel spreadsheets can be difficult to
share and replicate, making it challenging to ensure data
integrity and reproducibility of results. R and Jamovi provide
comprehensive documentation and support reproducibility
through clear code syntax and well-defined functions.
Excel SPSS
R
University
ofGalway.ie Functionality / University
ofGalway.ie
Versatility
74
What is Jamovi?
University
University
ofGalway.ie
ofGalway.ie
75
● Jamovi is a free and open-source
graphical user interface (GUI) for R.
● It was developed by a team of researchers and
data scientists at the University of Konstanz in Germany.
● Jamovi aims to make R more accessible to users with less
programming experience.
● It provides a point-and-click interface for performing a variety of
statistical analyses, including linear regression, ANOVA, and
correlation (and more with additional libraries).
● Jamovi supports a wide range of R packages and can export results in
various formats, including PDF, Microsoft Word, and LaTeX.University
University
ofGalway.ie
ofGalway.ie
76
University
University
ofGalway.ie
ofGalway.ie
77
Source:
https://www.jamovi
.org/library.html
University
University
ofGalway.ie
ofGalway.ie
78
Linear regression in Jamovi
University
University
ofGalway.ie
ofGalway.ie
79
A sample dataset
University
University
ofGalway.ie
ofGalway.ie
80
What is in
data.csv file?
University
University
ofGalway.ie
ofGalway.ie
81
University
University
ofGalway.ie
ofGalway.ie
82
University
University
ofGalway.ie
ofGalway.ie
83
University
University
ofGalway.ie
ofGalway.ie
84
University
University
ofGalway.ie
ofGalway.ie
85
University
University
ofGalway.ie
ofGalway.ie
86
University
University
ofGalway.ie
ofGalway.ie
87
University
University
ofGalway.ie
ofGalway.ie
88
University
University
ofGalway.ie
ofGalway.ie
89
What data can you analyse this way?
University
University
ofGalway.ie
ofGalway.ie
91
1. Explore data.csv in Jamovi (https://www.jamovi.org/download.html)
2. Read Jamovi user guide (https://www.jamovi.org/user-manual.html)
3. Watch Simple Linear Regression in Jamovi (18 min.):
https://www.youtube.com/watch?v=RIJDJ49WEgw
4. Watch How to Use the Customer Satisfaction Score (CSAT) Metric (4 min.):
https://www.youtube.com/watch?v=8ANkDCHkjew
5. Watch Marketing Analytics: Predicting Customer Behavior Using Regression
(22 min.): https://www.youtube.com/watch?v=RBTqmEOCM_s
6. Keep
University working on group Assignment #1 University
ofGalway.ie
ofGalway.ie
92
Additional videos (especially for digital marketing students):
Questions/suggestions?
University
ofGalway.ie
95
96