hw3_derek_rampal

hw3_derek_rampal - Derek Rampal HW 3 1. Code:...

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

Unformatted text preview: Derek Rampal HW 3 1. Code: library(Devore5) data(ex10.22) tomatoes<-ex10.22 attach(tomates) > tomatoes.aov <- aov(yield~ECf,data=tomatoes) > tomatoes.aov$coef (Intercept) ECfB ECfC ECfD 58.28 -2.88 -7.43 -12.78 a) > tomatoes.aov$fitted.values b) > tomatoes.aov$residuals 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 58.28 58.28 58.28 58.28 58.28 55.40 55.40 55.40 55.40 50.85 50.85 50.85 50.85 45.50 45.50 45.50 45.50 45.50 c) Analysis of Variance Table Response: yield Df Sum Sq Mean Sq F value Pr(>F) ECf 3 456.50 152.17 17.112 5.875e-05 *** Residuals 14 124.50 8.89 --- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 d) > summary.lm(tomatoes.aov) Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 58.280 1.334 43.701 2.27e-16 *** ECfB -2.880 2.000 -1.440 0.17194 ECfC -7.430 2.000 -3.714 0.00231 ** ECfD -12.780 1.886 -6.776 8.93e-06 *** e) Pr(>|t|) from previous does this have similar issues to significance testing in regression analysis where it matters which...
View Full Document

This note was uploaded on 09/19/2009 for the course MATH compstat taught by Professor Qian during the Spring '09 term at FAU.

Page1 / 3

hw3_derek_rampal - Derek Rampal HW 3 1. Code:...

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

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