# 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, 15 ) | 傳回 8.0000 |

## 瞭解更多資訊

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