Class ContTable
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.algorithms.exact_fisher_test.ContTable
public class ContTable extends Object
-
Constructor Summary
Constructors Constructor Description ContTable(int a, int b, int c, int d, boolean swapIfNeeded)
-
Method Summary
Modifier and Type Method Description FisherProbability
getOneAndTwoSidedFisherProbability(boolean alsoCalcTwoSided)
One and two sided Fisher test Calculate the probability of given arrangement or any more extreme arrangement.static BigDecimal
getPvalueForGivenTable(int a, int b, int c, int d)
String
toString()
-
Constructor Details
-
ContTable
public ContTable(int a, int b, int c, int d, boolean swapIfNeeded)
-
-
Method Details
-
toString
-
getOneAndTwoSidedFisherProbability
One and two sided Fisher test Calculate the probability of given arrangement or any more extreme arrangement. The p-value for the same or a stronger association.- Parameters:
calculationCache
-- Returns:
- P one and two sided
-
getPvalueForGivenTable
-