Package | Description |
---|---|
jdistlib.disttest |
Modifier and Type | Method and Description |
---|---|
static TestKind |
TestKind.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestKind[] |
TestKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
DistributionTest.ansari_bradley_test(double[] x,
double[] y,
boolean force_exact,
TestKind kind)
Ansari-Bradley test.
|
static double[] |
DistributionTest.binomial_test(int n_success,
int n,
double p,
TestKind kind)
Binomial test
|
static double[] |
DistributionTest.kolmogorov_smirnov_test(double[] X,
double[] Y,
TestKind kind)
Compute the Kolmogorov-Smirnov test to test between two distribution, exact p-value.
|
static double[] |
DistributionTest.kolmogorov_smirnov_test(double[] X,
double[] Y,
TestKind kind,
boolean isExact)
Compute the Kolmogorov-Smirnov test to test between two distribution.
|
static double[] |
DistributionTest.kolmogorov_smirnov_test(double[] X,
GenericDistribution dist,
TestKind kind)
Compute the Kolmogorov-Smirnov test to test between X and a known reference distribution, exact p-value.
|
static double[] |
DistributionTest.kolmogorov_smirnov_test(double[] X,
GenericDistribution dist,
TestKind kind,
boolean isExact)
Compute the Kolmogorov-Smirnov test to test between X and a known reference distribution.
|
static double[] |
DistributionTest.mann_whitney_u_test(double[] x,
double[] y,
double mu,
boolean correction,
boolean paired,
TestKind kind)
Mann-Whitney-U test
|
static double[] |
DistributionTest.mood_test(double[] x,
double[] y,
TestKind kind)
Performs Mood's two-sample test for a difference in scale parameters.
|
static double[] |
DistributionTest.poisson_test(int num_events,
double time,
double rate,
TestKind kind)
Performs an exact test of a simple null hypothesis about the rate parameter in Poisson distribution
|
static double[] |
DistributionTest.poisson_test(int num_events1,
int num_events2,
double time1,
double time2,
double r,
TestKind kind)
Comparison of Poisson rates
|
static double[] |
DistributionTest.t_test_paired(double[] x,
double[] y,
double mu,
TestKind kind)
Paired t-test
|
static double[] |
DistributionTest.t_test(double[] x,
double[] y,
double mu,
boolean pool_var,
TestKind kind)
Two sample t-test
|
static double[] |
DistributionTest.t_test(double[] x,
double mu,
TestKind kind)
One-sample t-test
|
static double[] |
DistributionTest.var_test(double[] x,
double[] y,
double ratio,
TestKind kind)
Performs an F test to compare the variances of two samples from normal populations.
|
static double[] |
DistributionTest.var_test(double[] x,
double[] y,
TestKind kind)
Performs an F test to compare the variances of two samples from normal populations.
|
static double[] |
DistributionTest.wilcoxon_test(double[] x,
double mu,
boolean correction,
TestKind kind)
One-sample Wilcoxon test.
|