Академический Документы
Профессиональный Документы
Культура Документы
Non-parametric tests
Part 2 Non-parametric tests
Non-parametric tests
Non-parametric tests
Example
For more than two independent samples Analogue of ANOVA for independent samples
Score
4 1
9 2
10 3
11 4
13 5
14 6
15 7
16 8
17 9
18 10
19 11
20 12
Basic idea: Similar to W i l c o x o n test only sum of ranks for more than two groups
Rank
Non-parametric tests
Non-parametric tests
Experiment
If sums of ranks are similar, H 0 is accepted If sums of ranks are dissimilar, H 0 is rejected p-value is given by
Influence of drugs on motivation Measured through the number of arithmetic problems solved in an hour Three condition: placebo, depressant drug and stimulant drug
2(df)
d f = number of groups - 1
Between-participants design
Non-parametric tests
Non-parametric tests
Descriptive statistics
100
Box plot
80
Depressant
Sample size: 7 Mean: 30.0 Std. dev.: 28.17 Median: 44.0
Stimulant
Sample size: 8 Mean: 72.1 Std. dev.: 12.39 Median: 71
Placebo
60
Sample size: 4
40
-20
N= 7 8 4
Depressant
Stimulant
Placebo
Result
Stimulant Score 73 85 51 63 85 85 66 69 Sum: 35 Rank 15 18 7 12 18 18 13 14 115 40 Placebo Score 61 54 80 47 Rank 11 8 16 5
sample size small for placebo Standard deviation too different between depressant and stimulant Depressant and stimulant skewed
Score 44 55 0 1
0 50 60
Non-parametric tests
10
Non-parametric tests
SPSS output
Ranks SCORE FACTOR 1.00 2.00 3.00 Total N 7 8 4 19 Mean Rank 5.00 14.38 10.00
Report
A K r u s k a l -Wallis one-way ANOVA was performed on the results from the three groups. The analysis indicated a significant effect ( 2 (2) = 10.41, p = 0.005).
Relevant P-value
Non-parametric tests
Non-parametric tests
within-participants ranking
P1: 1 2 3 P2: 1 2 3
P3: 1 2 3
Basic idea: Ranking within each participant and sum of ranks for each condition across participants
within-participants ranking
P1: 1 2 3 P2: 2 1 3
If sums of ranks are similar, H 0 is accepted If sums of ranks are dissimilar, H 0 is rejected p-value is given by
P3: 3 2 1
2(df)
d f = number of groups - 1
Experiment
Morning
Descriptive statistics
Lunch
6 5.5 5.0
Afternoon
6 2
2.2
2.0
10 participants had to rate on a scale between 1 and 5 how alert they felt Within-participants design
10 MORNING
10 LUNCH
1.5 N=
10 AFTERNOO
17
Non-parametric tests
18
Non-parametric tests
Results
R 1 1 1 2 1 1 1 2 1 2 13 Lunch 2 4 2 1 3 5 2 2 3 1 R 2 2 2.5 1 2.5 2.5 2 2 2.5 1 20 Afternoon 3 5 2 3 3 5 3 2 3 3 R 3 3 2.5 3 2.5 2.5 3 2 2.5 3 27
Non-parametric tests
Standard deviation too different between morning and lunch Lunch slightly skewed
3 4 5
6 7
8 9 10 Sum of Ranks:
19
Non-parametric tests
20
SPSS output
Report
A Friedmans Rank Test was performed on the results and revealed a significant effect ( 2 (2) = 12.25, p = 0.002).
Relevant P-value
a. Friedman Test
21
Non-parametric tests
22
Non-parametric tests