T.TEST

Returns the probability associated with t-test. Determines whether two samples are likely to have come from the same two underlying populations that have the same mean.

Sample Usage

T.TEST(A1:A4, B1:B4, 2, 1)

Syntax

T.TEST(range1, range2, tails, type)

  • range1 - The first sample of data or group of cells to consider for the t-test.

  • range2 - The second sample of data or group of cells to consider for the t-test.

  • tails - Specifies the number of distribution tails.

    • If1: uses a one-tailed distribution.

    • If2: uses a two-tailed distribution.

  • type - Specifies the type of t-Test.

    • If1: a paired test is performed.

    • If2: a two-sample equal variance (homoscedastic) test is performed.

    • If3: a two-sample unequal variance (heteroscedastic) test is performed.

Notes

  • tails andtype must be numeric.

  • range1 andrange2 must have the same number of data points.

  • T.TEST uses the data inrange1 andrange2 to compute a non-negative test. Iftails is set to1,T.TEST returns the probability of a higher value of the t-statistic under the assumption thatrange1 andrange2 are samples from populations with the same mean. The value returned byT.TEST whentails is set to 2 is double that returned whentails is set to1 and corresponds to the probability of a higher absolute value of the t-statistic under the "same population means" assumption.

  • You can useTTEST orT.TEST to perform this function. 

Examples

In this example, a paired, two-tailed t-Test is computed on a student's first and second quarter grades.

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.