Enums for statistics

This commit is contained in:
Marcel Kronfeld 2011-05-04 13:03:01 +00:00
parent 753fd6ca9e
commit 8852b8c8e9
2 changed files with 21 additions and 0 deletions

View File

@ -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"};
}
}

View File

@ -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"};
}
}