Enum TestType
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
The supported test types for McNemar significance tests.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAsymptotic test.Asymptotic test with continuity correction.Asymptotic test with continuity correction.Asymptotic test.Exact McNemar test. -
Constructor Summary
-
Method Summary
-
Enum Constant Details
-
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
Asymptotic test. Works only if b + c > 25. -
ASYMPTOTIC_EXACT_FALLBACK
Asymptotic test. If b + c > 25, the exact test is used. -
ASYMPTOTIC_CONTINUITY_CORRECTION
Asymptotic test with continuity correction. If b + c > 25, the exact test is used. -
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
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
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 nameNullPointerException
- if the argument is null
-