Calculation STATBEANS®

 

STATBEAN Contingency Table Calculator Name: ContingencyTables

 

Purpose: Performs contingency table analysis and calculates measures of association for rows and columns in contingency tables.

DataSource For Contingency Table Analysis: any (automatic data transfer if Crosstabulation). 

Contingency Table Calculator Read/Write Properties
Name Type Description Possible Values Default Value
columnLabelVariableName String The name of the column containing row labels. Any string. "Label"
frequencyVariableName String The name of the column containing cell frequencies, in row-by-row order Any string. "Frequency"
numberOfColumns int Number of columns. 1+ 0
numberOfRows int Number of rows. 1+ 0
rowLabelVariableName String The name of the column containing row labels. Any string. "Label"

Other Public Methods
Name Description Arguments Return Value
double getContingencyCoefficient() Returns statistic for test of association. None. Statistic.
double getChiSquared() Returns statistic for test of association. None. Statistic.
int getChiSquaredDf() Returns degrees of freedom for test of association. None. degrees of freedom.
double getChiSquaredPValue() Returns P-value for test of association. None. P-value.
double getConditionalGamma() Returns statistic for test of association. None. Statistic.
double getCramersV() Returns statistic for test of association. None. Statistic.
double getEtaColumnsDependent() Returns statistic for test of association. None. Statistic.
double getEtaRowsDependent() Returns statistic for test of association. None. Statistic.
double getFisherPvalue() Returns P-value for test of association. None. P-value.
double getKendallsTauB() Returns statistic for test of association. None. Statistic.
double getKendallsTauBPValue() Returns P-value for test of association. None. P-value.
double getKendallsTauC() Returns statistic for test of association. None. Statistic.
double getLambdaSymmetric() Returns statistic for test of association. None. Statistic.
double getLambdaRowsDependent() Returns statistic for test of association. None. Statistic.
double getLambdaColumnsDependent() Returns statistic for test of association. None. Statistic.
double getPearsonsR() Returns statistic for test of association. None. Statistic.
int getPearsonsRDf() Returns degrees of freedom for test of association. None. Degrees of freedom.
double getPearsonsRPValue() Returns P-value for test of association. None. P-value.
double getSomersDColumnsDependent() Returns statistic for test of association. None. Statistic.
double getSomersDRowsDependent() Returns statistic for test of association. None. Statistic.
double getSomersDSymmetric() Returns statistic for test of association. None. Statistic.
int getTotalCount() Returns sum of the frequencies. None. Sum.
double getUncertaintyCoefficientColumnsDependent() Returns statistic for test of association. None. Statistic.
double getUncertaintyCoefficientRowsDependent() Returns statistic for test of association. None. Statistic.
double getUncertaintyCoefficientSymmetric() Returns statistic for test of association. None. Statistic.

Code Sample - see Crosstabulation.