matlab 卡方分布请问在matlab里怎么计算卡方分布的值?比如 alpha=0.05时那么卡方分布 1-alpha/2(n)怎么计算?alpha/2 是下标多谢指点

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/30 10:08:36

matlab 卡方分布请问在matlab里怎么计算卡方分布的值?比如 alpha=0.05时那么卡方分布 1-alpha/2(n)怎么计算?alpha/2 是下标多谢指点
matlab 卡方分布
请问在matlab里怎么计算卡方分布的值?
比如 alpha=0.05时
那么卡方分布 1-alpha/2(n)怎么计算?alpha/2 是下标
多谢指点

matlab 卡方分布请问在matlab里怎么计算卡方分布的值?比如 alpha=0.05时那么卡方分布 1-alpha/2(n)怎么计算?alpha/2 是下标多谢指点
1-chi2cdf(alpha/2,n)
注:
CHI2CDF Chi-square cumulative distribution function.
P = CHI2CDF(X,V) returns the chi-square cumulative distribution
function with V degrees of freedom at the values in X.
The chi-square density function with V degrees of freedom,
is the same as a gamma density function with parameters V/2 and 2.
The size of P is the common size of X and V.A scalar input
functions as a constant matrix of the same size as the other input.