# ChiInv - 脚本和图表函数

`ChiInv()` 用于返回单尾 chi^2^ 分布概率的相反值。

语法：

CHIINV(prob, degrees\_freedom)

返回数据类型： 数字

参数：

参数

| 参数 | 说明 |
| --- | --- |
| prob | 与 chi^2^ 分布相关联的概率。必须为一个介于 0 和 1 之间的值。 |
| degrees\_freedom | 表示自由度数的整数。 |

此函数通过以下方式与 ChiDist 函数关联：   
`If prob = CHIDIST(value,df), 
 then CHIINV(prob, df) = value`

限制：

所有参数均必须为数字，如不是则会返回 NULL 值。

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

#### 示例和结果：

| 示例 | 结果 |
| --- | --- |
| CHIINV(0.9237827,<br>15 ) | 返回 8.0000 |

## 了解详情

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