Loading subject…
A non-zero $r_s$ shows association, not causation: a strong monotonic link may still be driven by a third variable.
Six students recorded their weekly revision hours and their exam mark: A (12 h, 74), B (5 h, 52), C (9 h, 64), D (3 h, 48), E (7 h, 66), F (15 h, 80). Build a rank table for both variables, ranking 1 as the highest.
Solution
Six employees have years of experience and a performance score: P1 (2 yr, 55), P2 (8 yr, 80), P3 (5 yr, 68), P4 (11 yr, 80), P5 (3 yr, 60), P6 (7 yr, 72). Build the rank table, ranking 1 as the highest.
Solution
For seven cities, an air-pollution index and the local asthma rate (per 1000) are: (20, 3.1), (45, 6.5), (30, 4.2), (60, 7.8), (15, 2.5), (50, 6.0), (38, 5.0). Find $r_s$ and interpret it.
Solution
| Feature | Pearson's r | Spearman's r_s |
|---|---|---|
| Detects | linear relationship only | any monotonic relationship |
| Uses | raw values | ranks of the values |
| Data type | continuous | continuous or ordinal |
| Effect of outliers | strongly affected | resistant |
| Assumes normality | yes (for inference) | no (non-parametric) |
| In formula booklet | regression is; r itself is not | no (GDC / technique) |
A biologist measures a dose and a response for seven samples: (1, 2), (2, 5), (3, 11), (4, 20), (5, 34), (6, 55), (7, 90). Pearson's $r$ for this data is $0.936$. State, with reasons, whether Pearson's $r$ or Spearman's $r_s$ better describes the relationship, and find that coefficient.
Solution