This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new window

For information on migrating to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).


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.
FeedbackOpens in a new window