
In statistics, the 2-Sample "t" Test test the equality of the means of two populations (u1 and u2) based on independent samples when neither population standard deviation is known.
| Formula | ![]() |
Two-sample t test for independent samples:
| Input: | x1 = 27.6 | x2 = 22.1 |
| S1² = 25.4 | S2² =22.2 | |
| n1 = 10 | n2 = 10 |
| Output: | t = 2.52 |
| Display: | ||
| x1 = 27.6 | ||
| S1² = 25.4 | ||
| n1 = 10 | ||
| x2 = 22.1 | ||
| S2² = 22.2 | ||
| n2 = 10 | ||
| t = 2.5209 |
| Input: | L1 = 10, 9, 9, 8, 7, 7, 7, 6, 6, 5, 3, 2 |
| n1 = 12 | x1 = 6.58 | S1² = 5.72 |
| L2 = 14, 13, 13, 13, 12, 12, 10, 8, 8, 7, 7, 5, 5 |
| n2 = 13 | x2 = 9.77 | S2² = 10.53 |
| Output: | t = -2.77 |
| Display: | ||
| n1 = 12 | ||
| x1 = 6.5833 | ||
| S1² = 5.7197 | ||
| n2 = 13 | ||
| x2 = 9.7692 | ||
| S2² = 10.5256 | ||
| t = -2.7746 |