public class Wilcoxon extends Object
Note that in the Catmap code, zero-based ranks are used, but these are converted to one-based before computation of pvalues. Therefore this code uses one-based ranks throughout.
ROC
Constructor and Description |
---|
Wilcoxon() |
Modifier and Type | Method and Description |
---|---|
static double |
exactWilcoxonP(double[] a,
double[] b)
Convenience method that computes a p-value using input of two double arrays.
|
static double |
exactWilcoxonP(int N,
int n,
int R) |
static double |
wilcoxonP(int N,
int n,
long R)
Only use when you know there are no ties.
|
static double |
wilcoxonP(int N,
int n,
long R,
boolean ties) |
static double |
wilcoxonP(int N,
List<Double> ranks) |
public static double exactWilcoxonP(double[] a, double[] b)
public static double exactWilcoxonP(int N, int n, int R)
public static double wilcoxonP(int N, int n, long R)
public static double wilcoxonP(int N, int n, long R, boolean ties)
N
- number of all Itemsn
- number of class ItemsR
- rankSum for items in the class. (one-based)ties
- set to true if you know there are tiesCopyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.