Module 8. Assignment
> stress_reaction <-c(10, 9, 8, 9, 10, 8, 8, 10, 6, 7, 8, 8, 4, 6, 6, 4, 2, 2) > stress_level <- factor(rep(c("High", "Moderate", "Low"), each = 6)) > data <- data.frame(StressReaction = stress_reaction, StressLevel = stress_level) > anova_result <-aov(StressReaction ~ StressLevel, data = data) > summary(anova_result) Df Sum Sq Mean Sq F value Pr(>F) StressLevel 2 82.11 41.06 21.36 4.08e-05 *** Residuals 15 28.83 1.92 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Question 1: The degree of freedom for the StressLevel are 2, and the Residuals are 15. The sum of squares for StressLevel are 82.11, and for the residuals, it is 28.83. The mean square for StressLevel is 41.06, and for Residuals it is 1.92. The F value is 21.36, and the p-value is 4.08e-05 (0.0000408). Since the p-value (0.0000408) is less than 0.05 we cannot conclude that stress levels affect the...