Enums for statistics
This commit is contained in:
parent
753fd6ca9e
commit
8852b8c8e9
9
src/eva2/server/stat/StatsOnSingleDataSetEnum.java
Normal file
9
src/eva2/server/stat/StatsOnSingleDataSetEnum.java
Normal 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"};
|
||||||
|
}
|
||||||
|
}
|
12
src/eva2/server/stat/StatsOnTwoSampledDataEnum.java
Normal file
12
src/eva2/server/stat/StatsOnTwoSampledDataEnum.java
Normal 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"};
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user