# TInv 指令碼與圖表函數

`TInv()` 以機率和自由度的函數傳回學生 `t` 分佈的 `t` 值。

語法：

TINV(prob, degrees\_freedom)

傳回的資料類型： 數字

引數：

引數

| 引數 | 描述 |
| --- | --- |
| prob | 與 t 分佈相關聯的雙尾機率。必須是介於 0 和 1 之間的數字。 |
| degrees\_freedom | 表示自由度數字的整數。 |

限制：

所有的引數必須都是數值，否則會傳回 NULL。

此函數與 TDist 函數的關係如下：   
`If prob = TDIST(value, df ,2), 
 then TINV(prob, df) = value`。

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalDistributionFunctions/TInv.htm)

#### 範例與結果：

| 範例 | 結果 |
| --- | --- |
| TINV(0.3253086, 30 ) | 傳回 1.0000 |

## 瞭解更多資訊

* [TDist 指令碼與圖表函數](https://help.qlik.com/zh-TW/sense/May2026/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalDistributionFunctions/TDist.htm)