INSTRUCTIONS
Once the applet has finished loading, a "Lab-value" buttonwill appear
on the screen. This may take a minute or two depending on the speed of
your internet connection and computer. Please be patient. If no begin button
appears, it is probably because your browser does not support Java 1.1.
The two-sample t test is used for inferential procedures that compare the value of two population means. The assumptions that allow us to use a t(n1+n2-2) distribution as the sampling distribution of this test statistic are as follows:
t = ((X1bar - X2bar) - (mu1 - mu2))/square root(Sp square/n1 + Sp square/n2))
where Sp square is the pooled variance and is the estimator of the common value of the population variances.The pooled variance is calcaulated using
Sp square = ((n1-1)s1 square + (n2-1) s2 square)/(n1 + n2 - 2)
If the assumptions are satisfied, we can expect close agreement between the desired value of alpha(level of significance of a test) and the actual proportion of tests that result in rejecting the null hypothesis.