What I did

What I learned

\[H_0 : \mu_1 - \mu_2 = 0 \\ \text{Pooled} \\ t = \frac{\bar{x_1} - \bar{x_2}}{S_p \sqrt{1/n_1 + 1/n_2}} \\ S_p = \sqrt{\frac{(n-1)s_1^2 + (n-2)s_2^2 }{n_1 + n_2 - 2}} \\ \text{Unpooled} \\ t = \frac{\bar{x_1} - \bar{x_2}}{\sqrt{s_1^2/n_1 + s_2^2/n_2}} \\ df = DOF \\ = (\text{there's an exact formula, but its long. Just pick the smaller of } n_1 - 1 \text{ and } n_2 - 1)\]

This means that the confidence interval of (1-\(\alpha\))% is:

\[(\overline{x}_1 - \overline{x}_2) \pm t_{\alpha/2} \sqrt{\sigma_1^2/n_1 + \sigma_2^2/n_2}\]

for a two tailed hypothesis test, where t is calculated from the degrees of freedom I mentioned above.

What I will do next