29
Establishing Cause and Effect from Data Jason McFall, Causata

Establishing Cause and Effect from Data Jason McFall, Causata

Embed Size (px)

Citation preview

Page 1: Establishing Cause and Effect from Data Jason McFall, Causata

Establishing Cause and Effect from DataJason McFall, Causata

Page 2: Establishing Cause and Effect from Data Jason McFall, Causata
Page 3: Establishing Cause and Effect from Data Jason McFall, Causata

Use temporal informationCauses precede effects

Page 4: Establishing Cause and Effect from Data Jason McFall, Causata

Granger causality

W XP

U

Does wage inflation lead to price inflation, or vice versa?

Page 5: Establishing Cause and Effect from Data Jason McFall, Causata

WebsiteSession

WebsiteSession

WebsiteSession

Call CenterQuestion

Loyalty CardPromo Email

Loyalty CardSign Up

Major Product Purchase in Store

Store all the detail, in time order

Page 6: Establishing Cause and Effect from Data Jason McFall, Causata
Page 7: Establishing Cause and Effect from Data Jason McFall, Causata

filter customer journeystime

Page 8: Establishing Cause and Effect from Data Jason McFall, Causata

filter customer journeysalignrelative timetime

before after

Page 9: Establishing Cause and Effect from Data Jason McFall, Causata

Build models

Page 10: Establishing Cause and Effect from Data Jason McFall, Causata

U

XPXW

Im

G

IR

T

D

BP

Bayesian networksAnalysing observational data is hard

Page 11: Establishing Cause and Effect from Data Jason McFall, Causata

ExperimentPut the science into data science

Page 12: Establishing Cause and Effect from Data Jason McFall, Causata

INTERVENTION

CONTROL

Split population randomly into two groups

Measure outcomes for both groups

Randomised Controlled Trials

Page 13: Establishing Cause and Effect from Data Jason McFall, Causata

Renewal rate

vsRENEW

your 12 month virus protection

SAVE 25%

Renew your 12 month

virus protection

Page 14: Establishing Cause and Effect from Data Jason McFall, Causata

Randomise

Page 15: Establishing Cause and Effect from Data Jason McFall, Causata

Concurrent control

Page 16: Establishing Cause and Effect from Data Jason McFall, Causata

badscience.net

Page 17: Establishing Cause and Effect from Data Jason McFall, Causata

Bandit algorithmsIncluding random exploration

Page 18: Establishing Cause and Effect from Data Jason McFall, Causata

confi

denti

al

response rate

Regulated exploration/exploitation

Page 19: Establishing Cause and Effect from Data Jason McFall, Causata

Lorem Ipsum

Page 20: Establishing Cause and Effect from Data Jason McFall, Causata
Page 21: Establishing Cause and Effect from Data Jason McFall, Causata
Page 22: Establishing Cause and Effect from Data Jason McFall, Causata

Click on ad Acquire new customer

Retain Customer

Measure the right thing!

Page 23: Establishing Cause and Effect from Data Jason McFall, Causata
Page 24: Establishing Cause and Effect from Data Jason McFall, Causata

Credit: Flickr winnifredxoxo

Beware of bias

Page 25: Establishing Cause and Effect from Data Jason McFall, Causata

Beware of bias

Page 26: Establishing Cause and Effect from Data Jason McFall, Causata

Confirmation bias

Page 27: Establishing Cause and Effect from Data Jason McFall, Causata
Page 28: Establishing Cause and Effect from Data Jason McFall, Causata

Analysing observational data is HARD. It’s often much easier to do experiments!

Randomise

Use concurrent controls

Be alert to bias

Summary

1

2

3

4

Page 29: Establishing Cause and Effect from Data Jason McFall, Causata

Thankyou