This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

%DeepSee.PMML.Dataset.Utils

class %DeepSee.PMML.Dataset.Utils

Method Inventory

Methods

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. http://en.wikipedia.org/wiki/Pearson%27s_chi-squared_test
Feedback