Class UnconditionedExactTest.Result
java.lang.Object
org.apache.commons.statistics.inference.UnconditionedExactTest.Result
- All Implemented Interfaces:
SignificanceResult
- Enclosing class:
UnconditionedExactTest
Result for the unconditioned exact test.
This class is immutable.
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the nuisance parameter that maximised the probability sum of the as or more extreme tables.doubleReturns the test statistic p-value.doubleReturns the test statistic.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.statistics.inference.SignificanceResult
reject
-
Method Details
-
getStatistic
Returns the test statistic.The value of the statistic is dependent on the method used to determine the more extreme tables.
- Specified by:
getStatisticin interfaceSignificanceResult- Returns:
- the statistic
-
getNuisanceParameter
Gets the nuisance parameter that maximised the probability sum of the as or more extreme tables.- Returns:
- the nuisance parameter.
-
getPValue
public double getPValue()Description copied from interface:SignificanceResultReturns the test statistic p-value.The number returned is the smallest significance level at which one can reject the null hypothesis.
- Specified by:
getPValuein interfaceSignificanceResult- Returns:
- the p-value
-