Package jdistlib
Class SignRank
java.lang.Object
jdistlib.generic.GenericDistribution
jdistlib.SignRank
-
Field Summary
FieldsFields inherited from class jdistlib.generic.GenericDistribution
random -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecount(int k, int n) doublecumulative(double p, boolean lower_tail, boolean log_p) doublecumulative(int x, boolean lower_tail, boolean log_p) doubledensity(double x, boolean log) doubledensity(int x, boolean give_log) doublequantile(double x, boolean lower_tail, boolean log_p) doublerandom()double[]random(int n, RandomEngine r) doublerandom(RandomEngine rr) Deprecated.voidsetRandomEngine(RandomEngine rand) Methods inherited from class jdistlib.generic.GenericDistribution
copyBackward, cumulative, cumulative, cumulative, cumulative_hazard, cumulative_hazard, cumulativeInto, density, density, densityInto, hazard, hazard, inverse_survival, inverse_survival, quantile, quantile, quantile, quantileInto, random, randomInto, survival, survival, survival
-
Field Details
-
w
protected double[] w -
n
protected int n
-
-
Constructor Details
-
SignRank
public SignRank(int n)
-
-
Method Details
-
count
protected double count(int k, int n) -
density
public double density(int x, boolean give_log) -
cumulative
public double cumulative(int x, boolean lower_tail, boolean log_p) -
quantile
public double quantile(double x, boolean lower_tail, boolean log_p) - Specified by:
quantilein classGenericDistribution
-
setRandomEngine
- Overrides:
setRandomEnginein classGenericDistribution
-
getRandomEngine
- Overrides:
getRandomEnginein classGenericDistribution
-
random
public double random()- Specified by:
randomin classGenericDistribution
-
random
Deprecated.Description copied from class:GenericDistributionOld RNG API- Overrides:
randomin classGenericDistribution- Parameters:
rr- random number generator- Returns:
- Random number for the distribution
-
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
-