|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.math.ContingencyTableTools
public class ContingencyTableTools
This class provides some helper tool for calculations around contingency tables like chi-squared tests etc.
| Constructor Summary | |
|---|---|
ContingencyTableTools()
|
|
| Method Summary | |
|---|---|
static double[][] |
deleteEmpty(double[][] matrix)
This method deletes all zero rows and columns. |
static double |
getChiSquaredStatistics(double[][] matrix,
boolean useYatesCorrection)
This method calculates the chi-squared statistic for the given contingency table. |
static double |
symmetricalUncertainty(double[][] matrix)
Calculates the symmetrical uncertainty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContingencyTableTools()
| Method Detail |
|---|
public static double getChiSquaredStatistics(double[][] matrix,
boolean useYatesCorrection)
public static double[][] deleteEmpty(double[][] matrix)
public static double symmetricalUncertainty(double[][] matrix)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||