# 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,<br>30 ) | 返回 1.0000 |

## 了解详情

* [TDist - 脚本和图表函数](https://help.qlik.com/zh-CN/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/StatisticalDistributionFunctions/TDist.htm)