public class KolmogorovSmirnov1Sample extends KolmogorovSmirnov
KolmogorovSmirnov.Side, KolmogorovSmirnov.Type| Constructor and Description |
|---|
KolmogorovSmirnov1Sample(double[] sample,
ProbabilityDistribution F,
KolmogorovSmirnov.Side side)
Construct a one-sample Kolmogorov-Smirnov test.
|
| Modifier and Type | Method and Description |
|---|---|
double |
pValue()
Get the p-value for the test statistics.
|
double |
statistics()
Get the test statistics.
|
getAlternativeHypothesis, getNullHypothesisisNullRejected, nGroups, nObs, oneSidedPvaluepublic KolmogorovSmirnov1Sample(double[] sample,
ProbabilityDistribution F,
KolmogorovSmirnov.Side side)
sample - a sampleF - the reference probability distribution to test againstside - one-sided or two-sided testpublic double statistics()
HypothesisTeststatistics in class HypothesisTestpublic double pValue()
HypothesisTestpValue in class HypothesisTestCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.