public class KolmogorovSmirnov2Samples extends KolmogorovSmirnov
KolmogorovSmirnov.Side, KolmogorovSmirnov.Type| Constructor and Description |
|---|
KolmogorovSmirnov2Samples(double[] sample1,
double[] sample2,
KolmogorovSmirnov.Side side)
Construct a two-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 KolmogorovSmirnov2Samples(double[] sample1,
double[] sample2,
KolmogorovSmirnov.Side side)
sample1 - a samplesample2 - another sampleside - 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.