public class FisherExact
extends java.lang.Object
| Constructor | Description |
|---|---|
FisherExact(int maxSize) |
constructor for FisherExact table
|
| Modifier and Type | Method | Description |
|---|---|---|
double |
getCumlativeP(int a,
int b,
int c,
int d) |
calculates the one tail P-value for the Fisher Exact test
This
|
double |
getP(int a,
int b,
int c,
int d) |
calculates the P-value for this specific state
|
public FisherExact(int maxSize)
maxSize - is the maximum sum that will be encountered by the table (a+b+c+d)public final double getP(int a,
int b,
int c,
int d)
a - ,b,c,d are the four cells in a 2x2 matrixpublic final double getCumlativeP(int a,
int b,
int c,
int d)
a - ,b,c,d are the four cells in a 2x2 matrix