
public class KolmogorovSmirnovTest extends Object implements GoodnessOfFitTest
| Modifier and Type | Class and Description |
|---|---|
static class |
KolmogorovSmirnovTest.Parameterizer
Parameterizer, to use the static instance.
|
| Modifier and Type | Field and Description |
|---|---|
static KolmogorovSmirnovTest |
STATIC
Static instance
|
| Constructor and Description |
|---|
KolmogorovSmirnovTest()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
calculateTestStatistic(double[] sample1,
double[] sample2)
Calculates the maximum distance between the two empirical CDFs of two data
samples.
|
double |
deviation(double[] fullSample,
double[] conditionalSample)
Measure the deviation of a full sample from a conditional sample.
|
public static KolmogorovSmirnovTest STATIC
public double deviation(double[] fullSample,
double[] conditionalSample)
GoodnessOfFitTestdeviation in interface GoodnessOfFitTestfullSample - Full sampleconditionalSample - Conditional samplepublic static double calculateTestStatistic(double[] sample1,
double[] sample2)
sample1 - first data sample positionssample2 - second data sample positions