a<-c(0.016164423,0.016043446,0.020511176,0.0147795,0.014269699,0.012927397,0.013895352,0.017014989,0.014669032,0.015399745,0.014298572,0.015061027,0.013833365,0.017791795,0.020587195,0.019895954,0.018823989,0.016265671,0.013964907,0.016804513,0.015244555,0.017796051,0.014688435,0.013727858,0.016954024,0.017309102,0.019454176,0.013767293,0.015682269,0.01403405,0.013330044,0.014778433,0.013914063,0.014778369,0.013120604,0.013242826,0.016329737,0.014071476,0.017393632,0.014669524,0.014740935,0.014234615,0.012968462,0.01297477,0.021959705,0.013290311,0.015289711,0.015825015,0.015586648,0.01325233,0.014874021,0.014912959,0.015972251,0.017505698,0.017592929,0.017574206,0.016689079,0.015479106,0.017050681,0.017907544,0.014509327,0.013266375,0.017787206,0.01485416,0.022448876,0.017828451,0.016445673,0.016579114,0.020136041,0.018729247,0.01744602,0.016920244,0.014348696,0.015799637,0.014969581,0.015616177,0.015036968,0.016408442,0.01660499,0.014981867,0.015564784,0.017075818,0.016085477,0.016397,0.015975352,0.014723705,0.015566999,0.015148208,0.013012068,0.01448979,0.014257123,0.014120186,0.016020445,0.017285482,0.018477293,0.016946268,0.014222045,0.01425948,0.0147407,0.015828775,0.01565053,0.014219824,0.014175535,0.019420299,0.022029744,0.021775453,0.024598956,0.018365883,0.018556209,0.022121511,0.01573623,0.020637613,0.015495398,0.021546275,0.017360605,0.0152732,0.015492911,0.024569672,0.019080228,0.023752201,0.016925356,0.01689025,0.014284567,0.01879753,0.017954178,0.019211601,0.015722331,0.012951724,0.013466722,0.01355591,0.015764237,0.013981366,0.017324122,0.015892206,0.017784625,0.01443855,0.018775632,0.014656737)
ks.test(a, "pnorm", mean = mean(a), sd = sqrt(var(a)))
One-sample Kolmogorov-Smirnov test
data: a
D = 0.10968, p-value = 0.07228
alternative hypothesis: two-sided
R正态检验代码
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...