public class DistributionTest extends Object
| Constructor and Description |
|---|
DistributionTest() |
| Modifier and Type | Method and Description |
|---|---|
static double |
kolmogorov_smirnov_pvalue(double maxDiv,
int lengthX,
int lengthY)
Compute the P-value out of the D-score produced by kolmogorov_smirnov_statistic.
|
static double |
kolmogorov_smirnov_statistic(double[] X,
double[] Y)
Compute the Kolmogorov-Smirnov test to test between two distribution.
|
public static final double kolmogorov_smirnov_statistic(double[] X,
double[] Y)
X - an array with length of nXY - an array with length of nYpublic static final double kolmogorov_smirnov_pvalue(double maxDiv,
int lengthX,
int lengthY)
maxDiv - lengthX - lengthY - Copyright © 2013. All rights reserved.