Package jdistlib
Class Ansari
java.lang.Object
jdistlib.generic.GenericDistribution
jdistlib.Ansari
Ansari-Bradley test statistic
-
Field Summary
FieldsFields inherited from class jdistlib.generic.GenericDistribution
random -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecumulative(double p, boolean lower_tail, boolean log_p) static final double[]cumulative(int[] x, int m, int n) static final double[]cumulative(int[] x, int m, int n, boolean lower_tail) static final doublecumulative(int x, int m, int n) static final doublecumulative(int x, int m, int n, boolean lower_tail) static final doublecumulative(int x, int m, int n, double[][][] w) static final doublecumulative(int x, int m, int n, double[][][] w, boolean lower_tail) doubledensity(double x, boolean log) static final double[]density(int[] x, int m, int n) static final doubledensity(int x, int m, int n) static final int[]quantile(double[] x, int m, int n) static final int[]quantile(double[] x, int m, int n, double[][][] w) doublequantile(double q, boolean lower_tail, boolean log_p) static final intquantile(double x, int m, int n) static final intquantile(double xi, int m, int n, double[][][] w) doublerandom()static final doublerandom(int m, int n, double[][][] w, RandomEngine random) static final double[]random(int count, int m, int n, double[][][] w, RandomEngine random) static final double[]random(int count, int m, int n, RandomEngine random) static final doublerandom(int m, int n, RandomEngine random) Ansari RNG by inversion -- WARNING: UntestedMethods inherited from class jdistlib.generic.GenericDistribution
copyBackward, cumulative, cumulative, cumulative, cumulative_hazard, cumulative_hazard, cumulativeInto, density, density, densityInto, getRandomEngine, hazard, hazard, inverse_survival, inverse_survival, quantile, quantile, quantile, quantileInto, random, random, randomInto, setRandomEngine, survival, survival, survival
-
Field Details
-
m
protected int m -
n
protected int n -
w
protected double[][][] w
-
-
Constructor Details
-
Ansari
public Ansari(int m, int n)
-
-
Method Details
-
density
public static final double[] density(int[] x, int m, int n) -
density
public static final double density(int x, int m, int n) -
cumulative
public static final double[] cumulative(int[] x, int m, int n) -
cumulative
public static final double cumulative(int x, int m, int n, boolean lower_tail) -
cumulative
public static final double[] cumulative(int[] x, int m, int n, boolean lower_tail) -
cumulative
public static final double cumulative(int x, int m, int n) -
cumulative
public static final double cumulative(int x, int m, int n, double[][][] w) -
cumulative
public static final double cumulative(int x, int m, int n, double[][][] w, boolean lower_tail) -
quantile
public static final int[] quantile(double[] x, int m, int n) -
quantile
public static final int[] quantile(double[] x, int m, int n, double[][][] w) -
quantile
public static final int quantile(double x, int m, int n) -
quantile
public static final int quantile(double xi, int m, int n, double[][][] w) -
random
Ansari RNG by inversion -- WARNING: Untested- Parameters:
m-n-random-- Returns:
- random variate of Ansari
-
random
-
random
-
random
-
density
public double density(double x, boolean log) - Specified by:
densityin classGenericDistribution
-
cumulative
public double cumulative(double p, boolean lower_tail, boolean log_p) - Specified by:
cumulativein classGenericDistribution
-
quantile
public double quantile(double q, boolean lower_tail, boolean log_p) - Specified by:
quantilein classGenericDistribution
-
random
public double random()- Specified by:
randomin classGenericDistribution
-