Lecture 17: Non-Parametric Tests Flashcards
When do we do a non-parametric test (3)
- When assumptions are violated
- When the variable is ordinal
- When unsure about outliers
What is the assumption
Having independent random samples
What are the hypotheses
H0: equal population distributions (implies equal mean ranking)
Ha: unequal mean ranking (two-sided)
Ha: higher/lower mean ranking (one-sided)
What is the test statistic
The difference between sum of rankings
How do we deal with ties in ranked data
We add the ranks that the ties we supposed to have and then divide that by the amount of numbers that are tied
What are 4 non-parametric tests and their assumptions
- Wilcoxon rank-sum test
—> 2 independent samples (independent samples t-test) - Wilcoxon signed rank test
—> 2 paired samples (paired samples t-test) - Kruskal-Wallis test
—> independent with more than 2 samples; one-way ANOVA - Friedman’s ANOVA
—> within subjects ANOVA
What is the sum of ranks
Adding the values assigned to each rank in the group
What is the minimum/maximum rank sum
The values of the rank added together; if you have rank 1-20 (each with an assigned data point), and group 1 is rank 1-10 and group 2 is rank 11-20 then the minimum rank sum = 1+2+3+4+5+6+7+8+9+10=55 and the maximum rank sum = 11+12+13+14+15+16+17+18+19+20=155
What is the procedure for a Wilcoxon signed rank test
Take absolute differences (difference between scores without sign) between scores, rank the absolute differences, sum the differences that have a positive sign
What is the test statistic of the Kruskal-Wallis test and what distribution does it have
The squared ranks in each of the groups combined, a chi-squared distribution