Correlation & Regression
Problem 2
PROBLEM: The Le Fancy Schmancy Wine Company is introducing a new wine. Jane Smythe, their top data scientist, was asked to determine whether there is a relationship between price and quantity demanded as well as how a change in the price per bottle might affect quantity demanded. The data is below.
Answer the following, using MS Excel:
This is the problem you got via email.
Price ($Xi) | Quantity Demanded (Yi) |
12 | 1200 |
13 | 1150 |
14 | 1100 |
15 | 1000 |
17 | 997 |
18 | 879 |
19 | 790 |
21 | 800 |
22 | 840 |
24 | 650 |
25 | 635 |
30 | 600 |
40 | 554 |
50 | 420 |
75 | 246 |
SUMMARY OUTPUT | | | | | | | | |
| | | | | | | | |
Regression Statistics | | | | | | | | |
Multiple R | 0.8914 | | | | | | | |
R Square | 0.7946 | | | | | | | |
Adjusted R Square | 0.7788 | | | | | | | |
Standard Error | 129.3980 | | | | | | | |
Observations | 15.0000 | | | | | | | |
| | | | | | | | |
ANOVA | | | | | | | | |
| df | SS | MS | F | Significance F | | | |
Regression | 1.0000 | 841849.0404 | 841849.0404 | 50.2781 | 8.1624197 E-06 | | | |
Residual | 13.0000 | 217669.8929 | 16743.8379 | | | | | |
Total | 14.0000 | 1059518.9333 |
|
|
| | | |
| | | | | | | | |
| Coefficients | Standard Error | t Stat | P-value | Lower 95% | Upper 95% | Lower 95.0% | Upper 95.0% |
Intercept | 1170.0506 | 63.0711 | 18.5513 | 0.0000 | 1033.7937 | 1306.3075 | 1033.7937 | 1306.3075 |
X Variable 1 | -14.4045 | 2.0315 | -7.0907 | 0.0000 | -18.7931 | -10.0158 | -18.7931 | -10.0158 |
The Le Fancy Schmancy Wine Company is introducing a new wine. Jane Smythe, their top data scientist, was asked to determine whether there is a relationship between price and quantity demanded as well as how a change in the price per bottle might affect quantity demanded.
a) Yes, the regression is significant. p-value= .00000816
r= .8914 What is the sign? + or - ?
R2 = 79.46%
If the slope is negative, the correlation coefficient must be negative.
b0
b1
Yes. A p-value of .000008 is significant. X may be used to predict Y. In this case, Price can be used to Predict Q-demanded.
b) Find the correlation coefficient, r. Determine if it is significant.
Answer. r = -.8914
Let AI test r for significance. Here’s the prompt to use:
What is the p-value, given n=15, r=.925, 2-tail test?
Answer returned: 0.000008 (p<.01)
c) Find the coefficient of determination, R2. Explain.
R2 = 79.46% This is the percent variation in Quantity-Demanded explained by the regression (i.e., by Price per bottle).
The Le Fancy Schmancy Wine Company is introducing a new wine. Jane Smythe, their top data scientist, was asked to determine whether there is a relationship between price and quantity demanded as well as how a change in the price per bottle might affect quantity demanded.
d) Find the regression coefficients and state the regression equation.
b0 = 1170.05 and b1= -14.40
e) What are the meanings of the regression coefficients?
b0 , the Y-intercept, represents (theoretical) Quantity-Demanded when the Price is 0.
b1 , the slope, is the predicted change in Quantity-Demanded for each additional $1 in Price.
The Le Fancy Schmancy Wine Company is introducing a new wine. Jane Smythe, their top data scientist, was asked to determine whether there is a relationship between price and quantity demanded as well as how a change in the price per bottle might affect quantity demanded.
f) Using the regression model,
The Le Fancy Schmancy Wine Company is introducing a new wine. Jane Smythe, their top data scientist, was asked to determine whether there is a relationship between price and quantity demanded as well as how a change in the price per bottle might affect quantity demanded.
The Le Fancy Schmancy Wine Company is introducing a new wine. Jane Smythe, their top data scientist, was asked to determine whether there is a relationship between price and quantity demanded as well as how a change in the price per bottle might affect quantity demanded.
RESIDUAL OUTPUT | | |
| | |
Observation | Predicted Y | Residuals |
1 | 997.1972 | 202.8028 |
2 | 982.7927 | 167.2073 |
3 | 968.3883 | 131.6117 |
4 | 953.9838 | 46.0162 |
5 | 925.1749 | 71.8251 |
6 | 910.7704 | -31.7704 |
7 | 896.3660 | -106.3660 |
8 | 867.5571 | -67.5571 |
9 | 853.1526 | -13.1526 |
10 | 824.3437 | -174.3437 |
11 | 809.9393 | -174.9393 |
12 | 737.9170 | -137.9170 |
13 | 593.8725 | -39.8725 |
14 | 449.8279 | -29.8279 |
15 | 89.7166 | 156.2834 |
Actual Yi
Predicted Yi
Any Questions?
Correlation & Regression