Class KolmogorovSmirnovTest.OneResult
- java.lang.Object
-
- org.apache.commons.statistics.inference.BaseSignificanceResult
-
- org.apache.commons.statistics.inference.KolmogorovSmirnovTest.OneResult
-
- All Implemented Interfaces:
SignificanceResult
- Direct Known Subclasses:
KolmogorovSmirnovTest.TwoResult
- Enclosing class:
- KolmogorovSmirnovTest
public static class KolmogorovSmirnovTest.OneResult extends BaseSignificanceResult
Result for the one-sample Kolmogorov-Smirnov test.This class is immutable.
- Since:
- 1.1
-
-
Field Summary
Fields Modifier and Type Field Description private int
sign
Sign of the statistic.
-
Constructor Summary
Constructors Constructor Description OneResult(double statistic, int sign, double p)
Create an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSign()
Gets the sign of the statistic.-
Methods inherited from class org.apache.commons.statistics.inference.BaseSignificanceResult
getPValue, getStatistic
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.commons.statistics.inference.SignificanceResult
reject
-
-