Skip to content
Associations

Spearman correlation

Measure monotone association using ranks.

All methods

Requirements

  • two ordinal/continuous variables

Avoid when

  • non-monotone association
  • need slope in original units

Formula

ρ = cor(rank(x), rank(y))

Interpretation

rho describes rank-order association.

Example use case

Estimate a monotonic association between disease stage and biomarker level.

Open example datasets