Professional Documents
Culture Documents
AIM: To apply suitable non- parametric tests for the given data.
EXPERIMENT:
1) It is desired to test the hypothesis that median (μ) of a continuous distribution is 15 against the
alternative hypothesis that it is strictly greater than 15. The 20 observations are obtained as follows:
17 18 16 16 17 19 14 13 19 21
22 11 9 12 14 17 23 18 17 16
Use a suitable non-parametric test and conclude the results. Also test for the two tailed hypotheses.
2) The data given below is for a large industrial plant on emission of sulphur dioxide, SO 2 (in tonnes):
17 15 20 29 19 18 22 25 27 9
24 20 17 6 24 14 5 23 24 26
19 23 28 19 16 22 24 17 20 30
19 10 23 18 31 13 20 17 24 14
Use a suitable non-parametric test to determine whether μ = 23.5, where μ is the average daily emission of
SO2.
3) The data below show measurement of the corrosion effects in various soils for steel pipe before and
after coating:
THEORY:
One Sample Sign Test:
Let X1, X2… Xn be a random sample from a population with unknown median μe.
Level of Decision
Alternate Hypothesis p value Comparison
Significance
H1: p>1/2 P(r≥r1) α P(r≥r1) ≤ α REJECT Ho
P(r≥r1) > α ACCEPT Ho
H1: p≠1/2 α
step 1 Compute
P(r≥r1) α/2 P(r≥r1) ≤ α/2 REJECT Ho
P (r ≥r1)> α/2 DO STEP 2
20
1 20
p value = P(r ≥ 14) = ∑ C r ( ) = 0.057659149
2
r=14
20
1 20
p value = P(r≥14) = ∑ Cr ( ) = 0.057659149
2
r=14
P(r≥14) > α/2(=0.025)
Now, we calculate P(r≤14)
20 1 14
P(r≤14) = 1 - P(r≥14) + P(r=14) = 1-0.057659149 + C14 (2) = 1-0.057659149 +0.036964
= 0.979305
(x + 0.5) − μx 12.5 − 20
Z= = = −2.37171
σx √10
|Z| = 2.3717
Tabulated Z = 1.634 ( since single tail, computed Z at 10% LOS)
13
1 13
P(r ≤ 5) = ∑ Cr ( ) = 0.290527
2
r=0
Since, P (r ≤ 5) > α/2
Now, we calculate P (r ≥ 5)
13 1 13
P value = P (r ≥ 5) = 1 – P (r ≤ 5) + P(r = 5) = 1-0.290527+ C5 (2) = 0.866577
P value > α/2(=0.025)
RESULT:
1.
Right-tailed:
Since, p-value (=0.058) >0.05, we may accept Ho at 5% level of significance and conclude that
median of continuous distribution is 15 i.e., P(Xi>15) = p =0.5
Two-tailed:
Since, p-value (=0.979) > 0.05, we may accept Ho at 5% level of significance and conclude that
median of continuous distribution is 15 i.e., P(Xi>15) = p =0.5.
Since, calculated value of |Z| (=2.37171) > tabulated Z (= 1.645) therefore we reject Ho at 5% level
of significance.
Hence, mean of daily emission of SO2 is less than 23.5.