TX Sheet Control

T.TEST Function

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. array1 and array2 are the two samples. tails is 1 for a one-tailed or 2 for a two-tailed test. type is 1 for a paired test, 2 for two samples with equal variance or 3 for two samples with unequal variance. Another tails or type returns #NUM!, and a paired test of samples with different sizes returns #N/A.

Syntax

T.TEST(array1, array2, tails, type)

Category: Statistics. Minimum arguments: 4. Maximum arguments: 4.

Available for supported offline calculation.

Examples

=T.TEST({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.

See Also