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 Walmart customers buying milk and cookies together. ??? Permutation Test (5x): Result P-value > .05
Z-TEST: Milk and Cookies I decided to perform a Z-TEST on this as well. R Code: Result P-value = 0.21 > .05 NO correlation
Permutation Tests (x5): TEA COFFEE Result Result P-value > .05 P-value > .05 Neither tea nor coffee show correlations either.
SODA AND COOKIES Permutation Test (x5) R Code Result P-value > .05 (shows association)
Z-TEST: Soda and Cookies 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)
COOKIES AND SODA By Matthew Lau
Recommend
More recommend