Correlation & Regression
PROBLEM: A company is interested in studying the relationship between the number of ads placed and sales (in millions of dollars). The data below shows the results in 15 equivalent markets.
Compute each of the following using the formulas. When you are finished, check your work using MS Excel.
c) Compute the regression coefficients and state the regression equation.
d) Using the regression model,
Xi (# ads) Yi (sales in millions
5 7
6 9
4 8
5 8
6 7
3 6
7 10
4 7
7 14
9 15
8 11
6 9
10 20
2 4
1 2
This is the problem you got via email.
A company is interested in studying the relationship between the number of ads placed and sales (in millions of dollars). The data below shows the results in 15 equivalent markets.
a) Find the correlation coefficient.
b) Find the coefficient of determination, R2.
R2 = (.925)2 = .8555 OR 85.55%
Of course, these must be tested for significance.
Here’s how to do it with AI.
Ask for the p-value given:
n=15
r=.925
2-tail test
You will see that it is way below .05
Check the regression with MS Excel to compare.
A company is interested in studying the relationship between the number of ads placed and sales (in millions of dollars). The data below shows the results in 15 equivalent markets.
c) Compute the regression coefficients and state the regression equation.
A company is interested in studying the relationship between the number of ads placed and sales (in millions of dollars). The data below shows the results in 15 equivalent markets.
d) Using the regression model,
A company is interested in studying the relationship between the number of ads placed and sales (in millions of dollars). The data below shows the results in 15 equivalent markets.
e) What are the meanings of the regression coefficients?
b0 we have already seen. That is the Y-intercept, the value of Y (sales) when X (# ads) = 0)
Meaning of slope term (b1) – for every additional ad you place, the sales increase by $1.663 million
A company is interested in studying the relationship between the number of ads placed and sales (in millions of dollars). The data shows the results in 15 equivalent markets.
From MS Excel:
A company is interested in studying the relationship between the number of ads placed and sales (in millions of dollars). The data shows the results in 15 equivalent markets.
From MS Excel:
SUMMARY OUTPUT | | | | | | | | |
| | | | | | | | |
Regression Statistics | | | | | | | | |
Multiple R | 0.924947339 | | | | | | | |
R Square | 0.85552758 | | | | | | | |
Adjusted R Square | 0.844414317 | | | | | | | |
Standard Error | 1.775726099 | | | | | | | |
Observations | 15 | | | | | | | |
| | | | | | | | |
ANOVA | | | | | | | | |
| df | SS | MS | F | Significance F | | | |
Regression | 1 | 242.741692 | 242.741692 | 76.98257237 | 8.02295E-07 | | | |
Residual | 13 | 40.99164134 | 3.15320318 | | | | | |
Total | 14 | 283.7333333 |
|
|
| | | |
| | | | | | | | |
| Coefficients | Standard Error | t Stat | P-value | Lower 95% | Upper 95% | Lower 95.0% | Upper 95.0% |
Intercept | -0.070668693 | 1.144831832 | -0.061728449 | 0.951718042 | -2.5439275 | 2.402590114 | -2.5439275 | 2.402590114 |
X Variable 1 | 1.66337386 | 0.189580499 | 8.7739713 | 8.02295E-07 | 1.253810092 | 2.072937629 | 1.253810092 | 2.072937629 |
f) From the MS Excel output, is the regression significant? Yes (p=0.000000802295)
g) Explain R2: 85.55% of the variation in sales is explained by the regression.
Any Questions?
Correlation & Regression