You are on page 1of 12

Nurulia Amanda 2110116062

2. Consider the following data for a dependent variable y and two independent variables,
x1
a. Develop an estimated regrx2 y
Jawab 30 12 94
47 10 108 y b0 + b1xi
25 17 112 y 45,06 + 1,94(47)
51 16 178 y 136.41
40 5 94
51 19 175
b. Develop an estimated regr
74 7 170
Jawab
36 12 117
59 13 142 y b0 + b2x2
76 16 211 y 85,22 + 4,32(10)
y 128.43

c. Develop an estimated regr


Jawab
y b0 + b01x1 + b02x2
y 123.49

3. In a regression analysis involving 30 observations, the following estimated


regression equation was obtained.
y^ = 17,6 + 3,8x1 - 2,3x2 + 7,6x3 + 2,7x4
a. Interpret b1, b2, b3, and b4 in this estimated regression equation.
Jawab
b1 3.8
b2 -2.3
b3 7.6
b4 2.7

b. Predict y when x1 = 10, x2 = 5, x3 = 1, and x4 = 2.


Jawab
y 17,6 + 3,8x1 - 2,3x2 + 7,6x3 + 2,7x4
y 17,6 + 3,8(10) - 2,3(5) + 7,6(1) + 2,7(2)
y 57.1
x1 and x2.
ession equation relating y to x1. Predict y if x1 = 47.

ession equation relating y to x2. Predict y if x2.Predict y if x2 = 10.

ession equation relating y to x1 and x2. Predict y ifx1 = 47 and x2 = 10.Predict y if x2 = 10.P
redict y if x1 = 47.
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.81
R Square 0.66
Adjusted R Square 0.62
Standard Error 25.40
Observations 10.00

ANOVA
df SS MS F Significance F
Regression 1 10021.247 10021.247 15.532 0.004
Residual 8 5161.653 645.207
Total 9 15182.900

Coefficients Standard Error t Stat P-value Lower 95%


Intercept 45.06 25.42 1.77 0.11 -13.55
x1 1.94 0.49 3.94 0.00 0.81

RESIDUAL OUTPUT

Observation Predicted y Residuals


1 103.37 -9.37
2 136.41 -28.41
3 93.65 18.35
4 144.18 33.82
5 122.80 -28.80
6 144.18 30.82
7 188.88 -18.88
8 115.03 1.97
9 159.73 -17.73
10 192.77 18.23
x1 Line Fit
250

200

150

y
100

50

0
0 20 40
Upper 95% Lower 95,0% Upper 95,0% x1
103.67 -13.55 103.67
3.08 0.81 3.08
Plot

y
Predicted y

60 80
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.47
R Square 0.22
Adjusted R Square 0.12
Standard Error 38.44
Observations 10.00

ANOVA
df SS MS F Significance F
Regression 1 3363.41 3363.41 2.28 0.17
Residual 8 11819.49 1477.44
Total 9 15182.90

Coefficients Standard Error t Stat P-value Lower 95%


Intercept 85.22 38.35 2.22 0.06 -3.22
x2 4.32 2.86 1.51 0.17 -2.28

RESIDUAL OUTPUT

Observation Predicted y Residuals


1 137.07 -43.07
2 128.43 -20.43
3 158.68 -46.68
4 154.36 23.64
5 106.82 -12.82
6 167.33 7.67
7 115.47 54.53
8 137.07 -20.07
9 141.40 0.60
10 154.36 56.64
x2 Line Fit Plo
250
200
150
100

y
50
0

0 5 10 15
x2

Upper 95% Lower 95,0% Upper 95,0%


173.66 -3.22 173.66
10.93 -2.28 10.93
t

y
Predicted y

20
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.96
R Square 0.93
Adjusted R Square 0.90
Standard Error 12.71
Observations 10.00

ANOVA
df SS MS F Significance F
Regression 2.00 14052.15 7026.08 43.50 0.00
Residual 7.00 1130.75 161.54
Total 9.00 15182.90

Coefficients Standard Error t Stat P-value Lower 95%


Intercept -18.37 17.97 -1.02 0.34 -60.86
x1 2.01 0.25 8.13 0.00 1.43
x2 4.74 0.95 5.00 0.00 2.50

RESIDUAL OUTPUT

Observation Predicted y Residuals


1 98.79 -4.79
2 123.49 -15.49
3 112.43 -0.43
4 159.96 18.04
5 85.73 8.27
6 174.17 0.83
7 163.55 6.45
8 110.85 6.15
9 161.82 -19.82
10 210.21 0.79
250

200

150

y
100

50

0 10 20

Upper 95% Lower 95,0% Upper 95,0%


24.13 -60.86 24.13
2.59 1.43 2.59
6.98 2.50 6.98

250

200

y 150

100

50

0 2 4 6
x1 Line Fit Plot

y
Predicted y

30 40 50 60 70 80
x1

x2 Line Fit Plot

y
Predicted y

8 10 12 14 16 18 20
x2

You might also like