Class StatisticalTest
- java.lang.Object
-
- moa.gui.experimentertab.statisticaltests.StatisticalTest
-
public class StatisticalTest extends Object
- Author:
- Alberto Verdecia Cabrera (averdeciac@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description StatisticalTest(List<Stream> streams)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
avgPerformance()
Compute the average ranking of the algorithms.double
getFriedmanPValue()
Return the p-value computed by Friedman test.double
getImanPValue()
Return the p-value Iman and Daveport test.ArrayList<RankPerAlgorithm>
getRankAlg()
Return the ranking of the algorithms.ArrayList<PValuePerTwoAlgorithm>
holmTest()
Return the p-values computed by the Holm test.ArrayList<PValuePerTwoAlgorithm>
nemenyiTest()
Return the p-values computed by the Nemenyi test.void
readCSV(String path)
Read a csv file from an path.void
readData()
Read data from experiments sumaries.ArrayList<PValuePerTwoAlgorithm>
shafferTest()
Return the p-values computed by the Shaffer test.
-
-
-
Method Detail
-
readCSV
public void readCSV(String path)
Read a csv file from an path.- Parameters:
path
-
-
readData
public void readData()
Read data from experiments sumaries.
-
avgPerformance
public void avgPerformance()
Compute the average ranking of the algorithms.
-
getFriedmanPValue
public double getFriedmanPValue()
Return the p-value computed by Friedman test.- Returns:
- pFriedman
-
getImanPValue
public double getImanPValue()
Return the p-value Iman and Daveport test.- Returns:
- pIman
-
getRankAlg
public ArrayList<RankPerAlgorithm> getRankAlg()
Return the ranking of the algorithms.- Returns:
- rankAlg
-
holmTest
public ArrayList<PValuePerTwoAlgorithm> holmTest()
Return the p-values computed by the Holm test.- Returns:
- algPValues
-
shafferTest
public ArrayList<PValuePerTwoAlgorithm> shafferTest()
Return the p-values computed by the Shaffer test.- Returns:
- algPValues
-
nemenyiTest
public ArrayList<PValuePerTwoAlgorithm> nemenyiTest()
Return the p-values computed by the Nemenyi test.- Returns:
- algPValues
-
-