Hypoth_lillietest
简述
在alpha的显著性水平下进行lillietest检验,检验序列是否服从正态分布或对数分布(分布参数估计出来),Hypothesis为测试结果,若Hypothesis=1,则认为服从;Hypothesis=0,可以认为不服从该分布
Hypoth_lillietest(data:Array of Real;alpha:Real;distr:String):Array;
名称 | 类型 | 说明 |
---|
data | Array of Real | 样本数据,一维数字数组 |
alpha | Real | 显著性水平,实数或整数,在01之间 |
distr | String | 分布函数类型,字符串数据,有"norm"、"exp"
返回结果:
ret[""kstat"]:统计量
ret["cv"]:检验统计量的临界值
ret["P-Value"]:检验的P值
ret["Hypothesis"]:是否服从设定的分布 |
Return Hypoth_lillietest(array(9.4000,8.8000, 9.6000,10.2000,
10.1000,7.2000 ,11.1000,8.2000,
8.6000,9.6000),
0.05, "norm");
结果:
NormPlot Hypoth_Kstest