Returns the probability associated with a T-test. Calculates the likelihood that two samples have come from the same two underlying populations having the same mean.
Syntax
data1: The first array or data range. Eg., A2:A6
data2: The second array or data range. Eg., B2:B6
mode: Specifies the type of distribution.
1 - one-tailed distribution
2 - two-tailed distribution
type: Determines the type of test to perform.
1 - Paired samples
2 - Two samples with equal variance (homoscedastic)
Examples
|
Formula |
Result |
|
=TTEST(A2:A6;B2:B6;C2;D2) |
0.035241998 |
|
=TTEST(A2:A6;B2:B6;C3;D3) |
0.317809755 |
|
=TTEST(A2:A6;B2:B6;C4;D4) |
0.316641349 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
|
#NUM! |
|
Similar Functions
ZTEST