STAT 4220 HW3 - Austin Wen STAT 4220 HW3 1. (a) Df...

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

View Full Document Right Arrow Icon
Austin Wen STAT 4220 HW3 1. (a) Df Sum Sq Mean Sq F value Pr(>F) factor(x) 3 191.5 63.833 9.1737 0.001976 ** Residuals 12 83.5 6.958 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0. (b) Df Sum Sq Mean Sq F value Pr(>F) x 1 0.8 0.800 0.0408 0.8427 Residuals 14 274.2 19.586 The results of part (a) and part (b)’s ANOVAs are totally different. Part (a) has “factor(x)” as its regression, and part (b) has x instead. In R, we treat factor(x) has 4 different levels: > factor(x) [1] 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 Levels: 1 2 3 4 But a straight line of data for “x”: > x [1] 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 (c)
Background image of page 1

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

View Full DocumentRight Arrow Icon
-2 0 2 4 Plot of residual vs factor levels Diets Residuals A B C D -2 -1 0 1 2 Normal probability plot of residuals Theoretical Quantiles A vs. C A vs. D B vs. C B vs. D C vs. D
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/06/2011 for the course STAT 4220 taught by Professor Smith during the Spring '08 term at University of Georgia Athens.

Page1 / 5

STAT 4220 HW3 - Austin Wen STAT 4220 HW3 1. (a) Df...

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

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