17.01.2015 Views

LibraryPirate

LibraryPirate

LibraryPirate

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

430 CHAPTER 9 SIMPLE LINEAR REGRESSION AND CORRELATION<br />

TABLE 9.4.1<br />

ANOVA Table for Simple Linear Regression<br />

Source of<br />

Variation SS d.f. MS V.R.<br />

Linear regression SSR 1 MSR SSR/1 MSR/MSE<br />

Residual SSE n 2 MSE SSE/(n 2)<br />

Total SST n 1<br />

4. Test statistic. The test statistic is V.R. as explained in the discussion<br />

that follows.<br />

From the three sums-of-squares terms and their associated degrees<br />

of freedom the analysis of variance table of Table 9.4.1 may be constructed.<br />

In general, the degrees of freedom associated with the sum of<br />

squares due to regression is equal to the number of constants in the regression<br />

equation minus 1. In the simple linear case we have two estimates,<br />

and ; hence the degrees of freedom for regression are 2 - 1 = 1.<br />

b 0<br />

b 1<br />

5. Distribution of test statistic. It can be shown that when the hypothesis<br />

of no linear relationship between X and Y is true, and when the assumptions<br />

underlying regression are met, the ratio obtained by dividing the<br />

regression mean square by the residual mean square is distributed as F<br />

with 1 and n - 2 degrees of freedom.<br />

6. Decision rule. Reject H 0 if the computed value of V.R. is equal to or<br />

greater than the critical value of F.<br />

7. Calculation of test statistic. As shown in Figure 9.3.2, the computed<br />

value of F is 217.28.<br />

8. Statistical decision. Since 217.28 is greater than 3.94, the critical value<br />

of F (obtained by interpolation) for 1 and 107 degrees of freedom, the<br />

null hypothesis is rejected.<br />

9. Conclusion. We conclude that the linear model provides a good fit to<br />

the data.<br />

10. p value. For this test, since 217.28 7 8.25, we have p 6 .005. ■<br />

Estimating the Population Coefficient of Determination The<br />

sample coefficient of determination provides a point estimate of r 2 the population coefficient<br />

of determination. The population coefficient of determination, r 2 has the same<br />

function relative to the population as r 2 has to the sample. It shows what proportion of<br />

the total population variation in Y is explained by the regression of Y on X. When the<br />

number of degrees of freedom is small, r 2 is positively biased. That is, r 2 tends to be<br />

large. An unbiased estimator of r 2 is provided by<br />

r ~2 = 1 - g1y i - yN i 2 2 >1n - 22<br />

g1y i - y2 2 >1n - 12<br />

(9.4.3)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!