phyper
Hypergeometric tail calculations
Loading...
Searching...
No Matches
Public Attributes | List of all members
phyper::Options Struct Reference

Options for compute(). More...

#include <phyper.hpp>

Public Attributes

bool log = false
 
bool upper_tail = true
 

Detailed Description

Options for compute().

Member Data Documentation

◆ log

bool phyper::Options::log = false

Whether to report log-probabilities, which avoids underflow for very small values.

◆ upper_tail

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.


The documentation for this struct was generated from the following file: