Learn R Programming

logitr (version 1.1.2)

yogurt: Choice observations of yogurt purchases by 100 households

Description

Data from Jain et al. (1994) containing 2,412 choice observations from a series of yogurt purchases by a panel of 100 households in Springfield, Missouri, over a roughly two-year period. The data were collected by optical scanners and contain information about the price, brand, and a "feature" variable, which identifies whether a newspaper advertisement was shown to the customer. There are four brands of yogurt: Yoplait, Dannon, Weight Watchers, and Hiland, with market shares of 34%, 40%, 23% and 3%, respectively.

Usage

data(yogurt)

Arguments

Format

VariableDescription
idindividual identifiers
obsIDidentifier for unique choice observation
altalternative in each choice observation
choicedummy code for choice (1 or 0)
priceprice of yogurt
featdummy for whether a newspaper advertisement was shown to the customer (1 or 0)
brandyogurt brand: "yoplait", "dannon", "hiland", or "weight" (for weight watcher)

References

Dipak C. Jain, Naufel J. Vilcassim & Pradeep K. Chintagunta (1994) A Random-Coefficients Logit Brand-Choice Model Applied to Panel Data, Journal of Business & Economic Statistics, 12:3, 317-328, tools:::Rd_expr_doi("10.1080/07350015.1994.10524547")

Examples

Run this code
data(yogurt)

head(yogurt)

Run the code above in your browser using DataLab