I want to prove that there is an equality of the ANOVA with 2 levels and t-test. So:
From the t-test we know that:
$$t=\frac{\overline{x}_1-\overline{x}_2}{\sqrt{\frac{S_1^2}{n_1}-\frac{S_1^2}{n_1}}} \sim t(n_1+n_2-2)$$ And we know for a fact that if a statistic is t-distributed => $\mu=0$.
Now for ANOVA with 2 levels we should have a null hypothesis: $$H_0:\mu_0=\mu_1$$
And I guess from this hypothesis we should get something out but I have no idea.
Can someone please show me a prove that this statement is true ?
I'm guessing that you have never looked carefully at the formulas for a pooled two-sample t test or for a one-way ANOVA. (And that one purpose of assigning this problem is to get you to do that.) Below both procedures are computed in Minitab statistical software. The data are ten normal observations in group A and ten in group B. I suggest you look at the formulas and use them to compute what Minitab has computed. Then I'm guessing you will understand what you need to do.
Data. Fake data were simulated as follows: A ~ NORM(100, 10), B ~ NORM(105, 10). So $\mu_1 \ne \mu_2$ and $H_0$ is false. However, with population SD $\sigma = 10$ there is not enough information with only $n = 10$ replications in each group to detect that $H_0$ is false.
Pooled (equal pop variances) two-sided two-sample t test. You should compute pooled SD $S_p$ and T-value.
One-factor ANOVA, two levels of factor. You should compute MS(Factor) and MS(Error). In the ANOVA table below these values are slightly rounded. Note the relationships of MS(Factor) to the numerator of the T statistic (above) and MS(Error) to the denominator of the T statistic. The F statistic is the ratio of MS(Factor) to MS(Error). Verify that the pooled SD is the square root of MS(Error). Notice that the P-value is exactly the same here as for the t test above.