In: Math
Zippy Cola is studying the effect of its last advertising campaign. People chosen at random were called and asked how many cans of zippy cola they hand bought and advertisements they had either read or seen of zippy cola in the past week Number of ads 3, 7, 4, 2, 0, 4, 1, 2 Cans purchased 11, 18, 9 ,4,7 ,6,3 ,8 what are the independent and dependent variables and also calculate slope and intercept
The number of cans purchased by an individual depends on the number of ads he has seen or read
So, the independent variable (X) will be the number of ads seen
the dependent variable (Y) will be the number of cans purchased
Y = f(X)
No. of Cans purchased = f(No. of ads seen)
Here is the regression output-
SUMMARY OUTPUT | ||||||||
Regression Statistics | ||||||||
Multiple R | 0.786727714 | |||||||
R Square | 0.618940496 | |||||||
Adjusted R Square | 0.555430579 | |||||||
Standard Error | 3.142577309 | |||||||
Observations | 8 | |||||||
ANOVA | ||||||||
df | SS | MS | F | Significance F | ||||
Regression | 1 | 96.24524715 | 96.24524715 | 9.745572382 | 0.020538054 | |||
Residual | 6 | 59.25475285 | 9.875792142 | |||||
Total | 7 | 155.5 | ||||||
Coefficients | Standard Error | t Stat | P-value | Lower 95% | Upper 95% | Lower 95.0% | Upper 95.0% | |
Intercept | 3.330798479 | 1.928082858 | 1.72751833 | 0.134816511 | -1.387050315 | 8.048647273 | -1.387050315 | 8.048647273 |
X Variable 1 | 1.711026616 | 0.548091529 | 3.121789932 | 0.020538054 | 0.369894959 | 3.052158273 | 0.369894959 | 3.052158273 |
The regression equation is-
Y = 3.33 + 1.71*X
So, the Slope = 1.71 and Intercept = 3.33
Let me know if you need anything else, if not please don't forget to like the answer :)