51#ifndef DOXYGEN_SHOULD_SKIP_THIS
75 return computeStatistics_(idset, [](
double O,
double margX,
double margY,
double total) {
76 const double E = (margX * margY) / total;
77 const double d = O - E;
A class for storing a pair of sets of NodeIds, the second one corresponding to a conditional set.
the class for computing Chi2 independence test scores
IndepTestChi2 & operator=(const IndepTestChi2 &from)
copy operator
std::pair< double, double > statistics_(const IdCondSet &idset)
compute the pair <chi2 statistic,pvalue>
IndependenceTest & operator=(const IndependenceTest &from)
copy operator
std::pair< double, double > computeStatistics_(const IdCondSet &idset, CellContribFn cellContrib)
shared loop for chi-squared-family statistics
the class for computing Chi2 scores
the class for computing Chi2 scores
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities