天软金融分析.NET函数大全 > TSL函数 > 数学函数 > 统计推断

Hypoth_lillietest    

简述
在alpha的显著性水平下进行lillietest检验,检验序列是否服从正态分布或对数分布(分布参数估计出来),Hypothesis为测试结果,若Hypothesis=1,则认为服从;Hypothesis=0,可以认为不服从该分布
定义
Hypoth_lillietest(data:Array of Real;alpha:Real;distr:String):Array;
参数
名称类型说明
dataArray of Real样本数据,一维数字数组
alphaReal显著性水平,实数或整数,在01之间
distrString分布函数类型,字符串数据,有"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 
相关