Hub
Pricing About
NodeNode / Other

Rank Correlation

AnalyticsStatistics
Drag & drop
Like

Calculates rank-based correlation coefficients between selected pairs of columns to measure the strength and direction of monotonic relationships.

This node supports several correlation methods based on ranked data:

  • Spearman’s rank correlation : Measures the strength of a monotonic relationship between two variables. Values range from -1 (strong negative correlation) to +1 (strong positive correlation), with associated p-values and degrees of freedom computed.
  • Goodman and Kruskal’s gamma : Assesses association based on concordant and discordant pairs; best suited for square contingency tables.
  • Kendall’s tau : 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.

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.

Rows with missing values are excluded from calculations. To apply different handling, address missing values beforehand.

Node details

Input ports
  1. Type: Table
    Numeric input data
    Numeric input data to evaluate
Output ports
  1. Type: Table
    Correlation measure
    Correlation variables, p-values and degrees of freedom.
  2. Type: Table
    Correlation matrix
    Correlation variables in a matrix representation.
  3. Type: Correlation
    Correlation model
    A model containing the correlation measures. This model is appropriate to be read by the Correlation Filter node.
  4. Type: Table
    Rank table
    A table containing the fractional ranks of the columns. Where the rank corresponds to the values position in a sorted table.

Extension

The Rank Correlation node is part of this extension:

  1. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2026 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits