Independent samples t test
Do the means of two separate groups differ? The independent samples t test compares two groups consisting of different people. In its standard form a common variance is assumed, with n₁ + n₂ - 2 degrees of freedom.
Example: Group A: 12, 14, 15, 11, 13 (mean 13); group B: 16, 18, 15, 17, 19 (mean 17): t = -4.0 with 8 degrees of freedom, p = 0.004.
Caution: The groups must be independent. With unequal spreads the Welch test is safer.