Tahun : 2007
Versi : Revisi
Pertemuan 13
Regresi Linear dan Korelasi
1
Learning Outcomes
2
Outline Materi
3
Testing for Significance
• An Estimate of 2
The mean square error (MSE) provides the
estimate
of 2, and the notation s2 is also used.
s2 = MSE = SSE/(n-2)
where:
SSE ( yi yˆ i ) 2 ( yi b0 b1 xi ) 2
5
Testing for Significance
• An Estimate of
– To estimate we take the square root of 2.
– The resulting s is called the standard error of
the estimate.
SSE
s MSE
n2
6
Testing for Significance: t Test
• Hypotheses
H0: 1 = 0
Ha: 1 = 0
• Test Statistic b1
t
sb11
• Rejection Rule
Reject H0 if t < -tor t > t
9
Confidence Interval for 1
b1 t / 2 sb1
where b1 is the point estimate
is the margin of error
t / 2providing
is the t value sb1 an area
tupper
of /2 in the /2 tail of a
t distribution with n - 2 degrees
of freedom
10
Contoh Soal: Reed Auto Sales
11
Testing for Significance: F Test
Hypotheses
H0: 1 = 0
Ha: 1 = 0
Test Statistic
F = MSR/MSE
Rejection Rule
Reject H0 if F > F
12
Example: Reed Auto Sales
F Test
• Hypotheses H0 : 1 = 0
Ha: 1 = 0
• Rejection Rule
For = .05 and d.f. = 1, 3: F.05 = 10.13
Reject H0 if F > 10.13.
• Test Statistic
F = MSR/MSE = 100/4.667 = 21.43
• Conclusion
We can reject H0.
13
Some Cautions about the
Interpretation of Significance
Tests
yp + t/2 sind
y^i y^i
sy^i y^i
where:
syi yi s 1 hi
17
Contoh Soal: Reed Auto Sales
• Residuals
Observation Predicted Cars Sold Residuals
1 15 -1
2 25 -1
3 20 -2
4 15 2
5 25 2
18
Contoh Soal: Reed Auto Sales
• Residual Plot
1
0
-1
-2
-3
0 1 2 3 4
TV Ads
19
Residual Analysis
• Detecting Outliers
– An outlier is an observation that is unusual in
comparison with the other data.
– Minitab classifies an observation as an outlier
if its standardized residual value is < -2 or >
+2.
– This standardized residual rule sometimes
fails to identify an unusually large observation
as being an outlier.
– This rule’s shortcoming can be circumvented
by using studentized deleted residuals.
– The |i th studentized deleted residual| will be
larger than the |i th standardized residual|.
20
• Selamat Belajar Semoga Sukses.
21