Tricks to make sure tests aren’t applied blindly
include_graphics("https://uwmadison.box.com/shared/static/06qu4t1q6jemmwto01vgd95jtzd0if3e.png")
include_graphics("https://uwmadison.box.com/shared/static/uzh72egfwwp251xzac932cej6kna1woz.png")
This is unfortunately not exactly \(t\)-distributed under the null. That said, the reference distribution can be well approximated by one, and almost any statistical package will let you compute corresponding \(p\)-values and confidence intervals.
What if the variances are known? In this case, we can avoid using \(S_1\) and \(S_2\). Instead, we ought to standardize using the known standard deviations. Since there’s no additional randomness coming from estimation, the reference distribution is a standard normal, not a \(t\)-distribution.