public class Wilcoxon extends GenericDistribution
SYNOPSIS #includedouble dwilcox(double x, double m, double n, int give_log) double pwilcox(double x, double m, double n, int lower_tail, int log_p) double qwilcox(double x, double m, double n, int lower_tail, int log_p); double rwilcox(double m, double n) DESCRIPTION dwilcox The density of the Wilcoxon distribution. pwilcox The distribution function of the Wilcoxon distribution. qwilcox The quantile function of the Wilcoxon distribution. rwilcox Random variates from the Wilcoxon distribution.
NOTE: Since the computation of Wilcoxon distribution is highly dependent on the matrix w, the dimensions of which depends on m and n (parameters of the Wilcoxon distribution), I decided to make this class as dynamic. -- Roby Joehanes
Constructor and Description |
---|
Wilcoxon(int m,
int n) |
Modifier and Type | Method and Description |
---|---|
double |
cumulative(double p,
boolean lower_tail,
boolean log_p) |
double |
cumulative(int q,
boolean lower_tail,
boolean log_p) |
double |
density(double x,
boolean log) |
double |
density(int x,
boolean give_log) |
int |
getM() |
int |
getN() |
double |
quantile(double x,
boolean lower_tail,
boolean log_p) |
double |
random() |
cumulative_hazard, cumulative_hazard, cumulative, cumulative, cumulative, density, density, getRandomEngine, hazard, hazard, inverse_survival, inverse_survival, quantile, quantile, quantile, random, random, setRandomEngine, survival, survival, survival
public int getM()
public int getN()
public double density(int x, boolean give_log)
public double cumulative(int q, boolean lower_tail, boolean log_p)
public double quantile(double x, boolean lower_tail, boolean log_p)
quantile
in class GenericDistribution
public double random()
random
in class GenericDistribution
public double density(double x, boolean log)
density
in class GenericDistribution
public double cumulative(double p, boolean lower_tail, boolean log_p)
cumulative
in class GenericDistribution