You are on page 1of 4

University of Rizal System

Morong Campus
College of Engineering

Course Title: Engineering Data Analysis Course Code: Math 4E


Name: Darlene Joy C. Bautista Yr./Section: 2CE - C
MODULE 7 AND 8
TEST OF HYPOTHESIS
Student Assessment Question
1. A dry cleaning establishment claims that a new spot remover will remove more
than 70% of the spots to which it is applied. To check this claim, the spot remover will
be used on 12 spots chosen at random. If fewer than 11 of the spots are removed, we
shall accept the null hypothesis that p = 0. 7.
a. Evaluate α, assuming that p = 0. 7.
b. Evaluate β for the alternative p = 0. 9.

ANSWER:
a. Evaluate α, assuming that p = 0. 7.
α =P ( type I error )
α =P ( X >10 when , p=0.7 )
12
α = ∑ b ( x ; 12 , 0.7 )
x=11

10
α =1−∑ b( x ; 12 ,0.7)
x=0

n =12
r =10
p =0.7
α =1−0.915
α =0.085

b. Evaluate β for the alternative p = 0. 9.


Alternative hypothesis p = 0.9
β=P ( type II error )
β=P ( X ≤10 when p=0.9 )
10
β=∑ b ( x ; 12 , 0.9 )
x=0

n =12
r =10
p =0.9

β=0.3410

2. A soft-drink machine at a steak house is regulated so that the amount of drink


dispensed is approximately normally distributed with a mean of 200 milliliters and a
standard deviation of 15 milliliters. The machine is checked periodically by taking a
sample of 9 drinks and computing average content. If x̅ falls in the interval 191 < x̅ <
209, the machine is thought to be operating satisfactorily; otherwise, we conclude that μ
≠ 200 milliliters.
a. Find the probability of committing a type I error when μ ≠ 200 milliliters.
b. Find the probability of committing a type II error when μ ≠ 215 milliliters

ANSWER:
a. Find the probability of committing a type I error when μ ≠ 200 milliliters.
α =P ( type I error )

α =P( X́ <191 when µ=200)+ P ¿ ¿ 209 when µ=200 ¿


x1 = 191
x2 = 200

α =P ( X́ <191 ) + P ¿ ¿ 209 ¿

X́−μ 191−μ X́ −μ 209−μ


α =( < ) + P( < )
σ σ σ σ
√n √n √n √n
191−200 209−200
α =P(z < ) + P( z > )
15 σ
√9 √9
α =P ( z<−1.8 ) + P(z >1.8)
α =P ( z←1.8 )+ P ( z ←1.8 )
α =2 × P ( z←1.8 )
α =2 ×0.036
α =0.072

b. Find the probability of committing a type II error when μ ≠ 215 milliliters.


β=P ( type II error )
β=P ( 191< x< 209 ) when μ=215
μ=215
σ
¿
√n
15
¿
√9
15
¿
3
¿5

x1 = 191
x2 = 209
β=P ( 191< x́< 209 when μ=215 )
β=P ¿
191−215 209−215
β=( <z< )
15 15
√9 √9
β=P (−4.8< z←1.2 )
β=P ( z ←1.2 ) −P ( z ←4.8 )
β=0.115−0
β=0.115

You might also like