id | drug | placebo |
---|---|---|
1 | 6.1 | 5.2 |
2 | 6.0 | 7.9 |
3 | 8.2 | 3.9 |
4 | 7.6 | 4.7 |
5 | 6.5 | 5.3 |
6 | 5.4 | 7.4 |
7 | 6.9 | 4.2 |
8 | 6.7 | 6.1 |
9 | 7.4 | 3.8 |
10 | 5.8 | 7.3 |
Main non-parametric rank tests
- Wilcoxon signed rank test
- compares the sample median against a hypothetical median (equivalent to one sample t-test)
- or examine the difference between paired observations (equivalent to paired t-test)
- Wilcoxon rank sum test
- examines the difference between two unrelated groups
- equivalent to two sample t-test
- Kruskal-Wallis one-way analysis of variance
- examines the difference between two or more unrelated groups
- equivalent to ANOVA
Rank based correlation
- Spearman’s rank correlation
- Pearson’s correlation coefficient calculated on ranks
- Kendall’s rank correlation
- based on number of concordant/discordant pairs
- alternative to Pearson correlation coefficient