0% found this document useful (0 votes)
78 views3 pages

Tut 9 16492374 R.J Jubelin

This document contains sample statistics and hypothesis tests from a statistics exam. Question 1 finds highly significant evidence that less than half of Americans would prefer a day off. Question 2 shows sample means are significantly different. Question 3 fails to reject the hypothesis that sample variances are equal. Question 4 conducts a one-tailed test that a population proportion is greater than 0.22, and calculates the power of this test for different sample sizes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views3 pages

Tut 9 16492374 R.J Jubelin

This document contains sample statistics and hypothesis tests from a statistics exam. Question 1 finds highly significant evidence that less than half of Americans would prefer a day off. Question 2 shows sample means are significantly different. Question 3 fails to reject the hypothesis that sample variances are equal. Question 4 conducts a one-tailed test that a population proportion is greater than 0.22, and calculates the power of this test for different sample sizes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

TUT 9

16492374 R.J Jubelin

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

p-value <0.05 so we reject 𝐻0

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

1 1 (𝑛1 −1)𝑆1 2 +(𝑛2 −1)𝑆2 2


𝑠 ∗ = 𝑠𝑝√𝑛 + 𝑛 = 0.6840 𝑠𝑝 = √ 𝑛1 +𝑛2 −2
= 1.8733
1 2

(𝑥1 (ℎ𝑎𝑡) − 𝑥2 (ℎ𝑎𝑡)) − (𝑈1 − 𝑈2)


𝑡= = −4.1784
𝑠∗
𝑡28,0.975 = 𝑇. 𝐼𝑁𝑉(0.975,28) =2.0484

We reject 𝐻0 because t=-4.1784 is less than 2.0484


Question 3
𝜎1 2⁄
𝐻0 : =1
𝜎2 2
𝜎1 2
𝐻0 : ⁄ 2≠1
𝜎2
𝑆1 =1.6380

𝑆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

We do not reject the 𝐻0 because 1.2214<1.2816

b)
𝐻0 : 𝑝 = 0.22
𝐻1 : 𝑝 > 0.22

Under 𝑯𝟎 (p=𝒑𝟎 =0.22)


p(hat) − p
z= = 𝑧1−∝ = 1.2816
√p(1 − p)
n
0.22(0.78)
𝑝(ℎ𝑎𝑡) > 0.22 + 1.2816 ∗ √
𝑛

Under 𝑯𝟏 (p=𝒑𝟎 =0.3)

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)

Effect of sample Size on Power


0.9

0.8995
Power

0.899

0.8985
20 70 120 170 220 270 320 370 420
n

You might also like