In: Statistics and Probability
Week | Sales | Cart? | 2 cents off? | 1 cent off? | Coupon |
1 | 36 | 1 | 0 | 0 | 1 |
2 | 38 | 1 | 0 | 1 | 1 |
3 | 40 | 1 | 1 | 0 | 1 |
4 | 40 | 1 | 0 | 0 | 0 |
5 | 42 | 1 | 0 | 1 | 0 |
6 | 44 | 1 | 1 | 0 | 0 |
7 | 12 | 0 | 0 | 0 | 1 |
8 | 20 | 0 | 0 | 1 | 1 |
9 | 30 | 0 | 1 | 0 | 1 |
10 | 8 | 0 | 0 | 0 | 0 |
11 | 16 | 0 | 0 | 1 | 0 |
12 | 33 | 0 | 1 | 0 | 0 |
Using Excel
data -> data analysis -> regression
y^ = 14.5 + 20.1667 cart + 12.75 * 2 cents off + 5 * 1 cent off -1.16667 coupon
we see that 1 cent off and coupon are not significant as p-value > 0.05 for these variables
we remove coupon as it is most insignificant
still 1 cent off is significant
after removing 1 cent off too
now both independent variables are signfiicant
y^ = 16.4167 + 20.1667 cart + 10.25 2 cent off
R^2 = 0.8559
hence 85.59 % variation in sales explained by these independent variables
Please give me a thumbs-up if this helps you out. Thank you! :)