1 #ifndef _theplu_yat_statistics_fisher_
2 #define _theplu_yat_statistics_fisher_
31 namespace statistics {
98 double Chi2(
void)
const;
107 void expected(
double& a,
double& b,
double& c,
double& d)
const;
133 double p_left(
void)
const;
184 double oddsratio(
const unsigned int a,
const unsigned int b,
185 const unsigned int c,
const unsigned int d);
195 bool calculate_p_exact(
void)
const;
198 double p_value_approximative(
void)
const;
200 double p_value_exact(
void)
const;
203 double p_value_exact(
unsigned int k,
unsigned int n1,
unsigned int n2,
204 unsigned int t)
const;
206 double lower_tail(
unsigned int k,
unsigned int n1,
unsigned int n2,
207 unsigned int t)
const;
210 double hypergeometric_ratio(
unsigned int k,
unsigned int n1,
211 unsigned int n2,
unsigned int t)
const;
212 double choose_ratio(
unsigned int n,
unsigned int k)
const;
214 double p_left_exact(
void)
const;
215 double p_right_exact(
void)
const;
217 double yates(
unsigned int o,
double e)
const;
223 unsigned int minimum_size_;
double p_value(void) const
double p_left(void) const
Fisher's exact test.
Definition: Fisher.h:65
unsigned int & minimum_size(void)
double oddsratio(void) const
double p_right(void) const
double p_value_one_sided() const
void expected(double &a, double &b, double &c, double &d) const