40 #ifndef _CONTINGENCYTABLETEST_H_ 41 #define _CONTINGENCYTABLETEST_H_ 74 ContingencyTableTest(
const std::vector< std::vector<size_t> >& table,
unsigned int nbPermutations = 0,
bool warn =
true);
77 #ifndef NO_VIRTUAL_COV 85 std::string
getName()
const {
return "Test on contingency table."; }
96 #endif //_CONTINGENCYTABLETEST_H_ const std::vector< size_t > getMarginRows() const
This class allows to perform a correspondence analysis.
virtual ~ContingencyTableTest()
Interface for statistical test results.
const std::vector< size_t > getMarginColumns() const
std::vector< size_t > margin2_
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
The Clonable interface (allow an object to be cloned).
std::vector< size_t > margin1_
ContingencyTableTest(const std::vector< std::vector< size_t > > &table, unsigned int nbPermutations=0, bool warn=true)
Build a new test object and perform computations.