Sei sulla pagina 1di 5

MERCULLO, ENDREI CLYNE, M.

11813431
ENGDAT1 HW – NON -PARAMETRIC

1. Ho: 𝜇1 − 𝜇2 ≤ 0 RANK SUM TEST


𝛼
H1: 𝜇1 − 𝜇2 > 0 𝛼 = 0.1; 2 = 0.05

40 – 1 59 – 6 90 - 11
43 – 2 60 – 7 92 - 12
45 – 3 77 – 8
50 – 4 79 - 9
56 – 5 81 – 10

𝑤1 = 49
𝑤2 = 29
5(5 + 1)
𝑈1 = 49 − = 34
2
7(7 + 1)
𝑈2 = 29 − =1
2
𝑢 = 1 (𝑡𝑒𝑠𝑡 𝑠𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐)

A = 0.1
u≤9
therefore, reject Ho! Adding codeine to paracetamol increases its analgesic
properties.

using normal approximation

CV: z > 1.28

5(7)
𝜇𝑢 = = 17.5
2
5(7)(5 + 7 + 1)
𝜎𝑢2 = = 37.92
12
1.5 − 17.5
𝑧= = −2.59
√37.92
Since -2.59 < 1.28;
therefore, fail to reject Ho! Both have the same effect.
2.
a. Ho: no. of repeat offenders will not decrease SIGN TEST
H1: no. of repeat offenders will decrease 𝛼 = 0.05

Before After

21 19 +

34 22 +

9 16 -

45 31 +

30 21 +

54 30 +

37 22 +

36 18 +

33 17 +

40 21 +
n = 10
+=9
-= 1

𝑃(𝑥 ≥ +) = ∑[(10𝐶𝑥)(0.5)𝑥 (0.5)10−𝑥 ] = 0.0107


0

therefore, reject Ho! No. of repeat offenders will decrease.

b. Ho: 𝜇1 − 𝜇2 ≤ 0 SIGNED RANK TEST


H1: 𝜇1 − 𝜇2 > 0 𝛼 = 0.1

2–1 24 - 10
12 – 4 15 - 6
-7 – 2 18 - 8
14 – 5 16 - 7
9–3 19 – 9
W+ = 53
W- = 2 (test value)

in table A.16,
w ≤ 8; 2 < 8
therefore, reject Ho! # of offenders will decrease!

3. Ho: observations are random RUNS TEST


𝛼
H1: observations are non-random 𝛼 = 0.05; 2 = 0.025

10.30 B
10.90 B
12.75 A
12.95 A
15.51 A
15.70 B
15.95 B
17.65 A
20.20 A
25.00 A
25.10 B
25.30 B
25.45 A
27.05 A
27.25 B
27.45 B

v = 7 runs
2(8)(8)
𝜇𝑣 = +1 =9
8+8
CV: v* < 5; since 7 > 5,
Therefore, fail to reject Ho! Observations are non-random.
4.
a. Ho:𝜇̃ ≤ 750 SIGN TEST
H1: 𝜇̃ > 750 𝛼 = 0.05

+ + + -

+ + - +

- 0 + +

+ + + +

n = 15
+ = 12
(-) = 3 CV: z > 1.645

12.5 − 0.5(15)
𝑧= = 2.58
√15(0.5)(0.5)
Since 2.58 > 1.645,
Therefore, reject Ho! The teller can reject the manager’s claim.

b. Ho:𝜇̃ ≤ 720 SIGNED RANK TEST


H1: 𝜇̃ > 720 𝛼 = 0.10

55 25 CV: z < -1.28


45 30 W = 136
81 57
22 49
34 36
33 40
19 62
31 69

135.5 − 68
𝑧= = 3.49
√374
Since 3.49 > -1.28,
Therefore, fail to reject Ho! The hypothesis is valid.
5. Ho:𝜇1 = 𝜇2 = 𝜇3 = 𝜇4 KRUSKAL-WALLIS TEST
H1: 𝜇1 ≠ 𝜇2 ≠ 𝜇3 ≠ 𝜇4 𝛼 = 0.05

Runners R1 Cyclists R2 Swimmers R3 Triathletes R4


185 14 190 16 166 5 201 18
179 10 200 19 159 1 175 8
192 17 182 12 170 6 180 11
165 3.5 178 9 183 13 187 15
174 7 165 3.5 160 2 215 20
∑ 51.5 59.5 27 72

12 51.52 59.52 272 722


ℎ= ( + + + ) − 3(20 + 1) = 6.17
20 (20 + 1) 5 5 5 5
CV: 𝑋(0.05,3)
2
> 7.815

Since 6.15 < 7.815,


Therefore, fail to reject Ho! There is no difference among the thresholds.

Potrebbero piacerti anche