Learn R Programming

VGAM (version 1.0-1)

beggs: Bacon and Eggs Data

Description

Purchasing of bacon and eggs.

Usage

data(beggs)

Arguments

source

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.

Details

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.

References

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.

See Also

rrvglm, rcim, grc.

Examples

Run this code
beggs
colSums(beggs)
rowSums(beggs)

Run the code above in your browser using DataLab