public class NormalityTest
extends java.lang.Object
Constructor and Description |
---|
NormalityTest() |
Modifier and Type | Method and Description |
---|---|
static double |
anderson_darling_pvalue(double value,
int n) |
static double |
anderson_darling_statistic(double[] X) |
static double |
cramer_vonmises_pvalue(double w,
int n) |
static double |
cramer_vonmises_statistic(double[] X) |
static double |
dagostino_pearson_pvalue(double value) |
static double |
dagostino_pearson_statistic(double[] X)
Calculate D'Agostino-Pearson test for normality.
|
static double |
jarque_bera_pvalue(double value) |
static double |
jarque_bera_statistic(double[] X)
Calculate Jarque-Bera Normality Test.
|
static double |
kolmogorov_lilliefors_pvalue(double k,
int n) |
static double |
kolmogorov_lilliefors_statistic(double[] X)
Exactly identical as kolmogorov_smirnov_statistic
|
static double |
kolmogorov_smirnov_pvalue(double d,
double[] X)
Deprecated.
|
static double |
kolmogorov_smirnov_statistic(double[] X)
Deprecated.
|
static double[] |
kolmogorov_smirnov_test(double[] X)
Perform Kolmogorov-Smirnov two-sided normality test.
|
static double |
shapiro_francia_pvalue(double w,
int n)
P-value of Shapiro-Francia normality test
|
static double |
shapiro_francia_statistic(double[] X)
Shapiro-Francia normality test
|
static double |
shapiro_wilk_pvalue(double w,
int n) |
static double |
shapiro_wilk_statistic(double[] X) |
public static final double shapiro_wilk_statistic(double[] X)
public static final double shapiro_wilk_pvalue(double w, int n)
w
- n
- The length of the arraypublic static final double anderson_darling_statistic(double[] X)
public static final double anderson_darling_pvalue(double value, int n)
value
- n
- The length of the arraypublic static final double cramer_vonmises_statistic(double[] X)
public static final double cramer_vonmises_pvalue(double w, int n)
w
- n
- The length of the arraypublic static final double dagostino_pearson_statistic(double[] X)
X
- public static final double dagostino_pearson_pvalue(double value)
public static final double jarque_bera_statistic(double[] X)
X
- public static final double jarque_bera_pvalue(double value)
public static final double[] kolmogorov_smirnov_test(double[] X)
X
- public static final double kolmogorov_smirnov_statistic(double[] X)
X
- public static final double kolmogorov_smirnov_pvalue(double d, double[] X)
d
- X
- public static final double kolmogorov_lilliefors_statistic(double[] X)
X
- public static final double kolmogorov_lilliefors_pvalue(double k, int n)
k
- n
- The length of the arraypublic static final double shapiro_francia_statistic(double[] X)
X
- a sorted array of valuespublic static final double shapiro_francia_pvalue(double w, int n)
w
- the result from ShapiroFrancia's statisticn
- the length of the original array