SpreadJS Documentation > Formula Reference > Formula Functions > T.TEST |
This function returns the probability associated with a t-test.
T.TEST(array1,array2,tails,type)
This function has these arguments:
Argument | Description |
---|---|
array1 | Array of values in first data set |
array2 | Array of values in second data set |
tails | Number of tails |
type | Type of t-test to perform (1, 2, or 3) |
The tails and type arguments are truncated to integers. The #VALUE! error value is returned if tails or type is nonnumeric.
Accepts numeric data for all arguments. Returns numeric data.
T.TEST(A1:A17,B1:B17,4,3)
T.TEST({2,2,2,3,4},{2,3,3,4,5},1,2) gives the result 0.1260360000000153