#generate statistics and test results, and print them
ind.stat = hhg.univariate.ind.stat(1:20,1:20,variant = 'ADP',
aggregation.type = 'sum',score.type = 'both',mmax = 5)
print(ind.stat)
ks.stat = hhg.univariate.ks.stat(1:50,sample(c(rep(0,25),rep(1,25))),
aggregation.type = 'both',score.type = 'both',mmax = 10)
print(ks.stat)
if (FALSE) {
ind.combined = hhg.univariate.ind.combined.test(1:20,1:20,
combining.type = 'Both',mmax = 5,nr.perm = 100)
print(ind.combined)
}
ks.combined = hhg.univariate.ks.combined.test(1:50,
sample(c(rep(0,25),rep(1,25))),combining.type = 'Both')
print(ks.combined)
Run the code above in your browser using DataLab