5 #ifndef BPP_NUMERIC_STAT_CONTINGENCYTABLETEST_H 6 #define BPP_NUMERIC_STAT_CONTINGENCYTABLETEST_H 39 ContingencyTableTest(
const std::vector< std::vector<size_t>>& table,
unsigned int nbPermutations = 0,
bool warn =
true);
45 std::string
getName()
const {
return "Test on contingency table."; }
53 #endif // BPP_NUMERIC_STAT_CONTINGENCYTABLETEST_H const std::vector< size_t > getMarginRows() const
virtual ~ContingencyTableTest()
Interface for statistical test results.
const std::vector< size_t > getMarginColumns() const
std::vector< size_t > margin2_
ContingencyTableTest(const std::vector< std::vector< size_t >> &table, unsigned int nbPermutations=0, bool warn=true)
Build a new test object and perform computations.
Implements tests on contingency tables.
double getStatistic() const
ContingencyTableTest * clone() const
Create a copy of this object and send a pointer to it.
double getDegreesOfFreedom() const
std::string getName() const
std::vector< size_t > margin1_