diff options
| author | Charlie Blake | 2018-06-20 16:30:12 +0100 |
|---|---|---|
| committer | Charlie Blake | 2018-06-20 16:30:12 +0100 |
| commit | dbb2dc6f3acadca6d1744a595fe0cd755367c62c (patch) | |
| tree | 3a234c042382c0892f77e5022855f9b0acabbd5c /src/main/evaluation/binomial_ci.h | |
| parent | Set solver seed limit (diff) | |
| download | metasol-dbb2dc6f3acadca6d1744a595fe0cd755367c62c.tar.gz metasol-dbb2dc6f3acadca6d1744a595fe0cd755367c62c.zip | |
Switch to wilson interval
Diffstat (limited to 'src/main/evaluation/binomial_ci.h')
| -rw-r--r-- | src/main/evaluation/binomial_ci.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/evaluation/binomial_ci.h b/src/main/evaluation/binomial_ci.h new file mode 100644 index 0000000..6e2dceb --- /dev/null +++ b/src/main/evaluation/binomial_ci.h @@ -0,0 +1,19 @@ +// +// Created by thecharlesblake on 20/06/18. +// + +#ifndef SOLVITAIRE_BINOMIAL_CI_H +#define SOLVITAIRE_BINOMIAL_CI_H + + +#include <utility> + +struct binomial_ci { + static std::pair<double, double> wilson(int, int); + static std::pair<double, double> wilson(int, int, int); + static std::pair<double, double> agresti_coull(int, int); + static std::pair<double, double> agresti_coull(int, int, int); +}; + + +#endif //SOLVITAIRE_BINOMIAL_CI_H |
