Learn R Programming

logitr (version 0.2.0)

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

Variable Description
id individual identifiers
obsID identifier for unique choice observation
alt alternative in each choice observation
choice dummy code for choice (1 or 0)
price price of yogurt
feat dummy for whether a newspaper advertisement was shown to the customer (1 or 0)
brand yogurt brand: "yoplait", "dannon", "hiland", or "weight" (for weight watcher)
dannon dummy variable for the "dannon" brand (1 or 0)
hiland dummy variable for the "hiland" brand (1 or 0)
weight dummy variable for the "weight" brand (1 or 0)
yoplait dummy variable for the "yoplait" brand (1 or 0)

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, 10.1080/07350015.1994.10524547

Examples

Run this code
# NOT RUN {
data(yogurt)

head(yogurt)
# }

Run the code above in your browser using DataLab