144k views
4 votes
Solve for the predicted values of y and the residuals for the following data.

Advertising 12.5 3.7 21.6 60.0 37.6 6.1 16.8 41.2
Sales 148 55 338 994 541 89 126 379

User SamH
by
8.0k points

1 Answer

5 votes

Answer:

Explanation:

Given the data:

Predicted value (X):

12.5

3.7

21.6

60.0

37.6

6.1

16.8

41.2

Sales (Y) :

148

55

338

994

541

89

126

379

Using a linear regression calculator to obtain the linear model for the predicted y values

Ypred = 15.23977X - 46.29181

_Y ____Ypred ___residual(Y - Ypred)

148 ___ 144.21 ______ 3.79

55 ____10.05 _______44.5

338 ___282.89______ 55.11

994 ___868.09______ 125.91

541 ____526.72 _____ 14.28

89 ____ 46.67 _______42.33

126 ____209.74 ______ −83.74

379____581.59 ______ - 202.59

User Chit Khine
by
7.8k points