DeprecatedKNIME Statistic Nodes (Labs) version 4.4.0.v202106041314 by KNIME AG, Zurich, Switzerland
This node calculates the Maximum Likelihood Estimate (MLE) Odds Ratio (OR) and the Maximum Likelihood Estimate (MLE) Risk Ratio (RR), i.e., "Wald" OR and RR, from two selected categorical columns. For each column a value is selected to be considered the value under observation. All other values in non-binary categorical columns are considered as the "not" case.
OR = (a/b) / (c/d) = (a * d) / (b * c)
RR = (a / (a+b)) / (c / (c+d))
Fisher's Exact Test is calculated with
p = (a + b)!(c + d)!(a + c)!(b + d)! / (a!b!c!d!n!), where
n = a + b + c + d
over the sum of the marginal tables.
The two-tailed, left-tailed, and right-tailed p-values are calculated. The value for the Laplace correction is not considered for this calculation.
The Chi-Squared Test (Χ2) is calculated with
Χ2 = ∑i ∑j (Oij - Eij)2 / Eij2
Eij = Ti * Tj/n
Ti and Tj are the sums of the row and columns respectively.
Yates' Corrected Χ2 is
Χ2Yates = ∑i ∑j (|Oij - Eij|-0.5)2 / Eij2
Pearson's Coefficient of Contingency
Pearson's C = √Χ2 / (Χ2 + n)
Cramér's Coefficient of Contingency
Cramér's V = √Χ2/n
To use this node in KNIME, install KNIME Statistics Nodes (Labs) from the following update site:
A zipped version of the software site can be downloaded here.
You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to email@example.com, follow @NodePit on Twitter, or chat on Gitter!
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.