coupons | R Documentation |
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.
data(coupons)
A data frame with 11 rows and 3 variables:
a numeric vector indicating the price discount, in cents.
a numeric vector indicating the number of customers who received coupons.
a numeric vector indicating the number of redeemed coupons.
Montgomery D.C., Peck E.A., Vining G. (2012, page 464) Introduction to linear regression analysis. 5th ed. Berlin, Wiley.
dev.new()
data(coupons)
barplot(100*redeemed/costumers ~ discounts, data=coupons, xlab="Discount price",
ylab="(%) Redeemed coupons", col="blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.