# TInv - script and chart function

TInv() returns the t-value of the Student's t-distribution as a function of the probability and the degrees of freedom.

Syntax:

TInv(prob, degrees\_freedom)

Return data type: number

Arguments:

TINV arguments

| Argument | Description |
| --- | --- |
| prob | A two-tailed probability<br>associated with the t-distribution. It must be a number between 0 and<br>1. |
| degrees\_freedom | An integer<br>stating the number of degrees of freedom. |

Limitations:

All arguments must be numeric, else NULL will be returned.

This function is related to the TDist function in the following way:   
`If prob = TDist(value, df ,2), 
 then TInv(prob, df) = value`.

Examples and results:

Examples and results

| Example | Result |
| --- | --- |
| TInv(0.3253086,<br>30 ) | Returns 1.0000 |

## Learn more

* [TDist - script and chart function](https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Scripting/StatisticalDistributionFunctions/TDist.htm)