Skip to main content


class %DeepSee.PMML.Dataset.Utils

Method Inventory


classmethod GetChiSquared(pDataset As %DeepSee.PMML.Dataset, pField1 As %String, pField2 As %String, Output pChiSquared As %Numeric, Output pProbability As %Numeric, ByRef pFilters, pYatesCorrection As %Boolean = 0) as %Status
Calculates the Pearson chi-squared test for the two-dimensional contingency table defined by pField1 and pField2. If the probability of this value is low (<0.05), pField1 and pField2 can be considered independent of one another.
FeedbackOpens in a new tab