Interface UnconditionedExactTest.BoschlooStatistic
-
- Enclosing class:
- UnconditionedExactTest
private static interface UnconditionedExactTest.BoschlooStatisticCompute the statistic for Boschloo's test.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublevalue(Hypergeom dist, int x)Compute Fisher's p-value for the 2x2 contingency table with the observed valuexin position [0][0].
-
-
-
Method Detail
-
value
double value(Hypergeom dist, int x)
Compute Fisher's p-value for the 2x2 contingency table with the observed valuexin position [0][0]. Note that the table margins are fixed and are defined by the population size, number of successes and sample size of the specified hypergeometric distribution.- Parameters:
dist- Hypergeometric distribution.x- Value.- Returns:
- Fisher's p-value
-
-