Generally, we compare two inde
Generally, we compare two independent sample means viaindependent two-sample t test. Is it possible to compare twoindependent sample means using ANOVA? please give me adifferent answer/ explanation. I know someone already asked aboutthis question here, please don’t copy it and give me the sameanswer. THANKS.
Answer:
Yes, it is possible to compare two independent sample meansusing ANOVA
In fact
t^2 = F
t is Test statistic for t-test Two-Sample Assuming EqualVariances
F is test statistic for Anova: Single Factor
p-value remains same for both test
random data
24 | 26 |
62 | 61 |
37 | 38 |
91 | 88 |
Anova: Single Factor | ||||||
SUMMARY | ||||||
Groups | Count | Sum | Average | Variance | ||
Column 1 | 4 | 214 | 53.5 | 873.6667 | ||
Column2 | 4 | 213 | 53.25 | 747.5833 | ||
ANOVA | ||||||
Source of Variation | SS | df | MS | F | P-value | F crit |
Between Groups | 0.125 | 1 | 0.125 | 0.000154 | 0.990495 | 5.987378 |
Within Groups | 4863.75 | 6 | 810.625 | |||
Total | 4863.875 | 7 |
t-Test: Two-Sample Assuming Equal Variances | ||
Variable 1 | Variable 2 | |
Mean | 53.5 | 53.25 |
Variance | 873.6666667 | 747.5833333 |
Observations | 4 | 4 |
Pooled Variance | 810.625 | |
Hypothesized Mean Difference | 0 | |
df | 6 | |
tStat | 0.01241781 | 0.000154202 |
P(T<=t) one-tail | 0.49524744 | |
tCritical one-tail | 1.943180281 | |
P(T<=t) two-tail | 0.990494879 | |
tCritical two-tail | 2.446911851 |