W10PS
W10PS
1. Consider nine samples from Normal(100, 22 ). Let we wish to test H0 : µ = 100 against
HA : µ 6= 100.
(i) If the acceptance region is defined as 98.5 ≤ X ≤ 101.5, find the significance level.
Write your answer correct to two decimal places.
(Use P (−2.25 < Z < 2.25) = 0.975)
Solution:
Given that
H0 : µ = 100, HA : µ 6= 100
The acceptance region is defined as 98.5 ≤ X ≤ 101.5.
Now,
(ii) Find the power of the test against an alternative that the mean is 103. Write your
answer correct to two decimal places.
(Use P (−6.75 < Z < −2.25) = 0.012)
Solution:
1 − β = P (reject H0 |HA is true)
= P ((X > 101.5 or X < 98.5)|µ = 103)
= P (X < 98.5) + P (X > 101.5)
= P (X − 103 < −4.5) + P (X − 103 > −1.5)
X − 103 −4.5 X − 103 −1.5
=P 2/3
< 2 +P > 2
/3 2/3 /3
= P (Z < −6.75) + P (Z > −2.25)
= 1 − P (−6.75 < Z < −2.25)
= 1 − 0.012 = 0.98
2. Air crew escape systems are powered by a solid propellant. The mean burning rate of
this propellant must be 50 centimeters per second. We know that the standard deviation
of burning rate is σ = 2 centimeters per second. An engineer suspects that the mean
burning rate is greater than 50. The engineer decides to test at a significance level of
0.05 and selects a random sample of n = 25 and obtains a sample average burning rate
of 51.3 centimeters per second.
H0 : µ = 50, HA : µ > 50
(ii) What is the critical value (c) if the acceptance region is X ≤ c? Write your answer
correct to two decimal places.
(use: FZ (1.64) = 0.95)
Solution:
If the significance level of the test is 0.05, then
Page 2
P (reject H0 |H0 is true) = 0.05
⇒P (X > c|µ = 50) = 0.05
⇒P (X − 50 > c − 50) = 0.05
X − 50 c − 50
⇒P 2/5
> 2 = 0.05
/5
c − 50
⇒P Z > 2 = 0.05
/5
c − 50
⇒1 − FZ ( 2 ) = 0.05
/5
c − 50
⇒FZ ( 2 ) = 0.95
/5
c − 50
⇒ 2 = 1.64
/5
2
⇒c = 50 + (1.64)
5
⇒c = 50.65
3. Suppose a manufacturer of memory chips observes that the probability of chip failure
is p = 0.05. A new procedure is introduced to improve the design of chips and lower
the probability of chip failure. To test this new procedure, 200 chips are produced using
this new procedure and tested. We would accept the new procedure if the total number
of failed chips is less than 5 out of 200. Find the significance level of the test. Use the
normal approximation. Write your answer correct to three decimal places.
(Use P (Z < −1.62) = 0.052)
Solution:
A new procedure is introduced to improve the design of chips and lower the probability
of chip failure. Therefore, null and alternative hypothesis will be
Page 3
Define a test statistic T as T = number of failed chips out of 200.
Given that: We would accept the new procedure if the total number of failed chips is
less than 5 out of 200.
4. The mean lifetime of a sample of 100 light bulbs produced by a company is computed
to be 1570 hours with a standard deviation of 120 hours. µ is the mean lifetime of all
the bulbs produced by the company,
(i) Test the hypothesis µ = 1600 against the alternative hypothesis µ 6= 1600 at a level
of significance of 0.05.
(a) Reject the null hypothesis
(b) Accept the null hypothesis
Solution:
Given that
H0 : µ = 1600, HA : µ 6= 1600
Define a test statistic T as T = X.
Test: reject H0 if |X − 1600| > c Notice that when null hypothesis is true, we have
X − 1600
120/10
∼ Normal(0, 1)
Page 4
Now,
It implies that we will reject the null hypothesis if |X − 1600| > 23.52
(ii) Find the P -value. Write your answer correct to three decimal places.
Solution:
P -value is the minimum significance level at which null hypothesis is rejected for
the observed test statistic value.
Therefore, P -value is given by
5. The average IQ of the students of a school is reported to be 107 with a standard deviation
of 4. You suspect that the average may be higher, possibly 110, and decide to sample
students to find their IQs. What sample size do you need for a test at the significance
level 0.05 and power 0.95?
(Use: FZ (1.64) = 0.95 and FZ (−1.64) = 0.05)
Page 5
Solution:
According to the question, we have
X − 107
4/√n
∼ Normal(0, 1)
Now, the significance level of the test is given to be 0.05. It implies that
X − 110
4/√n
∼ Normal(0, 1)
Page 6
1 − β =P (reject H0 |HA is true) = 0.95
⇒P (X > c) = 0.95
X − 110 c − 110
⇒p 4/√n
> 4√ = 0.95
/ n
c − 110
⇒P Z > 4 √ = 0.95
/ n
c − 110
⇒1 − P Z ≤ 4 √ = 0.95
/ n
c − 110
⇒P Z ≤ 4 √ = 0.05
/ n
c − 110
⇒ 4√ = −1.64
/ n
4
⇒c = 110 − (1.64) √ ...(2)
n
6. An instructor gives a quiz involving 10 true-false questions. To test the hypothesis that
the student is guessing, the following decision rule is decided: (i) If 7 or more are correct,
the student is not guessing; (ii) if fewer than 7 are correct, the student is guessing. Find
the significance level of the test. Write your answer correct to two decimal places.
(Hint: If student is guessing then, probability of getting a question correct is p = 0.5)
Solution:
If a student is guessing the answer then, each question is equally likely to get corrected
that is p = 0.5 but if student is not guessing the answer then, probability of getting the
question correct is more than 0.5 that is p > 0.5.
It implies that
H0 : p = 0.5, HA : p > 0.5
Define a test statistic T as T = number of correct answers out of ten.
Page 7
As per the given information, we will reject the null hypothesis if T ≥ 7
Now,
= (120 + 45 + 10 + 1)(0.00097)
= 0.17
7. A cricket ball production line must produce of balls weights 163 g with a standard
deviation of 4 g in order to get top rating. To test the hypothesis of mean weights of the
balls to be 163, a sample of 16 balls are considered. If we want 0.01 level of significance,
what will be the acceptance region?
(Use FZ (2.57) = 0.995)
Solution:
Since, a cricket ball production line must produce of balls weights 163 g, null and alter-
native hypothesis are given by
H0 : µ = 163, HA : µ 6= 163
X − 163
Notice that when null hypothesis is true, 4/4
= X − 163 ∼ Normal(0, 1)
Now, the significance level of the test is given to be 0.01. It implies that
Page 8
P (reject H0 |H0 is true) = 0.01
⇒P (|X − 163| > c) = 0.01
⇒P (|Z| > c) = 0.01
⇒2P (Z < −c) = 0.01
⇒FZ (−c) = 0.005
⇒ − c = −2.57
⇒c = 2.57
Therefore, acceptance region will be [163 − 2.57, 163 + 2.57] = [160.43, 165.57].
8. A researcher has recently come into contact with a number of left-handed artists and
wonders whether artists are more likely to be left-handed than peoples in the general
population. She selects a random sample of 150 members of the Artists and asks each
whether they are left-handed or not. The sample proportion (who are left-handed) is
0.15. Suppose that 10% of people are left-handed in the general population.
(i) Does the data provide strong evidence that artists are more likely than the general
public to be left-handed if she decides a significance level of 0.05?
(a) Yes
(b) No
Solution:
10% of people are left-handed in the general population but a researcher wonders
whether artists are more likely to be left-handed. So, probability of an artist being
left-handed will be more than 0.1. Therefore, null and alternative hypothesis are
given by
H0 : p = 0.1, HA : p > 0.1
X1 + X2 + . . . + X150
Define a test statistic T as T = X = , where each Xi ∼
150
Bernoulli(0.1) (If null hypothesis is true).
p(p − 1) (0.1)(0.9) 0.09
Therefore, E[X] = p = 0.1 and Var(X) = = =
n 150 150
X − 0.1
Then, by CLT p ∼ Normal(0, 1).
0.09/150
Page 9
P (reject H0 |H0 is true) = 0.05
⇒P (X > c) = 0.05
!
X − 0.1 c − 0.1
⇒P p >p = 0.05
0.09/150 0.09/150
!
c − 0.1
⇒P Z > p = 0.05
0.09/150
!
c − 0.1
⇒1 − P Z ≤ p = 0.05
0.09/150
!
c − 0.1
⇒FZ p = 0.95
0.09/150
0.3
⇒c = 0.1 + (1.64) √
150
⇒c = 0.14
Since, X = 0.15 > 0.14, we will reject the null hypothesis. It implies that artists
are more likely than the general public to be left-handed if she decides a significance
level of 0.05.
(ii) Find the P -value. Write your answer correct to three decimal places.
Solution:
P -value is the minimum significance level at which null hypothesis is rejected for
the observed test statistic value.
Therefore, P -value is given by
α = P (X > 0.15
= P (X − 0.1 > 0.15 − 0.1)
!
X − 0.1 0.05
=P p >p
0.09/150 0.09/150
= P (Z > 2.04)
= P (Z < −2.04)
= 0.02
9. A cereal manufacturer tests its equipment weekly to be assured that the correct weight of
cereal is in each box. The company wants to test if the weight differs from the expected
weight. The weight of each box is expected to be 500g with a standard deviation of
100g. The manufacturer takes a random sample of 100 boxes and finds that the average
Page 10
weight is 520g. What is the sample’s P -value? Write your answer correct to two decimal
places.
(Use FZ (−2) = 0.022)
Solution:
The company wants to test if the weight differs from the expected weight and the weight
of each box is expected to be 500g. So, null and alternative hypothesis are given by
H0 : µ = 500, µ 6= 500
X − 500 X − 500
By CLT, we can say that 100/√100
= ∼ Normal(0, 1).
10
P -value is the minimum significance level at which null hypothesis is rejected for the
observed test statistic value.
Therefore, P -value is given by
10. A machine produces iron rods of mean weight 12kg with a standard deviation of 2kg. An
engineer suspects that average weight is less than 12kg, probably 10kg. So, he collects
the weights of n iron rods. He wants the significance level to be less than 10−4 and
probability of type two error to be less than 10−8 .
(use FZ (−3.74) = 10−4 and FZ (5.61) = 1 − 10−8 )
Solution:
According to the question, we have
H0 : µ = 12, HA : µ < 12
Page 11
Test: reject H0 if X < c.
Notice that when null hypothesis is true, we have
X − 12
2/√n
∼ Normal(0, 1)
Now, the significance level of the test is given to be less than 10−4 . It implies that
X − 10
2/√n
∼ Normal(0, 1)
Now, probability of type two error to be less than 10−8 . It implies that
Page 12
From equation (1) and (2), we have
2 2
12 − (3.74) √ = 10 + (5.61) √
n n
2
⇒(5.61 + 3.74) √ = 2
n
√
⇒ n = 9.35
⇒n = 87.42
⇒n = 88
(ii) Find the critical value (for the acceptance region to be defined as X ≥ c, where
X is the mean weight of the rods). Write your answer correct to two decimal places.
Solution:
Putting the value of n in the equation (1), we have
2
c ≤ 12 − (3.74) √
88
⇒c ≤ 11.20 ...(3)
Page 13