Handout 5 - > summary(aov(g)) Df Sum Sq Mean Sq F value...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 bolt=c(20,16,17,18,15,16,19,14,15,24,26,40,28,38,38,30,26,38,45,38,25,40,30,17,16,45,49,33,30,20) mandrel=c(24,18,17,17,15,23,14,18,12,11,32,22,30,35,32,28,27,28,30,30,10,13,17,16,15,14,11,14,15,16) > data=cbind(bolt,mandrel) > data=as.matrix(data) > y=as.vector(data) > a=rep(1:2,each=30) > b=c(rep(1:3,each=10),rep(1:3,each=10)) > g = lm(y~factor(a)*factor(b))
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: > summary(aov(g)) Df Sum Sq Mean Sq F value Pr(>F) factor(a) 1 821.4 821.40 22.4563 1.604e-05 *** factor(b) 2 2290.6 1145.32 31.3118 9.363e-10 *** factor(a):factor(b) 2 665.1 332.55 9.0916 0.0003952 *** Residuals 54 1975.2 36.58 ---Signif. codes: 0 ¡¥***¡¦ 0.001 ¡¥**¡¦ 0.01 ¡¥*¡¦ 0.05 ¡¥.¡¦ 0.1 ¡¥ ¡¦ 1...
View Full 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.

Ask a homework question - tutors are online