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