In: Statistics and Probability
Perform the appropriate Hypothesis Test for the following (Be sure to have a null hypothesis (H0) and alternate hypothesis; (H1). Explain how to find test statistic and P-value on the calculator; also Interpret the results (i.e. Reject or Fail to Reject H0), (Is or Is not significant evidence to support the claim H1).
You want to see if all three college algebra classes have the same mean. Use the following data to test your claim at a .01 significance level.
Class 1: 86 87 91 78 52 85 82 83 84
Class 2: 91 77 75 85 82 88 98 23 35
Class 3: 86 92 95 98 36 54 63 99 81
Thanks!
We do ANOVA to determine whether the means are different:
R code below.
C1 = c(86,87,91,78 ,52,85,82,83,84)
C2 = c(91,77,75,85,82,88,98,23,35 )
C3 = c(86,92,95,98,36,54,63,99,81)
dati = c(C1,C2,C3)
groups = factor(rep(letters[1:3],c(9,9,9)))
fit = lm(formula = dati ~ groups)
fit
anova (fit)
Analysis of Variance Table
Response: dati
Df Sum Sq Mean Sq F value Pr(>F)
groups 2 316.7 158.37 0.3667 0.6969
Residuals 24 10366.4 431.94
The p-value of the test is . Since the p-value , The null hypothesis is accepted. There is no diference between the three college algebra classes .