作业帮 > 综合 > 作业

matlab 卡方分布

来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/09/23 03:23:41
matlab 卡方分布
请问在matlab里怎么计算卡方分布的值?
比如 alpha=0.05时
那么卡方分布 1-alpha/2(n)怎么计算?alpha/2 是下标
多谢指点
matlab 卡方分布
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.