Skip to main content

Associations

info

Access Catalyst at catalyst.merckgroup.com.

Overview​

Correlations only work between numerical variables. The Associations tool measures how strongly variables relate when at least one of them is categorical. It offers two views:

  1. Categorical - Association between pairs of categorical variables
  2. Numeric × Categorical - How much a numerical variable differs between the categories of a categorical variable

Both views use the same heat map as the Correlation Matrix. All values range from 0 (no association) to 1 (perfect association). Unlike correlations, associations have no direction.

Categorical View​

Measures the association between each pair of categorical columns using the bias-corrected Cramér's V. Missing values are treated as their own category.

Categorical associations
Cramér's V between all pairs of categorical columns

As a rule of thumb, values above 0.1 are weak, above 0.3 moderate and above 0.5 strong.

Numeric × Categorical View​

Measures how much a numerical column differs between the groups of a categorical column using the correlation ratio η (eta). Only pairs of one numerical and one categorical column have a value, all other cells stay empty.

η is the square root of the share of variance explained by the groups (η²), which puts it on the same scale as the absolute correlation and Cramér's V.

Numeric × categorical associations
Correlation ratio η between numerical and categorical columns
  • Method:
    • ANOVA: Based on η², assumes roughly normal distributions within each group
    • Kruskal: Based on η²_H of the Kruskal-Wallis test, uses ranks and is robust to outliers

As a rule of thumb, values above 0.1 are small, above 0.24 moderate and above 0.37 large. These correspond to the commonly used effect size thresholds of 0.01, 0.06 and 0.14 for η².

Options​

  • Order By: Sort variables by hierarchical or spectral clustering, mean, median or max association, or alphabetically
  • Threshold: Fade out cells below a minimum association strength
  • Max Columns: Control how many variables to display, prioritizing the ones with the strongest associations

Skipped Columns​

Categorical columns with more than 100 distinct values, or where every value is unique (such as IDs), are skipped. They would make the analysis slow while not producing meaningful results. Skipped columns are listed above the matrix. Columns marked as identifiers are not offered for selection.