public class KruskalWallis extends Object
| Constructor and Description |
|---|
KruskalWallis() |
| Modifier and Type | Method and Description |
|---|---|
static int |
dof(cern.colt.list.DoubleArrayList scores,
cern.colt.list.IntArrayList groupings) |
static double |
kwStatistic(cern.colt.list.DoubleArrayList scores,
cern.colt.list.IntArrayList groupings) |
static double |
test(cern.colt.list.DoubleArrayList scores,
cern.colt.list.IntArrayList groupings)
Perform a Kruskal-Wallis one-way ANOVA.
|
public static int dof(cern.colt.list.DoubleArrayList scores,
cern.colt.list.IntArrayList groupings)
scores - groupings - public static double kwStatistic(cern.colt.list.DoubleArrayList scores,
cern.colt.list.IntArrayList groupings)
scores - groupings - public static double test(cern.colt.list.DoubleArrayList scores,
cern.colt.list.IntArrayList groupings)
Implementation note: Does not make special corrections for ties, though ties are given the averaged ranks. Completely bare-bones. Missing values are not tolerated well.
scores - groupings - integer indicators of which values are in which groups. The actual values don't matter.Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.