통계 > 비모수 검정 > Kruskal-Wallis 검정...
Statistics > Nonparametric tests > Kruskal-Wallis test...
carData 패키지에 있는 Friendly 데이터셋을 활용한다. https://rcmdr.tistory.com/153
data(Friendly, package="carData")
Tapply(correct ~ condition, median, na.action=na.omit, data=Friendly) # medians by group
kruskal.test(correct ~ condition, data=Friendly)
'Statistics > Nonparametric tests' 카테고리의 다른 글
3. Paired-samples Wilcoxon test... (0) | 2022.03.21 |
---|---|
2. Single-sample Wilcoxon test... (0) | 2022.03.21 |
1. Two-sample Wilcoxon test... (0) | 2022.03.21 |
5. Friedman rank-sum test... (0) | 2022.03.20 |