The two sample t-test is a hypothesis test used to to compare the means of two reasonably small (30 or less) samples to see if it is feasible that they come from the same population. The hypothesis is:
H0 the population means are equal
H1 the popular means are different
The test is:
Step 1: calculate the pooled standard deviation:
Step 2: calculate the t statistic:
The degrees of freedom:
|
sample means |
n1, n2 |
sample sizes |
s1, s2 |
sample standard deviations |
ν |
degrees of freedom |
See also Paired t-Test and One Sample t-Test
|