10_30_1 - > results = glm(Thiamin ~...

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

View Full Document Right Arrow Icon
> Wheat = c(5.2,4.5,6.0,6.1,6.7,5.7) > Barley = c(6.5,8.0,6.1,7.5,5.9,5.6) > Maize = c(5.8,4.7,6.4,4.9,6.0,5.2) > Oats = c(8.3,6.1,7.8,7.0,5.6,7.2) > Grain = c(rep("Wheat",6),rep("Barley",6),rep("Maize",6),rep("Oats",6)) > Thiamin = c(Wheat,Barley,Maize,Oats)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: > results = glm(Thiamin ~ factor(Grain)) > par(mfrow=c(2,2)) > plot(results) > boxplot(results$residuals ~ Grain) > hist(results$residuals) > shapiro.test(results$residuals) Shapiro-Wilk normality test data: results$residuals W = 0.9704, p-value = 0.6775...
View Full Document

This note was uploaded on 04/29/2010 for the course STAT stat 420 taught by Professor Stepanov during the Spring '07 term at University of Illinois at Urbana–Champaign.

Ask a homework question - tutors are online