chi2inv
卡方逆累积分布函数
说明
示例
输入参数
p
— 用于计算 icdf 的概率值
[0,1]
中的标量值 | 标量值组成的数组
输出参量
详细信息
卡方 icdf
卡方分布是一个单参数曲线族。参数 ν 是自由度。
卡方分布的 icdf 为
其中
ν 是自由度,Γ( · ) 是 gamma 函数。结果 p 是来自自由度为 ν 的卡方分布的单个观测值落在区间 [0, x] 内的概率。
有关详细信息,请参阅Chi-Square Distribution。
替代功能
chi2inv
是卡方分布特有的函数。Statistics and Machine Learning Toolbox™ 还提供泛型函数icdf
,它支持各种概率分布。要使用icdf
,请指定概率分布名称及其参数。请注意,分布特有的函数chi2inv
比泛型函数icdf
的执行速度要快。
扩展功能
C/C++ 代码生成
使用 MATLAB® Coder™ 生成 C 代码和 C++ 代码。
GPU 数组
通过使用 Parallel Computing Toolbox™ 在图形处理单元 (GPU) 上运行来加快代码执行。
此函数完全支持 GPU 数组。有关详细信息,请参阅Run MATLAB Functions on a GPU (Parallel Computing Toolbox)。
版本历史记录
在 R2006a 之前推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)