Non-Parametric Tests
Non-Parametric Tests
Tests
The Case of k
Related Samples
• Cochran Q Test
• Accept H₀ : If calculated Q
statistic ≤ critical x² value.
Formula
b= number of subjects
k= number of treatments
X•j= column total
Xi•= row total
N= grand total
Example
n= number of subjects
k= number of treatments
ER_j²= total sum of ranks
Example
Five students are taught using three different methods (A, B, C).
Their test scores are:
Example
• Kruskal-Wallis One-Way
Analysis of Variance by Ranks
X² Test for k
Independent
Samples
X² test for k
Independent
Samples
O- Observed
frequency
E- Expected
Frequency
Example
1.Random sample
2.Observations are independent
3.The data is ordinal
Decision Rule
O_ij= Observed
frequency
E_ij= Expected
Frequency
Example
Fertilizer A: 15, 18, 12, 16, 19, 14, 17, 20, 13, 15
Fertilizer B: 22, 25, 20, 23, 28, 21, 24, 26, 19, 22
Fertilizer C: 10, 12, 9, 11, 13, 8, 14, 10, 11, 12
Example
Combine all the data: 10, 10, 11, 11, 12, 12, 12, 13, 13,
14, 14, 15, 15, 16, 17, 18, 19, 19, 20, 20, 21, 22, 22,
23, 24, 25, 26, 28
N= total number of
observations
k= number of treatments
n_i= number of
observations in each
group
R_i= sum of ranks for
each group
Example
Medication A: 7, 6, 8, 5, 7
Medication B: 4, 3, 5, 2, 4
Medication C: 9, 8, 10, 7, 9
Example