Sum=Average=∑ixij2=St.Dev=SS=n=Drug A476343274.51351.64313.56Drug B91112810116110.1676311.47210.8336Drug C867657396.52591.0495.56
xˉ=n1i∑xis2=n−11i∑(xi−xˉ)2xˉA=4.5,sA2=2.7,nA=6
xˉB=661,sB2=613,nB=6
xˉC=6.5,sC2=1.1,nC=6
The total sample size is N=18. Therefore, the total degrees of freedom are:
dftotal=18−1=17Also, the between-groups degrees of freedom are dfbetween=3−1=2 , and the within-groups degrees of freedom are:
dfwithin=dftotal−dfbetween=17−2=15 Compute the total sum of values and the grand mean. The following is obtained
i,j∑xij=27+61+39=127The sum of squared values is
i,j∑xij2=135+631+259=1025The total sum of squares is computed as follows
SStotal=i,j∑xij2−N1(i,j∑xij)2=1025−181272=128.944 The within sum of squares is computed as shown in the calculation below:
SSwithin=∑SSwithin groups==13.5+10.833+5.5=29.833The between sum of squares is computed directly as shown in the calculation below:
The between sum of squares is computed directly as shown in the calculation below:
Now that sum of squares are computed, we can proceed with computing the mean sum of squares:
MSbetween=dfbetweenSSbetween=2128.944−29.833=49.556
MSwithin=dfwithinSSwithin=1529.833=1.989 The F-statistic is computed as follows:
F=MSwithinMSbetween=1.98949.556=24.916 The following null and alternative hypotheses need to be tested:
H0:μ1=μ2=μ3
H1: Not all means are equal
The above hypotheses will be tested using an F-ratio for a One-Way ANOVA.
Based on the information provided, the significance level is α=0.01, and the degrees of freedom are df1=2,df2=2, therefore, the rejection region for this F-test is R={F:F>FC=6.359}
Since it is observed that F=24.916>6.359=FC, it is then concluded that the null hypothesis is rejected. Therefore, there is enough evidence to claim that not all 3 population means are equal, at the α=0.01 significance level.
Using the P-value approach: The p-value is p=0, and since p=0<0.01, it is concluded that the null hypothesis is rejected. Therefore, there is enough evidence to claim that not all 3 population means are equal, at the α=0.01 significance level.
Comments