public class Wilcoxon
extends jdistlib.generic.GenericDistribution
SYNOPSIS
#include
double 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
| Modifier and Type | Field and Description |
|---|---|
protected double[][][] |
w |
| Constructor and Description |
|---|
Wilcoxon(int m,
int n) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
count(int k,
int m,
int n) |
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, survivalpublic int getM()
public int getN()
protected double count(int k,
int m,
int n)
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 jdistlib.generic.GenericDistributionpublic double random()
random in class jdistlib.generic.GenericDistributionpublic double density(double x,
boolean log)
density in class jdistlib.generic.GenericDistributionpublic double cumulative(double p,
boolean lower_tail,
boolean log_p)
cumulative in class jdistlib.generic.GenericDistributionCopyright © 2015. All rights reserved.