RelationshipSample

Correlation matrix

Shows the correlation between every pair of variables, coloured from strongly negative to strongly positive.

Every pairwise correlation at a glance: blue moves together, red moves apart.

Sample data

Use it when

  • Exploring which variables move together before modelling
  • Checking for redundant features

Avoid it when

  • Relationships are non-linear: correlation will understate them

Display modes

Default
Every pairwise correlation at a glance: blue moves together, red moves apart.
Annotated
Prints the strong correlations and outlines the strongest pair.

More in Relationship