Purchasing of bacon and eggs.
Data frame of a two way table.
b refers to bacon.
The number of times bacon was purchased was 0, 1, 2, 3, or 4.
e refers to eggs.
The number of times eggs was purchased was 0, 1, 2, 3, or 4.
The data is from Information Resources, Inc., a consumer panel based in a large US city [see Bell and Lattin (1998) for further details]. Starting in June 1991, the purchases in the bacon and fresh eggs product categories for a sample of 548 households over four consecutive store trips was tracked. Only those grocery shopping trips with a total basket value of at least five dollars was considered. For each household, the total number of bacon purchases in their four eligible shopping trips and the total number of egg purchases (usually a package of eggs) for the same trips, were counted.
Bell, D. R. and Lattin, J. M. (1998) Shopping Behavior and Consumer Preference for Store Price Format: Why ‘Large Basket’ Shoppers Prefer EDLP. Marketing Science, 17, 66–88.
Danaher, P. J. and Hardie, B. G. S. (2005). Bacon with Your Eggs? Applications of a New Bivariate Beta-Binomial Distribution. American Statistician, 59(4), 282–286.
beggs colSums(beggs) rowSums(beggs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.