From dbb2dc6f3acadca6d1744a595fe0cd755367c62c Mon Sep 17 00:00:00 2001 From: Charlie Blake Date: Wed, 20 Jun 2018 16:30:12 +0100 Subject: Switch to wilson interval --- src/main/evaluation/binomial_ci.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/main/evaluation/binomial_ci.h (limited to 'src/main/evaluation/binomial_ci.h') 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 + +struct binomial_ci { + static std::pair wilson(int, int); + static std::pair wilson(int, int, int); + static std::pair agresti_coull(int, int); + static std::pair agresti_coull(int, int, int); +}; + + +#endif //SOLVITAIRE_BINOMIAL_CI_H -- cgit v1.2.1