Spearman Rank Correlation

Spearman Correlation Calculator

Spearman Correlation Calculator

Instructions:

  1. Paste your data below (first row = headers).
  2. Click "Load Data".
  3. Select the variables you want to include in the correlation matrix.
  4. Click "Run Analysis" to see the results.

Formula Used

This calculator uses the following **tie-corrected** formula for Spearman's Rho:

ρ = (n³ - n - 6Σd²) / √( (n³ - n - Tₓ) * (n³ - n - Tᵧ) )

Where:
n = The number of data pairs.
d = The difference between the ranks of corresponding values.
Tₓ, Tᵧ = Tie correction factors for each variable, calculated as Σ(t³ - t) where t is the number of tied observations.


No comments:

Post a Comment