Spearman's Rank Correlation — Previous Year Questions
📊 Topic Overview
| Metric | Value |
|---|---|
| Papers Appeared | 19 of 27 (70.4%) |
| Priority | 🔴 VERY HIGH |
| Section Distribution | Sec A: ~14 |
| Most Repeated | "Compute Spearman's Rho for the following data" |
| Probability | Very High — primary Section A computation in ~2 of every 3 papers |
🎯 Must-Know Concepts
- Spearman's rho (ρ) is a non-parametric measure of rank correlation
- Formula: rho = 1 − [6Σd²/ n(n²−1)]
- d = difference between ranks for each pair
- Range: −1 to +1 (same as Pearson's r)
- Used when data is ordinal, or Pearson's r assumptions are violated
- Tied ranks: assign average of tied ranks
🔥 Core Computation Procedure
Step-by-Step Spearman's Rho
Step 1: Assign ranks to each variable Rank the scores for Variable X from 1 (lowest) to n (highest). Do the same for Variable Y. For tied scores, assign the average rank.
Step 2: Compute d (rank differences) For each pair, d = Rank of X − Rank of Y
Step 3: Compute d² Square each d value.
Step 4: Sum the d² values ΣD² = sum of all squared rank differences
Step 5: Apply the formula
Where n = number of pairs.
Computation Table:
| Subject | X | Y | Rank X | Rank Y | D (RX−RY) | D² |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | ||||||
| ... | ||||||
| ΣD² = |
Step 6: Interpret
- rho = +1: Perfect positive rank correlation
- rho = −1: Perfect negative rank correlation
- rho = 0: No rank correlation
- Compare with critical r at df = n − 2
📝 Conceptual Questions
Spearman's Rho vs Pearson's r (Section B — ~250 words)
| Aspect | Spearman's Rho (ρ) | Pearson's r |
|---|---|---|
| Type | Non-parametric | Parametric |
| Data scale | Ordinal (ranked data) | Interval or ratio |
| Distribution | No normality assumption | Assumes normality |
| Based on | Rank differences | Actual values |
| Formula | 1 − 6ΣD²/n(n²−1) | Σ(X−X̄)(Y−Ȳ)/nSDxSDy |
| Outliers | Less sensitive | Sensitive |
| Use | When ranks are natural, or data non-normal | When interval/ratio data, normal distribution |
When to use Spearman's rho:
- Data measured on ordinal scale (e.g., rankings, ratings)
- Data does not meet normality assumptions
- Small samples
- Presence of outliers that would distort Pearson's r
Often questions are phrased as: "Define outliers. Compute Spearman's Rho for the following data." — prepare a definition of outliers: extreme values that deviate markedly from other data points, which can distort correlation coefficients.
Linear and Non-linear Relationship (Section A pairing — ~250 words)
Questions often pair Spearman's Rho computation with "Explain linear and non-linear relationship":
Linear relationship: When scores on two variables change at a constant rate — a straight line fits the scatter plot. The relationship can be positive (both increase together) or negative (one increases as the other decreases).
Non-linear relationship: When the relationship between variables is not constant — the scatter plot follows a curved pattern. Pearson's r is not appropriate for non-linear relationships; Spearman's rho may better capture monotonic non-linear relationships.
🧠 Memory Aid
Spearman Steps (RRDS-F):
- Rank X variable
- Rank Y variable
- Difference (d = Rank X − Rank Y) and D²
- Sum the D² values
- Formula: rho = 1 − 6ΣD²/n(n²−1)
📚 Related Content
✅ Self-Assessment
- Write the formula for Spearman's rho.
- What is the value of n(n²−1) when n = 8?
- If ΣD² = 24 and n = 6, what is rho?
- When would you choose Spearman's rho over Pearson's r?
- How do you handle tied ranks in Spearman's rho computation?
💡 Exam Tips
- Show the full table with columns: Subject, X, Y, Rank X, Rank Y, D, D².
- Verify: the sum of ranks for X should equal n(n+1)/2.
- For tied ranks: both scores get the average of the two ranks (e.g., if 2 scores tie for ranks 3 and 4, both get rank 3.5).
- Questions often come with a theory part ("explain outliers" or "linear vs non-linear") before the computation — prepare both.