{"title":"Rank Correlation","nodeType":"Other","id":"*sC8qjjAYkSsMFjOc","factoryName":"org.knime.base.node.stats.correlation.rank2.RankCorrelationCompute2NodeFactory","factoryId":"org.knime.base.node.stats.correlation.rank2.RankCorrelationCompute2NodeFactory","path":["Analytics","Statistics"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>Calculates rank-based correlation coefficients between selected pairs of columns to measure the strength and direction of monotonic relationships.</p>\n            \n            <p>This node supports several correlation methods based on ranked data:</p>\n            \n            <ul><li><b>Spearman’s rank correlation</b> : Measures the strength of a monotonic relationship between two variables. Values range from -1 (strong negative correlation) to &#43;1 (strong positive correlation), with associated p-values and degrees of freedom computed.</li><li><b>Goodman and Kruskal’s gamma</b> : Assesses association based on concordant and discordant pairs; best suited for square contingency tables.</li><li><b>Kendall’s tau</b> : Includes Tau A and Tau B variants. Tau A ignores tied ranks, while Tau B adjusts for them and is more appropriate for rectangular tables.</li></ul>\n            \n            <p>The node uses fractional ranking for tied values. If column values lack a natural order, string representations are used for sorting. Columns of any data type can be analyzed, but results depend on the default ordering.</p>\n            \n            <p>Rows with missing values are excluded from calculations. To apply different handling, address missing values beforehand.</p>\n            \n        \n        ","shortDescription":"Computes correlation coefficients for pairs of columns, based on the sorting of its values only.","keywords":["association analysis","goodmans gamma","kruskals gamma","spearman"],"deprecated":false,"streamable":false,"tags":["Analytics","Statistics"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuN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jxMthkWjAI6QjA1Adg2AZyIjIGAgOQMBTDbNwJ5X9GV4/NC1JI7MdQWhZKPyUmFmSQ2M+BmBHJUKIMQHaBCRDPAWJ+KH83umJGqL8RAoyMM4FUGrotYXxCDMVKygwsjIwE0wHcC1tt7RmE2DkYxDk5GD4+ec4gIieNml4ePcVqgCSMoSkgwMDKhD+xYpMFW8MB1EhIMy4DHnIDNcqysBCVFzACEQQuGJkTncUBAgwAfP1rKeXbMAAAAAAASUVORK5CYII=","views":[{"name":"Correlation Matrix","description":"Squared table view showing the pair-wise correlation values of all columns. The color range varies from dark red (strong negative correlation), over white (no correlation) to dark blue (strong positive correlation). If a correlation value for a pair of column is not available, the corresponding cell contains a missing value (shown as cross in the color view)."}],"inPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Numeric input data","description":"Numeric input data to evaluate"}],"outPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Correlation measure","description":"Correlation variables, p-values and degrees of freedom."},{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Correlation matrix","description":"Correlation variables in a matrix representation."},{"objectClass":"org.knime.base.node.preproc.correlation.pmcc.PMCCPortObjectAndSpec","color":"9b9b9b","dataType":"Correlation","optional":false,"name":"Correlation model","description":"A model containing the correlation measures. This model is appropriate to be read by the Correlation Filter node."},{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Rank table","description":"A table containing the fractional ranks of the columns. Where the rank corresponds to the values position in a sorted table."}],"dynInPorts":[],"dynOutPorts":[],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"sectionName":"Options","fields":[{"name":"Correlation type","description":"Choose the type of correlation. The coefficient must be in the range from −1 (100% negative association, or perfect inversion) to &#43;1 (100% positive association, or perfect agreement). A value of zero indicates the absence of association.\n<ul><li><b>Spearman&#39;s Rho</b> : <a href=\"http://en.wikipedia.org/wiki/Spearman%27s_rank_correlation_coefficient\" rel=\"ugc nofollow noopener noreferrer\"> Spearman&#39;s rank correlation coefficient </a> is a statistical measure of the strength of a monotonic relationship between paired data. Where the monotonic relationship is characterised by a relationship between ordered sets that preserves the given order, i.e., either never increases or never decreases as its independent variable increases. The value of this measure ranges from -1 (strong negative correlation) to 1 (strong positive correlation). A perfect Spearman correlation of &#43;1 or −1 occurs when each of the variables is a perfect monotone function of the other. For Spearman&#39;s rank correlation coefficient the p-value and degrees of freedom are computed. The p-value indicates the probability of an uncorrelated system producing a correlation at least as extreme, if the mean of the correlation is zero and it follows a t-distribution with <i>df</i> degrees of freedom.</li><li><b>Kendall&#39;s Tau A</b> : <a href=\"http://en.wikipedia.org/wiki/Kendall_tau_rank_correlation_coefficient\" rel=\"ugc nofollow noopener noreferrer\">Kendall&#39;s tau rank correlation coefficient</a> is used to measure the strength of association between two measured quantities which is based on the number of concordant and discordant pairs and can be considered as standardized form of Gamma. The Tau A statistic does not consider tied values (two or more observations having the same value) and is mostly suitable for square tables.</li><li><b>Kendall&#39;s Tau B</b> : <a href=\"http://en.wikipedia.org/wiki/Kendall_tau_rank_correlation_coefficient\" rel=\"ugc nofollow noopener noreferrer\">Kendall&#39;s tau rank correlation coefficient</a> is used to measure the strength of association between two measured quantities which is based on the number of concordant and discordant pairs and can be considered as standardized form of Gamma. The Tau B statistic makes adjustments for tied values (two or more observations having the same value) and is most appropriately used for rectangular tables.</li><li><b>Goodman and Kruskal&#39;s Gamma</b> : <a href=\"http://en.wikipedia.org/wiki/Goodman_and_Kruskal%27s_gamma\" rel=\"ugc nofollow noopener noreferrer\"> Goodman and Kruskal&#39;s gamma</a> is used to measure the strength of association between two measured quantities. It&#39;s based on the number of concordant and discordant pairs.</li></ul>","optional":false},{"name":"Correlation columns","description":"Select the columns for which correlation values should be computed.","optional":false},{"name":"Include only column pairs with a valid correlation","description":"Check this option if only the column pairs where the correlation could be computed should be included in the output table. Column pairs where the correlation could not be computed are then omitted from the output table.","optional":false},{"name":"p-value","description":"Select which p-value should be computed for Spearman&#39;s rank correlation coefficient.\n<ul><li><b>two-sided</b> : Corresponds to the probability of obtaining a correlation value that is at least as extreme as the observed correlation.</li><li><b>one-sided (right)</b> : Corresponds to the probability of obtaining a correlation value that shows even greater <b>positive</b> association.</li><li><b>one-sided (left)</b> : Corresponds to the probability of obtaining a correlation value that shows even greater <b>negative</b> association.</li></ul>","optional":false}]}],"links":[],"kudos":[{"accountId":"account:user:552210dd-3dfc-4b47-bbe6-477d972e6b9e","user":"nilotpalc","date":"2022-05-22T15:41:42+00:00"}],"kudosCount":1,"bundleInformation":{"bundleVersion":"5.12.0.v202604281126","bundleName":"KNIME Statistic Nodes","bundleSymbolicName":"org.knime.stats","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.stats","featureName":"KNIME Statistics Nodes","featureVersion":"5.12.0.v202604281126","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*G7WNikjPW2P03gXm"},"frequentSuccessors":[]}
