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

%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 [ Language = objectscript ]
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
FeedbackOpens in a new window