The Gnumeric Manual
<<< Previous |  | Next >>>

# TTEST

## Name

TTEST --

## Synopsis

    TTEST(array1,array2,tails,type)

## Description

TTEST function returns the probability of a Student's t-Test.

@array1 is the first data set and @array2 is the second data set. If @tails is one, TTEST uses the one-tailed distribution and if @tails is two, TTEST uses the two-tailed distribution. @type determines the kind of the test:

1 Paired test

2 Two-sample equal variance

3 Two-sample unequal variance

If the data sets contain a different number of data points and the test is paired (@type one), TTEST returns the #N/A error. @tails and @type are truncated to integers. If @tails is not one or two, TTEST returns #NUM! error. If @type is any other than one, two, or three, TTEST returns #NUM! error.

This function is Excel compatible.

## Examples

Let us assume that the cells A1, A2, ..., A5 contain numbers 11.4, 17.3, 21.3, 25.9, and 40.1, and the cells B1, B2, ... B5 23.2, 25.8, 29.9, 33.5, and 42.7. Then

TTEST(A1:A5,B1:B5,1,1) equals 0.003127619.

TTEST(A1:A5,B1:B5,2,1) equals 0.006255239.

TTEST(A1:A5,B1:B5,1,2) equals 0.111804322.

TTEST(A1:A5,B1:B5,1,3) equals 0.113821797.

## See also

FDIST, FINV.

<<< Previous | Home | Next >>>
TRUNC | Up | TYPE