{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw3_derek_rampal

# hw3_derek_rampal - Derek Rampal HW 3 1 Code library(Devore5...

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

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 coefficient(treatment) you test first? 2. created file question2.txt rrate color 28 B 26 B 31 B 27 B

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

View Full Document
35 B 34 G 29 G 25 G 31 G 29 G 31 O 25
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern