numRecipes
public class KSTest extends java.lang.Object
Constructor and 説明 |
---|
KSTest() |
Modifier and Type | Method and 説明 |
---|---|
static double |
getKSSignificance(double[] data,
Function func,
int functionIndex,
double[] parameters,
double lowerBound,
double upperBound,
boolean isCumulative)
calculate the KS significance for a given data array and a user-supplied func describing probability
by a model prediction in the range [lowerBound upperBound].
|
static double |
probabilityFunction(double lambda)
Return the Kolmogorov-Smirnov probability Q_ks(lambda)
|
public static double getKSSignificance(double[] data, Function func, int functionIndex, double[] parameters, double lowerBound, double upperBound, boolean isCumulative)
public static double probabilityFunction(double lambda)