In: Math
Placebo (0 mg) |
Drug (2 mg) |
Drug (4 mg) |
Drug (6 mg) |
4 |
7 |
16 |
17 |
7 |
8 |
14 |
18 |
11 |
13 |
12 |
13 |
11 |
6 |
11 |
17 |
7 |
9 |
15 |
20 |
10 |
9 |
13 |
15 |
Null and Alternative Hypothesis:
H0: µPlacebo = µDrug 2mg = µDrug 4mg= µDrug 6mg
H1: Not all Means are equal
Alpha = 0.05
N = 24
n = 6
Degress of Freedom:
dfBetween = a – 1 = 4-1 =3
dfWithin = N-a = 24-4 = 20
dfTotal = N-1 = 24-1 = 23
Critical Values:
Time (dfBetween, dfWithin): (3,20) = 3.10
Decision Rule:
If F is greater than 3.10, reject the null hypothesis
Test Statistics:
SSBetwen = ∑(∑ai)2/n - T2/N = 290.46
SSWithin = ∑(Y)2 - ∑(∑ai)2/n = 115.50
SSTotal = SSBetwen + SSWithin = 405.96
MS = SS/df
F = MSeffect / MSerror
Hence,
F = 96.82/5.78 = 16.77
Source of Variation |
SS |
df |
MS |
F |
Between Groups |
290.46 |
3 |
96.82 |
16.77 |
Within Groups |
115.50 |
20 |
5.78 |
|
Total |
405.96 |
23 |
Result:
Our F = 16.77, we reject the null hypothesis
Conclusion:
Not all means are equal.
Post- Hoc Test:
I will be using Tukey HSD (Honestly Significant Difference):
HSD = q *Sqrt (MS Within /n)
q is calculated from q table using (No of Groups vs degrees of freedom of error)
where q is 3.96,
Hence, HSD = 3.89
µPlacebo = 8.33
µDrug 2mg = 8.67
µDrug 4mg = 13.50
µDrug 6mg = 16.67
Pairs:
Placebo and Drug 2mg
Mod(µPlacebo - µDrug 2mg)= mod(8.33 – 8.67) = 0.33 which is less than HSD, hence they are not different
Placebo and Drug 4mg
Mod(µPlacebo - µDrug 4mg)= mod(8.33 – 13.5) = 5.17 which is greater than HSD, hence they are different
Placebo and Drug 6mg
Mod(µPlacebo - µDrug 6mg)= mod(8.33 – 16.67) = 8.33 which is greater than HSD, hence they are different
Drug 2mg and Drug 4mg
Mod(µDrug 2mg - µDrug 4mg)= mod(8.67 – 13.5) = 4.83 which is greater than HSD, hence they are different different
Drug 2mg and Drug 6mg
Mod(µDrug 2mg - µDrug 6mg)= mod(8.67 – 16.67) = 8 which is greater than HSD, hence they are different different
Drug 4mg and Drug 6mg
Mod(µDrug 4mg - µDrug 6mg)= mod(13.5 – 16.67) = 3.17 which is less than HSD, hence they are not different
So, Students with Drug 4mg and Drug 6mg perform better than Placebo