K样本r包中Anderson-Darling的事后多重比较测试
我在r中使用kSamples包来比较多个分布(>2个分布)。包中提供的测试测试了样本来自同一分布的无效假设。但是这个软件包似乎没有提供一个函数来进行多重比较,以确定哪些分布是不同的 非常感谢您的帮助。我也愿意使用其他测试和软件包,所以请继续你的建议 最小测试用例:K样本r包中Anderson-Darling的事后多重比较测试,r,statistics,posthoc,kolmogorov-smirnov,R,Statistics,Posthoc,Kolmogorov Smirnov,我在r中使用kSamples包来比较多个分布(>2个分布)。包中提供的测试测试了样本来自同一分布的无效假设。但是这个软件包似乎没有提供一个函数来进行多重比较,以确定哪些分布是不同的 非常感谢您的帮助。我也愿意使用其他测试和软件包,所以请继续你的建议 最小测试用例: b <- rgamma(200,10,2) c <- rnorm(100,20,2) d <- rnorm(50,10,2) ad.test(b, c, d) Anderson-Darling k-sample
b <- rgamma(200,10,2)
c <- rnorm(100,20,2)
d <- rnorm(50,10,2)
ad.test(b, c, d)
Anderson-Darling k-sample test.
Number of samples: 3
Sample sizes: 200, 100, 50
Number of ties: 0
Mean of Anderson-Darling Criterion: 2
Standard deviation of Anderson-Darling Criterion: 1.06984
T.AD = ( Anderson-Darling Criterion - mean)/sigma
Null Hypothesis: All samples come from a common population.
AD T.AD asympt. P-value
version 1: 157 144.9 7.351e-90
version 2: 157 145.0 2.480e-90