Académique Documents
Professionnel Documents
Culture Documents
Question 1
𝐻0 : 𝑝 = 0.5
𝐻1 : 𝑝 < 0.5
447
𝑥(ℎ𝑎𝑡) = = 0.4298
1040
𝑝(ℎ𝑎𝑡) − 𝑝 0.4298 − 0.5
𝑧= .= = −4.5277
√𝑝(1 − 𝑝) √0.5(0.5)
𝑛 1040
p-value=NORM.DIST(0.4298,0.5,SQRT(0.25/1040),TRUE)=0.000003
There is highly significant evidence that the half of all American’s would prefer the day off.
Question 2
𝐻0 : 𝑈1 = 𝑈2
𝐻0 : 𝑈1 < 𝑈2
𝑆1 =1.6380
𝑆2 =2.0822
𝑥1 (ℎ𝑎𝑡) = 4.2867
𝑥2 (ℎ𝑎𝑡) = 7.1147
𝑆2 =2.0822
𝑠1 2 2.0822
𝐹= = = 1.2711
𝑠2 2 1.6380
𝑝 − 𝑣𝑎𝑙𝑢𝑒 = 2 ∗ 𝐹. 𝐷 𝐼𝑆𝑇. 𝑅𝑇(1.2711,14,14) =0.6608
We do not reject 𝐻0 because the p-value is greater then 0.05.
Question 4
a)
𝐻0 : 𝑝 = 0.22
𝐻1 : 𝑝 > 0.22
p(hat) − p
z= = 1.2214
√ p(1 − p)
n
z1−∝ = NORMAL. S. INV(0.9) = 1.2816
2
b)
𝐻0 : 𝑝 = 0.22
𝐻1 : 𝑝 > 0.22
0.3(0.7)
1 − β = P(Reject H0 |H0 is false) = P(p(hat) > 0.22 + 1.2816 ∗ √ | 𝑝 = 0.3)
𝑛
0.3(0.7)
𝑝(ℎ𝑎𝑡) − 0.3 0.22 + 1.2816 ∗ √ 𝑛 − 0.3
=1−P <
√0.3(0.7) √0.3(0.7)
( n n )
0.22(0.78)
=1 − P(Z < 1.2816 − 0.08 ∗ √ n
)
c)
n=160
0.3(0.7)
= 1 − P (Z < 1.2816 − 0.08 ∗ √ 160
) = NORMAL. S. DIST(1.2787) =0.8995
d)
0.8995
Power
0.899
0.8985
20 70 120 170 220 270 320 370 420
n