Friedman Test
Lecture 56
The Friedman test is a non-parametric version of
two-way ANOVA or randomized complete block designs. The Friedman test is applicable
when the assumptions of normality and homogeneity of variances are not met. It
is an extension of the sign test when there may be more than two treatments.
The Friedman test assumes that there are k experimental
treatments (k ≥ 2). The observations are arranged in b blocks,
that is
1. Data
Preparation:
The data will be
available in a b x k table.
2. Ranking Within blocks
Assign the rank rij within a block to Xij from smallest to largest value denoted by
rij. Assign the average rank if there are tied observations.
3. Total Ranks
Computed the sum of
ranks by adding rij.
K is the number of treatments.
Ri is the sum of ranks for treatment i.
The critical region will be based on chi-square
distribution with (k – 1) degrees of freedom.
Reject H0 when
Assumptions
There will be no interaction between blocks and
treatments.
All the k sampled
populations have the same
variability.
All the k
sampled populations have the same shape.
The observed data constitute at least an ordinal
scale of measurement within each block.
The variable of interest (dependent variable) is
continuous.
The
Dunn’s test is used as a post hoc test when the null hypothesis is
significant.
|
Age |
Drug A |
Drug B |
Drug C |
|
10 |
27 |
20 |
34 |
|
15 |
2 |
8 |
31 |
|
20 |
4 |
14 |
3 |
|
35 |
18 |
36 |
23 |
|
40 |
7 |
21 |
30 |
|
45 |
9 |
22 |
6 |
|
Age |
Drug A |
Drug B |
Drug C |
|
10 |
27 |
20 |
34 |
|
Rank |
2 |
1 |
3 |
|
15 |
2 |
8 |
31 |
|
Rank |
1 |
2 |
3 |
|
20 |
4 |
14 |
3 |
|
Rank |
2 |
3 |
1 |
|
35 |
18 |
36 |
23 |
|
Rank |
1 |
3 |
2 |
|
40 |
7 |
21 |
30 |
|
Rank |
1 |
2 |
3 |
|
45 |
9 |
22 |
6 |
|
Rank |
2 |
3 |
1 |
|
Ri |
9 |
14 |
13 |
|
Employee |
Baseline Salary |
Action 1 |
Action 2 |
|
1 |
12 |
5 |
1 |
|
2 |
13 |
7 |
4 |
|
3 |
12 |
8 |
5 |
|
4 |
11 |
7 |
4 |
|
5 |
12 |
8 |
3 |
|
6 |
13 |
9 |
2 |
|
7 |
14 |
7 |
4 |
|
8 |
12 |
6 |
5 |
|
9 |
15 |
5 |
4 |
|
10 |
11 |
6 |
3 |
Use the Friedman test to test the hypothesis that employees' timelines are affected by pay cheque reductions.
Solution:
|
Employee |
Baseline Salary |
Action 1 |
Action 2 |
|
1 |
12 |
5 |
1 |
|
Rank |
3 |
2 |
1 |
|
2 |
13 |
7 |
4 |
|
Rank |
3 |
2 |
1 |
|
3 |
12 |
8 |
5 |
|
Rank |
3 |
2 |
1 |
|
4 |
11 |
7 |
4 |
|
Rank |
3 |
2 |
1 |
|
5 |
12 |
8 |
3 |
|
Rank |
3 |
2 |
1 |
|
6 |
13 |
9 |
2 |
|
Rank |
3 |
2 |
1 |
|
7 |
14 |
7 |
4 |
|
Rank |
3 |
2 |
1 |
|
8 |
12 |
6 |
5 |
|
Rank |
3 |
2 |
1 |
|
9 |
15 |
5 |
4 |
|
Rank |
3 |
2 |
1 |
|
10 |
11 |
6 |
3 |
|
Rank |
3 |
2 |
1 |
|
Ri |
30 |
20 |
10 |
vi. Remarks: The Friedman test calculated value falls in the acceptance region; the sample data does not provide sufficient evidence to accept the null hypothesis. Thus, it is concluded that the pay of employees is affected.
- Read More:K - N Test
%20-%20Copy.png)
%20-%20Copy.png)
%20-%20Copy.png)
%20-%20Copy.png)
%20(1)%20(1).png)
%20(1)%20(1).png)
%20-%20Copy.png)
%20-%20Copy.png)
%20(1)%20(1).png)
%20-%20Copy.png)
%20-%20Copy.png)
%20-%20Copy.png)
%20-%20Copy.png)
No comments:
Post a Comment