1. Home
  2. Functions
  3. Statistical
  4. T.TEST

T.TEST function

Returns the probability from a Student's t test that two samples come from populations with the same mean.

Syntax

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

Arguments

ArgumentRequiredDescription
array1RequiredThe first sample
array2RequiredThe second sample
tailsRequired1 for a one tailed test, 2 for two tailed
typeRequired1 paired, 2 equal variance, 3 unequal variance

How to use T.TEST

T.TEST takes 4 required arguments. Type =T.TEST( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=T.TEST({3,4,5,8,9,1,2,4,5}, {6,19,3,2,14,4,5,17,1}, 2, 1)Result 0.196015785

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.