java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.algorithms.exact_fisher_test.ContTable

public class ContTable
extends Object
  • Constructor Details

    • ContTable

      public ContTable​(int a, int b, int c, int d, boolean swapIfNeeded)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getOneAndTwoSidedFisherProbability

      public FisherProbability getOneAndTwoSidedFisherProbability​(boolean alsoCalcTwoSided)
      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

      public static BigDecimal getPvalueForGivenTable​(int a, int b, int c, int d)