public class ChiSqTestResult extends java.lang.Object implements TestResult<java.lang.Object>
Modifier and Type | Method and Description |
---|---|
int |
degreesOfFreedom()
Returns the degree(s) of freedom of the hypothesis test.
|
java.lang.String |
method() |
java.lang.String |
nullHypothesis()
Null hypothesis of the test.
|
double |
pValue()
The probability of obtaining a test statistic result at least as extreme as the one that was
actually observed, assuming that the null hypothesis is true.
|
double |
statistic()
Test statistic.
|
java.lang.String |
toString()
String explaining the hypothesis test result.
|
public double pValue()
TestResult
pValue
in interface TestResult<java.lang.Object>
public int degreesOfFreedom()
TestResult
degreesOfFreedom
in interface TestResult<java.lang.Object>
public double statistic()
TestResult
statistic
in interface TestResult<java.lang.Object>
public java.lang.String method()
public java.lang.String nullHypothesis()
TestResult
nullHypothesis
in interface TestResult<java.lang.Object>
public java.lang.String toString()
TestResult
toString
in interface TestResult<java.lang.Object>
toString
in class java.lang.Object