Enums for statistics

This commit is contained in:
Marcel Kronfeld committed 2011-05-04 13:03:01 +00:00
1 parent 753fd6ca9e
commit 8852b8c8e9
2 files changed
+21

No files matched your search

@@ -0,0 +1,9 @@
package eva2.server.stat;
public enum StatsOnSingleDataSetEnum {
mean, median, variance, stdDev;
public static String[] getInfoStrings(){
return new String[] {"The mean value", "The median value", "The variance", "The standard deviation"};
}
}
@@ -0,0 +1,12 @@
package eva2.server.stat;
public enum StatsOnTwoSampledDataEnum {
tTestEqLenEqVar, tTestUneqLenEqVar, tTestUneqLenUneqVar, mannWhitney;
public static String[] getInfoStrings(){
return new String[] {"Two-sampled t-Test with equal sized data sets",
"Two-sampled t-Test with unequal sized data sets",
"Two-sampled t-Test with unequal data sets and unequal variances",
"Two-sampled Mann-Whitney test"};
}
}