Cookies & Milk ...Soda?
Matthew Lau Professor Imielinski March 28, 2017 Data 101 WALMART Assignment
EAT COOKIES
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
Matthew Lau Professor Imielinski March 28, 2017 Data 101 WALMART Assignment
EAT COOKIES
???
Permutation Test (5x):
Result P-value > .05
There are no specific associations between Walmart customers buying milk and cookies together.
R Code:
Result P-value = 0.21 > .05 NO correlation
I decided to perform a Z-TEST on this as well.
TEA COFFEE
Neither tea nor coffee show correlations either.
Result P-value > .05 Result P-value > .05
Permutation Tests (x5):
SODA AND COOKIES
Result P-value > .05 (shows association)
Permutation Test (x5) R Code
Result P-value = 0.009 (shows association)
Another Finding: Coffee and Sugar Association
Permutation Test (x5): Z-TEST
Result P-value ~ 0.008 (shows association)
By Matthew Lau