TINV function

Returns the two-tailed inverse of the Student's t-distribution.

Important   This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality.

For more information about the new functions, see T.INV.2T function or T.INV function.

Syntax

TINV(probability,deg_freedom)

The TINV function syntax has the following arguments:

  • Probability     Required. The probability associated with the two-tailed Student's t-distribution.

  • Deg_freedom     Required. The number of degrees of freedom with which to characterize the distribution.

Remarks

  • If either argument is nonnumeric, TINV returns the #VALUE! error value.

  • If probability <= 0 or if probability > 1, TINV returns the #NUM! error value.

  • If deg_freedom is not an integer, it is truncated.

  • If deg_freedom < 1, TINV returns the #NUM! error value.

  • TINV returns that value t, such that P(|X| > t) = probability where X is a random variable that follows the t-distribution and P(|X| > t) = P(X < -t or X > t).

  • A one-tailed t-value can be returned by replacing probability with 2*probability. For a probability of 0.05 and degrees of freedom of 10, the two-tailed value is calculated with TINV(0.05,10), which returns 2.28139. The one-tailed value for the same probability and degrees of freedom can be calculated with TINV(2*0.05,10), which returns 1.812462.

    Note    In some tables, probability is described as (1-p).

    Given a value for probability, TINV seeks that value x such that TDIST(x, deg_freedom, 2) = probability. Thus, precision of TINV depends on precision of TDIST. TINV uses an iterative search technique. If the search has not converged after 100 iterations, the function returns the #N/A error value.

Example

The example may be easier to understand if you copy it to a blank worksheet.

How do I copy an example?

  1. Select the example in this article.

    Important   Do not select the row or column headers.

    selecting an example from help

    Selecting an example from Help

  2. Press CTRL+C.

  3. In Excel, create a blank workbook or worksheet.

  4. In the worksheet, select cell A1, and press CTRL+V.

    Important   For the example to work properly, you must paste it into cell A1 of the worksheet.

  5. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.

After you copy the example to a blank worksheet, you can adapt it to suit your needs.

1


2

3

4


5

A

B

Data

Description

0.054644927

Probability associated with the two-tailed Student's t-distribution

60

Degrees of freedom

Formula

Description (Result)

=TINV(A2,A3)

t-value of the Student's t-distribution for the terms above (1.959999998)

Applies To: Excel 2010, Excel Starter, Excel Online, SharePoint Online



Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Support resources

Change language