420Hw09ans - STAT 420 Fall 2008 Homework #9 (due Friday,...

Info iconThis preview shows pages 1–4. 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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: STAT 420 Fall 2008 Homework #9 (due Friday, October 31, by 3:00 p.m.) From the textbook: 1. 5.12 (d) x y y = 5 x e = y y 1.0 3.4 5 1.6 1.2 7.0 6 1.0 1.4 6.0 7 1.0 1.6 9.0 8 1.0 1.8 8.0 9 1.0 Recall Homework 4: & = & & = = n i i n i i i x y x 1 2 1 = 5. 2.0 11.0 10 1.0 Without in the model, SSTotal = Y T Y = y 2 , dfTotal = n . SSE = e 2 . Without in the model, RegrSS = Y Y T = & 2 y = 2 & x 2 . > x <- c(1.0, 1.2, 1.4, 1.6, 1.8, 2.0) > y <- c(3.4, 7.0, 6.0, 9.0, 8.0, 11.0) > fit <- lm(y ~ x + 0) or > fit <- lm(y ~ x - 1) > summary(fit) Call: lm(formula = y ~ x - 1) Residuals: 1 2 3 4 5 6 -1.6 1.0 -1.0 1.0 -1.0 1.0 Coefficients: Estimate Std. Error t value Pr(>|t|) x 5.0000 0.3263 15.32 2.15e-05 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 1.23 on 5 degrees of freedom Multiple R-Squared: 0.9791, Adjusted R-squared: 0.975 F-statistic: 234.8 on 1 and 5 DF, p-value: 2.148e-05 OR Without in the model, SSTotal = Y T Y = y 2 = 362.56. Without in the model, dfTotal = n = 6. SSError = e 2 = 7.56. Without in the model, SSRegr = Y Y T = & 2 y = 355. Source SS df MS F Regression 355 1 355 234.7884 Error (Residual) 7.56 5 1.512 Total 362.56 6 F 0.01 ( 1 , 5 ) = 16.26 . Reject H : = 0 at = 0.01. OR > sum(fit$residuals^2) [1] 7.56 > anova(fit) Analysis of Variance Table Response: y Df Sum Sq Mean Sq F value Pr(>F) x 1 355.00 355.00 234.79 2.148e-05 *** Residuals 5 7.56 1.51 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 F 0.01 ( 1 , 5 ) = 16.26 . Reject H : = 0 at = 0.01. 2. 6.12 E ( Y | X ) = 1 X + 2 X 2 V ( Y | X ) = I 2 , 2 > 0 a) Y = & & & & & & & &...
View Full Document

This note was uploaded on 05/09/2010 for the course MATH 420 taught by Professor Stepanov during the Spring '10 term at University of Illinois, Urbana Champaign.

Page1 / 9

420Hw09ans - STAT 420 Fall 2008 Homework #9 (due Friday,...

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

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