Week6 - Goodness of Fit Test (All Slopes equal 0) ANOVA F...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Goodness of Fit Test (All Slopes equal 0) ANOVA F test is the overall test of the goodness of fit of the model. ANOVA Table Just like before we can obtain an ANOVA table to summarize the different sources of variation in our model. The ANOVA table is given by Source df SS MS F Regression Error p 1-- p n SSR SSE p SSR MSR / = 1 /-- = p n SSE MSE MSE MSR F / = Total 1- n SST Definition: Sums of Squares Regression Sum of Squares: SSR= =- n i i y y 1 2 ) ( Error Sum of Squares : SSE= =- n i i i y y 1 2 ) ( Total Sum of Squares : SST= =- n i i y y 1 2 ) ( Recall ANOVA identity: SST=SSR+SSE 1 We can use the F statistic to test the null hypothesis ... : 2 1 = = = = p H . H : ... 2 1 = = = = p (All slope terms equal 0) Ha: i for at least one i (At least one of the slope terms does not equal) Test Statistic: MSE MSR F = To compute the p-value of the test we use the 1 ,-- p n p F distribution. Sampling Distribution: F (p, n-p-1) where p= # of predictors Small p-values support Ha (at least one of the xs is helpful in predicting y) 2 Hypothesis Test for One of the Slopes being equal to Zero Ho: i = 0 Ha: i Test Statistic: i s T i - = Sampling Distribution: t with df 1 n p =-- What is the difference between the ANOVA F test and T test? ANOVA F test o all s together o Determines if the model is good or bad T test individual o Individual s o Does this prediction variable contribute any significant information after all other predictors are used in the model? 3 Confidence interval for the average y at a certain combination of Xs Formula: Sampling Distribution: t with 1 n p =-- Prediction interval formula for the next y at a certain combination of xs Formula: Sampling Distribution: t with 1 n p =-- 4 What is R 2 ? R-square is the square of the sample correlation coefficient r between the observed y values and the predicted y-hat values. What is R 2 (adjusted)? R 2 is measuring how much of the variation of y is explained by all x terms. R 2 gets bigger every time you add a term. However, we want to have an optimum no. of terms as possible. So, R 2 (adjusted) takes out the automatic inflation. If you have multiple xs, use the R 2 (adjusted). If you have a single x, use the R 2 . ( 29 2 2 2 1 1 k Adjusted R R R n k = - - - - k: no. of independent variables in the model. 5 Example 1: Screws that were threaded into metal blocks were getting stripped. It was thought that the depth that the stud was screwed into the block might affect the torque at which the stud stripped out. In the table, x is measured in 10-3 of and inch and torque is measured in lbs/in....
View Full Document

Page1 / 68

Week6 - Goodness of Fit Test (All Slopes equal 0) ANOVA F...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online