Unit - 3 Non Parametric Test Part 1
Unit - 3 Non Parametric Test Part 1
Decision:
If the observed value of ‘r’ lies within the lower critical value (𝑟) and upper
critical value (𝑟),
ҧ then the null hypothesis is accepted and rejected
otherwise.
Conclusion:
If H0 is accepted, then statement of H0 is accepted and the statement of H0 is
written as a conclusion.
If H0 is rejected, then statement of H1 is accepted and the statement of H1 is
written as a conclusion.
For large sample size: n1 or n2 > 20
For large sample size, r is normally distributed with mean 𝜇𝑟 and variance 𝜎𝑟2 .
Test statistic:
Under H0
𝑟 − 𝜇𝑟
Z= ~ N(0, 1)
𝜎𝑟
Where,
2𝑛1 𝑛2
Mean (𝜇𝑟 ) = +1
𝑛1 +𝑛2
2𝑛1 𝑛2 (2𝑛1 𝑛2 −𝑛1 −𝑛2 )
Standard deviation (𝜎𝑟 ) =
𝑛1 +𝑛2 2 (𝑛1 +𝑛2 −1)
Critical value:
Same as Z test.
Decision:
Same as Z test.
Conclusion:
Same
Remark: Even if the size of the sample is small, when the level of significance (α) is other than 5%, we will use the
large sample test (Z – test).
Binomial test:
Binomial test is a non parametric test used to test whether the binomial
population has two distinct groups of two equal numbers of outcomes
(dichotomous) or not i.e. to test whether the total number of outcomes in first
group is equal to that in second group or not.
This test is appropriate if the data are measured in nominal scale. This test is an
alternative test of Z test of single proportion.
Testing procedure:
Setting of hypothesis:
1
Null hypothesis, H0: P = P0 (= 2) i.e. i.e. the sample has been drawn from the
1
binomial population with specified proportion P0 (= 2).
1
Alternative hypothesis, H1: P ≠ P0 (= 2) i.e. the sample has not been drawn from
1
the binomial population with specified proportion P0 (= 2) (two tailed test).
1
Alternative hypothesis, H1: P > P0 (= ) (one tailed test).
2
1
Alternative hypothesis, H1: P < P0 (= ) (one tailed test).
2
Level of significance:
Fix the level of significance 5 % or 1 % unless or otherwise stated.
For small sample size: n ≤ 25
Test statistic:
Under H0
X0 = Min.(n1, n1)
Where,
n1 = No. of observations belonging to the first group.
n1 = No. of observations belonging to the second group.
p – value/Critical value:
The p-value of the test is obtained from the binomial p-value table by using
the formula
𝑋0 1
p = P(X ≤ X0) = σ𝑥=0 𝐶(𝑛, 𝑥)(2)𝑛
Decision:
1. For one tailed test:
If p-value is less than or equal to alpha, then H0 is rejected and accepted
otherwise.
That is, If p0 ≤ α, then Ho is rejected and if p0 > α, then Ho is accepted.
2. For two tailed test:
If 2p0 value is less than or equal to alpha, then H0 is rejected and accepted
otherwise.
That is, If 2p0 ≤ α, then H0 is rejected and if 2p0 > α then H0 is accepted.
Conclusion:
Same
For large sample size: n > 25
For large sample size, X0 is normally distributed with mean np and variance npq.
Test statistic:
Under H0
𝑋0 − 𝜇 𝑋0 −𝑛𝑝
Z= = ~ N(0, 1)
𝜎 𝑛𝑝𝑞
Critical value:
Same as Z test.
Decision:
Same as Z test.
Conclusion:
Same
Kolmogorov-Smirnov test:
Kolmogorov-Smirnov one sample test is another non parametric test used to
test the goodness of fit between observed frequencies and expected
frequencies.
This test is alternative to chi-square test for goodness of fit when sample size
is small.
Testing procedure:
Setting of hypothesis:
Null hypothesis, H0: The random samples are drawn from the population with
specified distribution F0(x).
Alternative hypothesis, H1: The random samples are not drawn from the
population with specified distribution F0(x).
Level of significance:
Fix the level of significance 5 % or 1 % unless or otherwise stated.
Test statistic:
Under H0
𝐷0 = 𝑀𝑎𝑥. 𝐹𝑒 − 𝐹0
Where,
𝐹𝑒 = expected relative frequency.
𝐹0 = observed relative frequency.
Critical value:
The critical value (𝐷(𝑛, 𝛼) ) is obtained from the critical value table of
Kolmogorov-Smirnov test.
Remark:
For large sample n > 40, the critical value is obtained from the following
table. Level of significance, α 0.20 0.10 0.05 0.02 0.01
Approximate critical values, 𝐷(𝑛,𝛼) 1.07 1.22 1.36 1.52 1.63
𝑛 𝑛 𝑛 𝑛 𝑛
Decision:
If 𝐷0 ≥ 𝐷(𝑛, 𝛼) then H0 is rejected and accepted otherwise.
Conclusion:
Same