Package jdistlib.evd
Class Order
java.lang.Object
jdistlib.generic.GenericDistribution
jdistlib.evd.Order
Order distribution.
Taken from EVD package of R
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GenericDistributionprotected intprotected booleanprotected intFields 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 doublecumulative(double q, GenericDistribution dist, int mlen, int j, boolean largest, boolean lower_tail) static final doublecumulative(double q, GenericDistribution dist, int mlen, int j, boolean largest, boolean lower_tail, boolean log_p) doubledensity(double x, boolean log) static final doubledensity(double x, GenericDistribution dist, int mlen, int j, boolean largest, boolean log) doublequantile(double q, boolean lower_tail, boolean log_p) static final doublequantile(double q, GenericDistribution dist, int mlen, int j, boolean largest, boolean lower_tail, boolean log_p) Find the quantile of order statistics.doublerandom()static final double[]random(int n, GenericDistribution dist, int mlen, int j, boolean largest, RandomEngine random) static final doublerandom(GenericDistribution dist, int mlen, int j, boolean largest, RandomEngine random) Methods 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
-
mlen
protected int mlen -
j
protected int j -
largest
protected boolean largest -
dist
-
-
Constructor Details
-
Order
-
-
Method Details
-
density
public static final double density(double x, GenericDistribution dist, int mlen, int j, boolean largest, boolean log) -
cumulative
public static final double cumulative(double q, GenericDistribution dist, int mlen, int j, boolean largest, boolean lower_tail) -
cumulative
public static final double cumulative(double q, GenericDistribution dist, int mlen, int j, boolean largest, boolean lower_tail, boolean log_p) -
quantile
public static final double quantile(double q, GenericDistribution dist, int mlen, int j, boolean largest, boolean lower_tail, boolean log_p) Find the quantile of order statistics. WARNING: UNTESTED!!!- Parameters:
q-dist-mlen-j-largest-lower_tail-log_p-- Returns:
- Quantile
-
random
public static final double random(GenericDistribution dist, int mlen, int j, boolean largest, RandomEngine random) -
random
public static final double[] random(int n, GenericDistribution dist, int mlen, int j, boolean largest, RandomEngine 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
-