Cookies & Milk ...Soda? Matthew Lau Professor Imielinski - - PowerPoint PPT Presentation

cookies milk soda
SMART_READER_LITE
LIVE PREVIEW

Cookies & Milk ...Soda? Matthew Lau Professor Imielinski - - PowerPoint PPT Presentation

EAT COOKIES Cookies & Milk ...Soda? Matthew Lau Professor Imielinski March 28, 2017 Data 101 WALMART Assignment You might think Cookies and Milk are bought together... You would be wrong. There are no specific associations between


slide-1
SLIDE 1

Cookies & Milk ...Soda?

Matthew Lau Professor Imielinski March 28, 2017 Data 101 WALMART Assignment

EAT COOKIES

slide-2
SLIDE 2

You might think Cookies and Milk are bought together...

slide-3
SLIDE 3

You would be wrong.

???

Permutation Test (5x):

Result P-value > .05

There are no specific associations between Walmart customers buying milk and cookies together.

slide-4
SLIDE 4

Z-TEST: Milk and Cookies

R Code:

Result P-value = 0.21 > .05 NO correlation

I decided to perform a Z-TEST on this as well.

slide-5
SLIDE 5

TEA COFFEE

Neither tea nor coffee show correlations either.

Result P-value > .05 Result P-value > .05

Permutation Tests (x5):

slide-6
SLIDE 6

SODA AND COOKIES

Result P-value > .05 (shows association)

Permutation Test (x5) R Code

slide-7
SLIDE 7

Z-TEST: Soda and Cookies

Result P-value = 0.009 (shows association)

slide-8
SLIDE 8

Another Finding: Coffee and Sugar Association

Permutation Test (x5): Z-TEST

Result P-value ~ 0.008 (shows association)

slide-9
SLIDE 9

By Matthew Lau

COOKIES AND SODA