Docsity

Statistical Hypothesis Testing: Comparing Means and Probabilities - Prof. Mohammad Mirzaag, Assignments of Statistics

Toggle sidebar
bg1
Practice Problems Part 4 04/20/2009 1
Test of Hypothesis Practice Problems
Step 1
Step 2 Step 3 Test Statistics ( ts ) Conclusion
About H0
Comment
About SC
1
SC: 40
µ
>
OC: 40
µ
≤
H0: 40
µ
≤
H1: 40
µ
>
RTT
.05, 49n
α
==
RTT
A R
0 1.645
CV = 1.645
49, 41.8, 3.8nx s
=
==
(
)
49 41.8 40 3.316
3.8
ts z −=
==
ts falls inside
CR ⇒
Reject that
H0: 40
µ
≤
Accept
SC: 40
µ
>
2
SC: 40
µ
≠
OC: 40
µ
=
H0: 40
µ
=
H1: 40
µ
≠
TTT
.01 49n
α
==
TTT TTT
R A R
2.58− 0 2.58
CV = 2.576±
49, 42.8, 4.8nx s
=
==
(
)
49 42.8 40 4.08
4.8
z
ts −
== =
ts falls inside
CR ⇒
Reject that
H0: 40
µ
=
Accept
SC: 40
µ
≠
3
SC: 40
µ
<
OC: 40
µ
≥
H0: 40
µ
≥
H1: 40
µ
<
LTT
.01 56n
α
==
RTT
R A
2.326− 0
CV = 2.326−
56, 39.5, 1.9nx s
=
==
(
)
56 39.5 40 1.969
1.9
ts z −=−
==
ts falls not
inside CR
⇒
Accept that
H0: 40
µ
≥
Reject
SC: 40
µ
<
4
SC: 40
µ
<
OC: 40
µ
≥
H0: 40
µ
≥
H1: 40
µ
<
LTT
.05, 16n
α
==
LTT
R A
1.75− 0
CV = 1.753−
16, 38.5, 2.2nx s
==
(
)
16 38.5 40 2.727
2.2
t
ts −
== =−
ts falls inside
CR ⇒
Reject that
H0: 40
µ
≥
Accept
SC: 40
µ
<
5
SC: 15
µ
=
OC: 15
µ
≠
H0: 15
µ
=
H1: 15
µ
≠
TTT
12.10, n
α
==
TTT TTT
R A R
1.796− 0 1.79 6
CV = 1.796±
12, 13.8, 2.7nx s
=
==
(
)
12 13.8 15 1.54
2.7
t
ts −
== =−
ts falls not
inside CR
⇒
Accept that
H0: 15
µ
=
Accept
SC: 15
µ
=
6
SC: 0.40p>
OC:0.40p≤
H0:0.40p≤
H1: 0.40p>
RTT
250.01, n
α
==
RTT
A R
0 2.33
CV = 2.326
ˆ
250, 120, 120 / 250 .48nxp
=
==
=
.48 .40
.4(1 .4)
250
2.57ts z −
−
== =
ts falls inside
CR ⇒
Reject that
H0: 0.40p≤
Accept
SC: .40p>
7
SC: 0.40p≥
OC:0.40p<
H0:0.40p≥
H1 0.40p<
LTT
360.05, n
α
==
LTT
R A
1.645− 0
CV = 1.645−
ˆ
360, 140, 140 / 360 .38nxp
=
== =
.4(1 .4)
360
.38 .40 .775
ts z
−
−−
== =
ts falls not
inside CR
⇒
Accept that
H0: 0.40p≥
Accept
SC: .40p≥
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Statistical Hypothesis Testing: Comparing Means and Probabilities - Prof. Mohammad Mirzaag and more Assignments Statistics in PDF only on Docsity!

Test of Hypothesis Practice Problems

Step 1 Step 2 Step 3 Test Statistics ( ts ) Conclusion

About H (^0)

Comment About SC

1

SC : μ > 40

OC : μ ≤ 40

H 0 : μ ≤ 40

H 1 : μ > 40 RTT

α = .05, n = 49 RTT

A R 0 1. CV = 1.

n = 49, x = 41.8, s =3.

49 ( 41.8 40 )

ts z

− = = =

ts falls inside CR ⇒ Reject that

H 0 : μ ≤ 40

Accept

SC : μ > 40

2

SC : μ ≠ 40

OC : μ = 40

H 0 : μ^ =^40

H 1 : μ ≠ 40

TTT

α = .01 n = 49 TTT TTT

R A R − 2.58 0 2.

CV = ±2.

n = 49, x = 42.8, s =4.

(^49) ( 42.8 (^40) ) 4.

ts z

− = = =

ts falls inside CR ⇒ Reject that

H 0 : μ = 40

Accept

SC : μ ≠ 40

3

SC : μ < 40

OC : μ ≥ 40

H 0 : μ ≥ 40

H1: μ < 40

LTT

α = .01 n = 56 RTT

R A − 2.326 0

CV = −2.

n = 56, x = 39.5, s =1.

(^56) ( 39.5 (^40) )

ts z

− = = = −

ts falls not inside CR ⇒ Accept that H 0 : μ ≥ 40

Reject

SC : μ < 40

4

SC : μ < 40

OC : μ ≥ 40

H 0 : μ ≥ 40

H1: μ < 40

LTT

α = .05, n = 16 LTT

R A − 1.75 0

CV = −1.

n = 16, x = 38.5, s =2.

16 ( 38.5 40 )

ts t

− = = = −

ts falls inside CR ⇒ Reject that

H 0 : μ ≥ 40

Accept

SC : μ < 40

5

SC : μ = 15

OC : μ ≠ 15

H 0 : μ = 15

H1: μ ≠ 15

TTT

α =.10, n = 12 TTT TTT

R A R − 1.796 0 1.

CV = ±1.

n = 12, x = 13.8, s =2.

12 13.8 ( 15 )

ts t

− = = = −

ts falls not inside CR ⇒ Accept that H 0 : μ = 15

Accept

SC : μ = 15

6

SC : p >0.

OC : p ≤0.

H 0 : p ≤0.

H1: p >0.

RTT

α =.01, n = 250 RTT

A R 0 2. CV = 2.

n = 250, x = 120, p ˆ= 120 / 250 =.

.48. .4(1 .4) 250

ts z 2.

− −

ts falls inside CR ⇒ Reject that

H 0 : p ≤0.

Accept

SC : p >.

7

SC : p ≥0.

OC : p <0.

H 0 : p ≥0.

H 1 p <0.

LTT

α =.05, n = 360 LTT

R A − 1.645 0 CV = −1.

n = 360, x = 140, ˆ p = 140 / 360 =.

.4(1 .4) 360

.38. ts z. −

− = = =−

ts falls not inside CR ⇒ Accept that H 0 : p ≥0.

Accept

SC : p ≥.

Please complete the table

Step 1 Step 2 Step 3 Test Statistics = ts Conclusion Comment

1

SC :

μ = 41

OC :

H 0 :

H 1 :

α = .01, n = 36

0

CV =? =

n = 36, x = 44.8, s =3.

ts =

ts falls inside of CR or not ? ⇒ R eject or A ccept H 0?

Accept or

Reject that

SC :

2

SC :

μ ≤ 55

OC :

H 0 :

H 1 :

α = 0.1 n = 64

0

CV =? =

n = 64, x = 56.2, s =8.

ts =

ts falls inside of CR or not ? ⇒ R eject or A ccept H 0?

Accept or

Reject that

SC :

3

SC :

μ ≠ 14

OC :

H 0 :

H 1 :

α = .05 n = 20

0

CV =? =

n = 20, x = 13.12, s =3.

ts =

ts falls inside of CR or not ? ⇒ R eject or A ccept H 0?

Accept or

Reject that

SC :

4

SC :

μ ≥ 400

OC :

H 0 :

H 1 :

α = .025, n = 25

0

CV =? =

n = 25, x = 355, s = 22

ts =

ts falls inside of CR or not ? ⇒ A ccept or R eject H 0?

Accept or

Reject that

SC :

5

SC :

μ < 102

OC :

H 0 :

H 1 :

α =.01, n = 82

0

CV =? =

n = 82, x = 97.5, s =17.

ts =

ts falls inside of CR or not ? ⇒ R eject or A ccept H 0?

Accept or Reject that SC :

6

SC :

p ≠0.

OC :

H 0 :

H 1 :

α =.05, n = 400

0

CV =? =

n = 400, x = 64 p ˆ=

ts =

ts falls inside of CR or not ? ⇒ R eject or A ccept H 0?

Accept or

Reject that

SC :

7

SC :

p >0.

OC :

H 0 :

H 1 :

α =.01, n = 200

0

CV =? =

n = 200, x = 92, p ˆ=

ts =

ts falls inside of CR or not ? ⇒ R eject or A ccept H 0?

Accept or

Reject that

SC :

Answers on page 10

P. 4) Leno Co. claims that the mean life of their batteries is at most 60 months. Test this claim with significance level 0.10, if a sample of 36 batteries has mean life of 64.8 months with standard deviation of 12 months.

SC : Ho: n = x = s =

OC : H1:

CV =

Test Statistic = ts = ____________________

Conclusion : Accept or reject H 0? 0

Comment : Accept or reject SC?

P. 5) Leno Co. claims that their batteries have an average life of 60 months. Test this claim when a sample of

36 batteries has mean life of 57.5 months with standard deviation of 6 months. α =0.

SC : Ho: n = x = s =

OC : H 1:

CV =

Test Statistic = ts = ____________________

Conclusion : Accept or reject H 0? 0

Comment : Accept or reject SC?

P. 6) Leno Co. claims that their batteries have an average life of 60 months. Test this claim if a sample of 25

batteries has mean life of 63.5 months with standard deviation of 8 months. α =0.

SC : Ho: n = x = s =

OC : H 1:

CV =

Test Statistic = ts = ____________________

Conclusion : Accept or reject H 0?

Comment : Accept or reject SC?

P. 7) Leno Co claims that the mean life of their batteries is less than 60 months. Test this claim when a sample

of 49 batteries has mean life of 53.6 months with standard deviation of 20 months. α = 10%.

SC : Ho: n = x = s =

OC : H 1:

CV=

Test Statistic = ts = ____________________

Conclusion: Accept or reject H 0? 0

Comment : Accept or reject SC?

P. 8) Leno Co. claims that the mean life of their batteries is less than 60 months. Test this claim with α =5%,

if a sample of 16 batteries has mean life of 52.4 months with standard deviation of 14 months.

SC Ho: n = x = s =

OC : H1:

CV=

Test Statistic = ts = ____________________

Conclusion Accept or reject H 0? 0

Comment : Accept or reject SC?

P. 9) Leno Co. claims that the mean life of their batteries is more than 60 months. Test this claim with α = .10,if

a sample of 9 batteries has a life of 62, 58, 59, 64, 63, 61, 59, 62, 58 months.

SC : Ho: n = x = s =

OC : H 1:

CV=

Test Statistic = ts = ____________________

Conclusion: Accept or reject H 0? 0

Commen t : Accept or reject SC?

Two Independent Populations

P. 13) According to data published, in 2003 the average starting salary for accountant majors was $39,560 and the starting salary for marketing majors was $41,050. Suppose these mean starting salaries are based on a random samples of 64 accountant majors, and 81 marketing majors, and further assume that the st. deviation for the starting

salaries of these majors were $3560 and $3880, respectively in 2003. Test at 1% significance level whether the

2003 mean starting salary for all accountant majors is less than that for all marketing majors.

Accountant major (μ 1 ) n 1 = x 1 = s 1 =

Marketing majors (μ 2 ) n 2 = x 2 = s 2 =

SC : μ 1 < μ 2 H 0 : H 0 :

OC: H 1 : H 1 :

CV = Z =

Test Statistic = ts = 1 2

2 2 1 2 1 2

( x x ) 0

z

s s

n n

Conclusion: Accept or reject H 0?

Comment: Accept or reject SC?

P. 14) The management at the New Century Bank claims that the mean waiting time for all customers as its branch is not different than the Public Bank, which is its main competitor. A business consulting firm took a sample of 200 customers from the New Century Bank and found out that they waited an average of 4.5 minutes with a standard deviation of 1.2 minutes before being served. Another sample of 300 customers taken from the Public Bank showed that these customers waited an average of 4.75 minutes with a standard deviation of 1. minutes before being served. Test at 2. % significance level whether the claim of the management of the New Century Bank is true.

New Century Bank (μ 1 ) n 1 = x 1 = s 1 =

Public Bank (μ 2 ) n 2 = x 2 = s 2 =

SC: H 0 : H 0 :

OC: H 1 : H 1 :

CV =^ Z =

Test Statistic = ts = 1 2

1 2 1 2

( x x ) 0

z

s s

n n

Conclusion: Accept or reject H 0?

Comment: Accept or reject SC?

Paired Samples

P. 15) A course is intended to increase the self-confidence of company’s employees. A random sample of seven employees was evaluated for their self-confidence salesperson before and after this course. The following table shows the measured of self-confidence scores before and after this course: Before^8 5 4 9 6 9 After 10 8 5 11 6 7 9

d=A - B

Σd = d = sd =

Using the 5% significance level, can you conclude that attending this course increases the self-confidence of company’s employees?

SC: After the course the H 0 :

OC.: After the course the H 1 :

CV = t =

Test Statistic = ts =

( d )

d

n d

t

s

=

Conclusion: Accept or reject H 0?

Comment: Accept or reject SC?

P. 16) A company claims that its 12-week special exercise program significantly reduces weight. A random sample of six persons was selected, and these persons were put on this exercise program for 12 weeks. The following table gives the weight (in pounds) of these six persons before and after the program.

Before 180 195 177 221 208 199 After 183 187 161 204 197 189

d=A - B

Σd = d = sd =

Using the 1% significance level, can you conclude that attending this exercise program reduces the weight of participants?

SC: After the course the H 0 :

OC: After the course the H 1 :

CV = t =

Test Statistic = t = 0

Conclusion: Accept or reject H 0?

Comment: Accept or reject SC?

Answers To Practice Problems

Step 1 Step 2 Step 3 Test Statistics = ts Conclusion Comment

1

SC :

μ = 41

OC :

μ ≠ 41

H 0 :

μ = 41

H 1 : μ ≠ 41

α = .01, n = 36

R A R 0

CV = ±2.

n = 36, x = 44.8, s =3.

36 ( 44.8 41 )

ts z

ts falls inside of CR ⇒ R eject H 0 μ = 41

Reject that

SC : μ = 41

2

SC :

μ ≤ 55

OC : μ > 55

H 0 :

μ ≤ 55

H 1 : μ > 55

α = 0.1 n = 64

A R 0

CV = 2.

n = 64, x = 56.2, s =8.

(^64) ( 56.2 (^55) )

ts z

ts falls not inside of CR ⇒ A ccept H 0 μ ≤ 55

Accept that

SC : μ ≤ 55

3

SC :

μ ≠ 14

OC :

μ = 14

H 0 :

μ = 14

H 1 :

μ ≠ 14

α = .05 n = 20

R A R 0

CV = ±2.

n = 20, x = 13.12, s =3.

20 13.12 ( 14 )

ts t

ts falls not inside of CR ⇒ A ccept H 0 μ = 14

Reject that

SC : μ ≠ 14

4

SC :

μ ≥ 400

OC : μ < 400

H 0 :

μ ≥ 400

H 1 :

μ < 400

α = .025, n = 25

R A 0

CV = −2.

n = 25, x = 355, s = 22

(^25) ( 355 400 ) 22

ts t

ts falls inside of CR ⇒ R eject H 0 μ ≥ 400

Reject that

SC : μ ≥ 400

5

SC :

μ < 102

OC : μ ≥ 102

H 0 :

μ ≥ 102

H 1 :

μ < 102

α =.01, n = 82

R A 0

CV = −2.

n = 82, x = 97.5, s =17.

( )

ts z −

ts falls on the border line of CR ⇒

I nconclusive

SC :

I nconclusive

6

SC :

p ≠0.

OC :

p =0.

H 0 :

p =0.

H 1 :

p ≠0.

α =.05, n = 400

R A R 0

CV = ±1.

n = 400, x = 64 p^ ˆ= 64 / 400 =.

.16. .13(1 .13) 400

ts z − 1. −

ts falls not inside of CR ⇒ A ccept H 0

Reject that

SC : p ≠0.

7

SC :

p >0.

OC :

p ≤0.

H 0 :

p ≤0.

H 1 :

p >0.

α =.01, n = 200

A R 0

CV = 2.

n = 200, x = 92, ˆ p = 92 / 200 =.

.46. .44(1 .44) 200

ts z − 0. −

ts falls not inside of CR ⇒ A ccept H 0

Reject that

SC : p >0.

Practice 2.

SC : μ ≥ 60 Ho: μ ≥ 60 n = 25 x = 57.5 s = 16

OC : μ < 60 H1: μ < 60

R A

CV = t = −1.711 TS =

25(57.5 60)

16

n x ( ) s

t

= =

− = −

- 1.711 0

Conclusion : Accept Ho Comment : Company’s claim is true.

Practice 3.

SC : μ > 60 Ho: μ ≤ 60 n = 25 x = 62.3 s = 4

OC : μ ≤ 60 H1: μ > 60

CV = t = 2.064 TS : =

25(62.3 60)

4

n x ( )

t

s

μ − = = =

⇒ It falls inside CR A

R

Conclusion : Reject Ho Comment : Company’s claim is true 0 2.

Practice 4. SC : μ ≤ 60 Ho: μ ≤ 60 n = 36 x = 64.8 s = 12

OC : μ > 60 H1: μ > 60

CV = z = 1.282 Test Statistic :

36 (64.8 60)

12

z

− = = ⇒ It falls inside CR A

R

Conclusion : Reject Ho Comment : Company’s claim is false. 0 1.

Practice 5.

SC : μ = 60 Ho: μ = 60 n = 36 x = 57.5 s = 6

OC : μ ≠ 60 H1: μ ≠ 60

CV = z = ±2.

TS =

z

= = − ⇒ Falls not inside CR R A R

Conclusion : Accept Ho -2.575 0 2. Comment : Accepting that the mean life of batteries is 60 months, so company’s claim is true.

Practice 11. Hypotheses about P (%)

SC : P = 0.65 Ho: P = 0.

280

400

n = 400 x = 280 p ˆ = =

OC : P ≠ 0.65 H1: P ≠0.

A

CV = z = ± 2.575 R R

TS :

ˆ (^) 0.70 .65.

(1 ) .65(1 .65). 400

p p Z p p n

− − = = = = − −

⇒ Falls not inside CR 2.575 0 2.

Conclusion : Accept Ho Comment : DMV‘s claim is true

Practice 12.

SC : P ≤ 0.55 Ho: P ≤ 0.55 n = 300 x = 186 p ˆ =186 / 300=0.

OC : (^) P > 0.55 H1: P >0.

CV = z =1. A R

TS :

..

Z

p p

p p

n

⇒ It falls inside CR 0 1.

Conclusion : Reject Ho Comment : DMV‘s claim is false.

Two Independent Populations

Practice 13. Accountant major (μ 1 ) n 1 = 64 x 1 = 39560 s 1 = 3560

Marketing majors (μ 2 ) n 2 = 81 x 2 = 41050 s 2 = 3880

SC : μ 1 < μ 2 H (^) 0 : μ 1 ≥ μ 2 H (^) 0 : μ 1 − μ 2 ≥ 0

OC: μ 1 ≥ μ 2 H 1 : μ 1 < μ 2 H 1 : μ 1 − μ 2 < 0

Critical value (From Table) Z = −2.

TS = 1 2 222

1 2 1 2

( x x ) 0

z

s s

n n

R A

⇒ It falls inside CR Conclusion: R eject H (^) 0 Comment : Accept that μ 1 <μ 2

Practice 14.

New Century Bank (μ 1 ) n 1 = 200 x 1 = 4.5 s 1 = 1.

Public Bank (μ 2 ) n 2 = 300 x 2 = 4.75 s 2 = 1.

SC : μ 1 = μ 2 H (^) 0 : μ 1 = μ 2 H (^) 0 : μ 1 − μ 2 = 0

OC: μ 1 ≠ μ 2 H (^) 1 : μ 1 ≠ μ 2 H 1 : μ 1 − μ 2 ≠ 0

Critical value (From Table) Z = ±2.

TS =^1 2 22 2

1 2 1 2

x x

z

s s

n n

⇒ Falls not inside CR R A R

Conclusion: Accept Ho Comment : The claim of the management of the New Century Bank is true.

Paired Samples Practice 15.

Before 8 5 4 9 6 9 5 After 10 8 5 11 6 7 9 d=A - B 2 3 1 2 0 -2 (^4) Σd = 10 d = 1.429 sd =1.

μ d = Average increase in self- confidence

SC : After the course the self-confidence of company’s employees increases.

CC.: After the course the self-confidence of company’s employees does not increase or remains the same.

SC : μ d > 0 Ho: μ (^) d ≤ 0

OC : μ d ≤ 0 H1 : μ d > 0

CV (From Table) t = 1.

TS =

( (^) d )

d

n d s

t

μ

− = ⇒ Falls not inside CR A R

Conclusion: Accept Ho

Comment : After the course the self-confidence of company’s employees does not increase or remains the same.

Conclusion: Accept Ho Comment : Proportions of students getting different grades are the same. Practice 18 :

Modes of Transportation Drive alone Car pool Public Transit Other Total O ( O bserved)=Workers 812 102 57 29 1000

Test at α = 2.5% whether the current pattern of use of transportation modes is different than for 2003.

H 0 : The current percentage distribution is the same as year 2003.

H 1 : The current percentage distribution is different from year 2003.

Modes of Transportation (^) Drive alone Car pool Public Other Total

O ( O bserved)=Workers^812 102 57 29 E ( E xpected)=Workers .796(1000)^ .111(1000)^ 051(1000)^ .042(1000) 796 111 51 42

( O − E )^2 (812-796)^2 (102-111)^2 (57-51)^2 (29-42)^2

256 81 36 169

( O − E ) /^2 E 256/796^ +^ 81/111^ +^ 36/51^ +^ 169/

0.322 + 0.730 + 0.706 + 4.24 = 5.782 χ 2 = ∑

( O E )^2 E

− = 5.

K= 4, degrees of freedom = 4-1 = 3, α = .025 Critical value = χ 2 = 9.348 Test statistic = χ 2 = 5.

Conclusion: Accept H0, Therefore the current percentage distribution is the same as year 2000.

Comment : Accepting that the current percentage distribution is the same as year 2003.

A R

0 9.