powered by
Hypergeometric p-value and Distribution
iscamhyperprob(k, total, succ, n, lower.tail, verbose = TRUE)
Tail probabilities from the hypergeometric distribution, hypergeometric distribution with the observed statistic and more extreme shaded.
Number of successes of interest or difference in conditional proportions
Total number of observations in the study
Overall number of successes
Number of observations in group A
Boolean for finding the probability above (FALSE) or below (TRUE) the inputted value (inclusive)
Logical, defaults to TRUE. Set to FALSE to suppress messages
TRUE
FALSE
iscamhyperprob(1, 20, 5, 10, TRUE)
Run the code above in your browser using DataLab