Top Description Fields Constructors Methods
org.apache.commons.math3.stat.inference

public final Enum AlternativeHypothesis

extends Enum<AlternativeHypothesis>
Class Inheritance

Represents an alternative hypothesis for a hypothesis test.
Since
3.3

Field Summary

Modifier and TypeField and Description
public static final AlternativeHypothesis
GREATER_THAN

Represents a right-sided test.

public static final AlternativeHypothesis
LESS_THAN

Represents a left-sided test.

public static final AlternativeHypothesis
TWO_SIDED

Represents a two-sided test.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AlternativeHypothesis
public static AlternativeHypothesis[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

GREATER_THANback to summary
public static final AlternativeHypothesis GREATER_THAN

Represents a right-sided test. H0: p ≤ p0, H1: p > p0.

LESS_THANback to summary
public static final AlternativeHypothesis LESS_THAN

Represents a left-sided test. H0: p ≥ p0, H1: p < p0.

TWO_SIDEDback to summary
public static final AlternativeHypothesis TWO_SIDED

Represents a two-sided test. H0: p=p0, H1: p ≠ p0

Constructor Detail

AlternativeHypothesisback to summary
private AlternativeHypothesis()

Method Detail

valueOfback to summary
public static AlternativeHypothesis valueOf(String name)
valuesback to summary
public static AlternativeHypothesis[] values()