phyper
Hypergeometric tail calculations
|
Options for compute()
.
More...
#include <phyper.hpp>
Public Attributes | |
bool | log = false |
bool | upper_tail = true |
bool phyper::Options::log = false |
Whether to report log-probabilities, which avoids underflow for very small values.
bool phyper::Options::upper_tail = true |
Whether to report the upper tail, including the probability mass of the observed number of drawn white balls. This allows the tail probability to be directly used as the p-value for testing enrichment. If false
, the lower tail is returned, again including the probability mass of drawn_inside
.