This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %DeepSee.PMML.Dataset.Utils


class %DeepSee.PMML.Dataset.Utils

Method Inventory (Including Private)

Methods (Including Private)

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.