Latihan Regresi

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 4

X Y X2 XY perkiraan

23 22.2 529 510.6


23.8 22.6 566.44 537.88 (Σy) (Σx²) - (Σx) (Σxy)
21 23.8 441 499.8
26.5 27.1 702.25 718.15
21.4 21.4 457.96 457.96
jumlah 115.7 117.1 2696.65 2724.39

a 5.847375
b 0.759405

y=a+bx
14

12
f(x) = 0.946666666666667 x + 2.96
10
X Y
2 6 8
3 5
X

5 7 6 SUMMARY OUTPUT
6 8
8 12 4 Regression Statistics
9 11 Multiple R 0.9302729
2 R Square 0.8654077
Adjusted R 0.8317597
0
a= 2.96 1
Standard
2
Er 1.1430952
3 4 5 6 7 8 9 10
b= 0.946667 Observation 6 Y

ANOVA
df SS MS F
Regression 1 33.6066667 33.60667 25.71939
Residual 4 5.22666667 1.306667
Total 5 38.8333333

CoefficientsStandard Error t Stat P-value


Intercept 2.96 1.12775096 2.624693 0.058511
X Variable 1 0.9466667 0.18666667 5.071429 0.007123

kadar hemoglobin
latihan 3 1.8
1.6
1.4 f(x) = 0.840369393139842 x + 0.0124010554089711
1.2
1
kadar hemoglobin
1.8
Kadar hemoglobin dalam saluran darah 10 orang donor di ukur dengan
1.6 a.waydi
1.4 f(x) = 0.840369393139842 x + 0.0124010554089711
X Y tentukan persamaan pada dengan
1.2cara 1 2 3
1.3 1.1 1
1.5 1.6 0.8
0.7 0.5 0.6
0.9 0.8 0.4
0.2
1 0.8
0
1.1 1 0.2 0.4 0.6 0.8 1 1.2 1.4
0.8 0.7 Y
1.8 1.4
0.4 0.4
1.3 0.9

cara 1
a 0.012401
b 0.840369

cara 2
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.923262
R Square 0.852413
Adjusted R 0.833965
Standard E 0.152221
Observatio 10

ANOVA
df SS MS F Significance F
Regression 1 1.0706306069 1.0706306 46.205281 0.0001382
Residual 8 0.1853693931 0.0231712
Total 9 1.256

CoefficientsStandard Error t Stat P-value Lower 95% Upper 95%Lower 95,0%Upper 95,0%
Intercept 0.012401 0.1419325891 0.0873729 0.9325226 -0.3148961 0.33969819 -0.314896 0.339698
X Variable 0.840369 0.1236301568 6.7974466 0.0001382 0.5552777 1.12546105 0.555278 1.125461

cara 3
(Σy) (Σx²) - (Σx) (Σxy)
n(Σx²) – (Σx)²
b = n(Σxy) – (Σx) (Σy)
n(Σx²) – (Σx)²

7 8 9 10

Significance F
0.007123

Lower 95%Upper 95%Lower 95,0%


Upper 95,0%
-0.171139 6.091139 -0.171139 6.091139
0.428397 1.464936 0.428397 1.464936

kadar hemoglobin

3139842 x + 0.0124010554089711
kadar hemoglobin

3139842 x + 0.0124010554089711

0.8 1 1.2 1.4 1.6 1.8 2


Y

Upper 95,0%

You might also like