java.lang.Object
java.lang.Enum<TestType>
de.uni_mannheim.informatik.dws.melt.matching_eval.evaluator.significance.TestType
All Implemented Interfaces:
Serializable, Comparable<TestType>, java.lang.constant.Constable

public enum TestType extends Enum<TestType>
The supported test types for McNemar significance tests.
  • Enum Constant Details

    • EXACT

      public static final TestType EXACT
      Exact McNemar test. Only use the exact test for very small datasets, the factorial quickly gets too large. If you want to use the exact tests for small datasets automatically, use the types with automatic fallback to the exact tests for small data (ASYMPTOTIC_EXACT_FALLBACK, ASYMPTOTIC_CONTINUITY_CORRECTION_EXACT_FALLBACK).
    • ASYMPTOTIC

      public static final TestType ASYMPTOTIC
      Asymptotic test. Works only if b + c > 25.
    • ASYMPTOTIC_EXACT_FALLBACK

      public static final TestType ASYMPTOTIC_EXACT_FALLBACK
      Asymptotic test. If b + c > 25, the exact test is used.
    • ASYMPTOTIC_CONTINUITY_CORRECTION

      public static final TestType ASYMPTOTIC_CONTINUITY_CORRECTION
      Asymptotic test with continuity correction. If b + c > 25, the exact test is used.
    • ASYMPTOTIC_CONTINUITY_CORRECTION_EXACT_FALLBACK

      public static final TestType ASYMPTOTIC_CONTINUITY_CORRECTION_EXACT_FALLBACK
      Asymptotic test with continuity correction. If b + c > 25, the exact test is used.
  • Constructor Details

    • TestType

      private TestType()
  • Method Details

    • values

      public static TestType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TestType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null