Module 8 assignment
ANOVA test stress <- factor(rep(c(" High","Moderate","Low "), each=6)) reaction <- c( 10,9,8,9,10,8, 8,10,6,7,8,8, 4,6,6,4,2,2) anova <- aov (reaction ~ stress) summary( anova ) The results showed an F value of approximately 9.71 and a p value of 0.0023. Since the p value was less than 0.05, it could be taken to mean that there was a statistically significant difference in reaction times for the groups of stress. This does not, mean that it could be interpreted that stress was influencing how people reacted to this drug. The greater the stress, the slower the reaction was. Zelazo library( ISwR ) data(" zelazo ") zelazo_df <- stack( zelazo ) anova2 <- aov (values ~ ind , data= zelazo_df ) summary(anova2) The ANOVA with values given by the Zelazo material show an F value of about 1.78 and a p-value of .175. This is greater than .05 so that there is no real difference between the f...