EXCEL TTEST FUNCTION

The Ttest function in Excel computes the probability associated with the Student’s T Test, which is often used to determine if two data sets are common from the same two underlying samples with the same mean.

Syntax :

=TTEST( array1, array2, tails, type )

Parameters :

  • array1 – The initial data collection.
    array2 – the next data set (must have the same length as array1).
    tails – The distribution’s number of tails. This must be either:
    1 – Employs the one-tailed distribution
    2 – Makes use of the two-tailed distribution –

  • type – An integer indicating the kind of t-test. This might be either:

    1 – Paired T-Test
    2 – Two-sample equivalence T-Test
    3 – Two-sample uneven variance T-Test

Step By Step Guide of TTEST Function

Example :

For the two arrays of data, the probability associated with the Student’s paired t-test with a one-tailed distribution may be determined using the Excel Ttest function as follows:
=TTEST(B1:B13,A1:A13,1,1)

This yields the value 0.367357504.

The following formula calculates the probability associated with the Student’s paired t-test using a two-tailed distribution for the identical two data arrays:
=TTEST(A2:A10,B2:B10,2,1)

This yields the value 0.455366344.

TTest Function
  • #N/A – Occurs if the lengths of the two given arrays disagree.

  • #NUM! – If any of the following criteria is encountered: The tails argument given can have any value other than 1 or 2. or The given type parameter is not one of one, two, or three.

  • #VALUE! – Occurs when either the supplied tails or type arguments are non-numeric.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now