TTEST Function
Return the probability of a Student's t-test, which tells whether two samples are likely to come from populations with the same mean. TTEST is the compatibility version of T.TEST and returns the same result. tails is 1 for a one-tailed or 2 for a two-tailed test; type is 1 for a paired test, 2 for equal variance or 3 for unequal variance. Another tails or type returns #NUM!.
Syntax
TTEST(array1, array2, tails, type)
Category: Statistics. Minimum arguments: 4. Maximum arguments: 4.
Available for supported offline calculation.
Examples
=TTEST({1,2,3},{2,4,6},2,2)
The formula returns 0.1962611781, the two-tailed probability of a test with equal variance.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.