36

Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months
Page 2: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Catherine Leigh

Fewer HiPPOs

More Lab Coats

Page 3: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Highest paid person’s opinion Data driven decisions

Page 4: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Change is a constant

Change is a constant

Page 5: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months
Page 6: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months
Page 7: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months
Page 8: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

2 months ago

Page 9: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Today

Page 10: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Some Examples

Page 11: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

BlockbusterReal world examples

Page 12: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Ford EdselReal world examples

Page 13: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Ford EdselReal world examples

Page 14: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

OJ SimpsonReal world examples

Page 15: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Probabilities can changeReal world examples

Page 16: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

OJ SimpsonReal world examples

Page 17: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Medicine

http://www.alzheimersresearchuk.org/

Real world examples

Page 18: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Where do you sit?

Bad Good

Misinterpretation

Getting it right

Ignoring data

No data

Page 19: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

How to Get it Right

Page 20: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Change is a constant

Change is a constant

Page 21: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis testing is a tool for managing uncertainty

Change is a constant

Page 22: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis generalisation:

H0: nothing is different(the null hypothesis)

H1: something is different(the alternative hypothesis)

Change is constant

Page 23: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with coins:

H0: this coin is unbiased (the null hypothesis)

H1: this coin is biased(the alternative hypothesis)

Change is constant

Page 24: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with coins:Change is constant

Page 25: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

If H0 was true, what is the chance of seeing a result this extreme?

Page 26: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with coins:Change is constant

> pbinom(9, size=20, prob=0.5) * 2[1] 0.8238029

Page 27: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with coins:Change is constant

> pbinom(9, size=20, prob=0.5) * 2[1] 0.8238029

82%

Page 28: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with an AB test:

H0: a new logo will not affect bounce rate*(the null hypothesis)

H1: a new logo will affect bounce rate(the alternative hypothesis)

Change is constant

Page 29: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with an AB test:Change is constant

Page 30: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with an AB test:Change is constant

Bounces

2+ Page Views

Total

Total

1000

4000

5000

1152

3853

5005

2152

7853

10005

Page 31: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with an AB test:Change is constant

> library(stats)> amazingLogoTest <-+ matrix(c(1000, 4000, 1152, 3853),+ nrow = 2,+ dimnames = list(visitorAction = c("Bounce", "Stay"),+ logo = c("Boring", "Best Logo Ever")))> fisher.test(amazingLogoTest, alternative = "less")Fisher's Exact Test for CountDatadata: amazingLogoTestp-value = 0.0001316alternative hypothesis: true odds ratio is less than 195 percent confidence interval:0.0000000 0.9070399sample estimates:odds ratio0.8361718

Page 32: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Hypothesis example with an AB test:Change is constant

> library(stats)> amazingLogoTest <-+ matrix(c(1000, 4000, 1152, 3853),+ nrow = 2,+ dimnames = list(visitorAction = c("Bounce", "Stay"),+ logo = c("Boring", "Best Logo Ever")))> fisher.test(amazingLogoTest, alternative = "less")Fisher's Exact Test for CountDatadata: amazingLogoTestp-value = 0.0001316alternative hypothesis: true odds ratio is less than 195 percent confidence interval:0.0000000 0.9070399sample estimates:odds ratio0.8361718

0.01%

Page 33: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

Change is a constant

Hypothesis testing is a tool for managing uncertainty

Page 34: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

You will need...

34

Page 35: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months

You will need...

35

> install.packages(“stats”)> library(stats)

Page 36: Fewer HiPPOs More Lab Coats Compressed - R . …...Fewer HiPPOs More Lab Coats Highest paid person’s opinion Data driven decisions Change is a constant Change is a constant 2 months