Respuesta :
Answer:
[tex] SS_{total}= 3518[/tex]
[tex] SS_{between}= 1488[/tex]
The degrees of freedom for the numerator on this case is given by [tex]df_{num}=df_{within}=k-1=3-1=2[/tex] where k =3 represent the number of groups.
[tex] MS_{between}= \frac{1488}{2}= 744[/tex]
[tex] SS_{within}= SS_{total}- SS_{Between}= 3518-1488= 2030[/tex]
[tex] MS_{within}=MS_{error}= \frac{2030}{15}= 135.3[/tex]
[tex] F = \frac{MS_{Between}}{MS_{within}}= \frac{744}{135.333}= 5.50[/tex]
For this case since the p value is lower than the significance level of 0.05 we can reject the null hypothesis that the means are equal.
Source variation SS df MS F pv
__________________________________________
Treatments 1488 2 744 5.50 0.016
Within groups 2030 15 135.3
_________________________________________
Total 3518 17
Step-by-step explanation:
For this case we assume the following data:
A: 162, 142, 165, 145, 148, 174
B: 142, 156, 124, 142, 136, 152
C: 126, 122, 138, 140, 150, 128
We have the following statistics given:
[tex] \bar X_A = 156, \bar X_B = 142, \bar X_C = 134[/tex]
[tex] s^2_A= 164.6 , s^2_B = 131.2, s^2_C = 110.4[/tex]
Analysis of variance (ANOVA) "is used to analyze the differences among group means in a sample".
The sum of squares "is the sum of the square of variation, where variation is defined as the spread between each individual value and the grand mean"
If we assume that we have [tex]3[/tex] groups and on each group from [tex]j=1,\dots,j[/tex] we have [tex]j=6[/tex] individuals on each group we can define the following formulas of variation:
[tex]SS_{total}=\sum_{j=1}^p \sum_{i=1}^{n_j} (x_{ij}-\bar x)^2 [/tex]
For this case the grand mean is given by:
[tex] \bar X= \frac{156+142+134}{3}= 144[/tex]
After replace we got that [tex] SS_{total}= 3518[/tex]
[tex]SS_{between}=SS_{model}=\sum_{j=1}^p n_j (\bar x_{j}-\bar x)^2 [/tex]
After replace we got: [tex] SS_{between}= 1488[/tex]
[tex]SS_{within}=SS_{error}=\sum_{j=1}^p \sum_{i=1}^{n_j} (x_{ij}-\bar x_j)^2 [/tex]
And we have this property
[tex]SST=SS_{between}+SS_{within}[/tex]
So then we can solve for the sum of squares within like this:
[tex] SS_{within}= SS_{total}- SS_{Between}= 3518-1488= 2030[/tex]
The degrees of freedom for the numerator on this case is given by [tex]df_{num}=df_{within}=k-1=3-1=2[/tex] where k =3 represent the number of groups.
The degrees of freedom for the denominator on this case is given by [tex]df_{den}=df_{between}=N-K=3*6-3=15[/tex].
And the total degrees of freedom would be [tex]df=N-1=3*6 -1 =17[/tex]
Now we can calculate the mean squares between and within like this:
[tex] MS_{between}= \frac{1488}{2}= 744[/tex]
[tex] MS_{within}=MS_{error}= \frac{2030}{15}= 135.3[/tex]
The F statistic is calculated from:
[tex] F = \frac{MS_{Between}}{MS_{within}}= \frac{744}{135.333}= 5.50[/tex]
And we ca calculate the p value like this since we knwo the degrees of freedom 2 for the numerator and 15 for the denominator:
[tex] p_v= P(F_{2,15} > 5.50) = 0.0161[/tex]
Then we can conplete the table:
Source variation SS df MS F pv
__________________________________________
Treatments 1488 2 744 5.50 0.016
Within groups 2030 15 135.3
_________________________________________
Total 3518 17
For this case since the p value is lower than the significance level of 0.05 we can reject the null hypothesis that the means are equal.