Learn R Programming

glmtoolbox (version 0.1.12)

coupons: Discount coupons

Description

The market research department of a soft drink manufacturer is investigating the effectiveness of a price discount coupon on the purchase of a two-litre beverage product. A sample of 5500 costumers received coupons for varying price discounts between 5 and 25 cents. The main objective of the analysis is to determine if the price discount affects the proportion of redeemed coupons after one month.

Usage

data(coupons)

Arguments

Format

A data frame with 11 rows and 3 variables:

discounts

a numeric vector indicating the price discount, in cents.

costumers

a numeric vector indicating the number of customers who received coupons.

redeemed

a numeric vector indicating the number of redeemed coupons.

References

Montgomery D.C., Peck E.A., Vining G. (2012, page 464) Introduction to linear regression analysis. 5th ed. Berlin, Wiley.

Examples

Run this code
dev.new()
data(coupons)
barplot(100*redeemed/costumers ~ discounts, data=coupons, xlab="Discount price",
        ylab="(%) Redeemed coupons", col="blue")

Run the code above in your browser using DataLab