Você está na página 1de 21

4.

Hypothesis Test
Outline
4.1 Hypothesis Test for Population Mean
4.2 Hypothesis Test for Population Variance

Objectives
At the end of this chapter, the students should be able to
1. Formulate problems in the form of statistical hypothesis and test them.
2. Perform hypothesis test for population means and variances.
3. Understand Type I and Type II error for hypothesis testing.

4.1 Hypothesis Test for Population Mean

Hypothesis Test

We can estimate a parameter from sample data by (1) a point estimator – a single
number or (2) a confidence interval – an entire interval of plausible values. Sometimes, our
objective is not estimating but to decide which of two contradictory claims about the
parameter is correct. The method to accomplish this statistical inference is called hypothesis
testing. Hypothesis testing is the process of testing the validity of the claim made on the
population parameter.

There are five basic steps in hypothesis testing.

Step 1 State the hypothesis:


Ho: Null hypothesis is denoted by Ho. Ho specifies the value of the
population parameter to be tested in a hypothesis test. “Null”
means “no difference” indicates that there is no difference
between the parameter value specified in the null hypothesis
and the actual value of the population parameter.

H1: Alternative hypothesis is denoted by H1. The alternative


hypothesis is the statement that must be true if the null hypothesis
is false.
Step 2 Determine the Test Statistic.
Step 3 State the Rejection area.
Step 4 Decision making.
Step 5 Draw the conclusion.

There are two types of error in hypothesis testing.

Type I Error : Error of rejecting Ho when Ho is true. The maximum probability of


committing such an error is denoted by α.

Type II Error : Error of not rejecting Ho when Ho is false. The probability of


committing such an error is denoted by β.

1
Hypothesis Test for One Population Mean, Difference between Two Population Means,
Mean Difference of Paired Samples

The following table shows the test statistic of the hypothesis test for one population
mean, difference between two population means and mean difference of paired samples.

Null Hypothesis Test statistic


One population mean of a x − 0
normal distribution, zcalc =

n
Ho :  = o
variance, 2 is known
One population mean of a x − 0
normal distribution, t calc = ; df = n − 1
s
n
Ho :  = o
variance, 2 is unknown
Difference between means of
two normal distributions, zcalc =
( x − x ) − ( −  )
1 2 1 2

  2 2

H o : 1 −  2 = 0 + 2
1
n1 n2
variances, 12 and 22 are
known
Difference between means of
two normal distributions, t calc =
(x 1 )
− x 2 − (1 −  2 )
;
1 1
Sp +
H o : 1 −  2 = 0 n1 n 2
variances, 12 = 22 and
unknown
df = n1 + n2 − 2, sp =
(n1 − 1) s12 + (n2 − 1) s22
n1 + n2 − 2
Difference between means of
two normal distributions, t calc =
(x 1 )
− x 2 − (1 −  2 )
;
S12 S2 2
+
H o : 1 −  2 = 0 n1 n2
variances,   2 and
1
2 2

unknown
(s )
2
1
2
n1 + s22 n2
df =
(s ) + (s )
2 2 2 2
1 n1 2 n2
n1 − 1 n2 − 1
Mean difference for paired
samples from normal d − d
distributions, t calc = ; df = n − 1 where n is no. of pairs
sd
Ho :  d = 0 n

2
4.1.1 One Population Mean

Example 1 Hypothesis Test for Population Mean of a Normal Distribution 


( Variance  2 Known )

In Malaysia, the average IQ score of students is 101.5. The variable is normally distributed,
and the population standard deviation is 15. A teacher of a smart school thinks that the
average IQ of students in her school is higher than the average of 101.5. To prove her point,
she administers an IQ test to 30 randomly selected students. Among the sampled students,
the average IQ is 106.4. Based on these results, should the teacher accept or reject her
original hypothesis? Assume a significance level of 0.05.

Solution:
Step 1 Hypothesis:

𝐻𝑜 : 𝜇 = 101.5
𝐻1 : 𝜇 > 101.5

Step 2 Test Statistic:


106.4 − 101.5
𝑧𝑐𝑎𝑙 = = 1.79
15
√30

Step 3 Rejection area: Reject H0 if zcal  z = 1.65

Step 4 Decision: Since zcal = 1.79  1.65 , reject H0.

Step 5 Conclusion: There is enough evidence to accept the teacher’s original hypothesis
that the IQ of the smart students is higher than the national average IQ.

Example 2 Hypothesis Test for Population Mean of a Normal Distribution 


( Variance  2 Unknown )

The mean sodium content of a certain brand of corn flakes is stated as 130 milligrams. An
experiment is conducted on the sodium content of 30 boxes of corn flakes of this brand. The
data (in milligrams) gives mean of 131 and standard deviation of 0.9. At 5% significance
level (  = 0.05 ), is there enough evidence to reject the claim that the mean sodium content
is 130 milligrams?

Solution:
Step 1 Hypothesis:

𝐻𝑜 : 𝜇 = 130
𝐻1 : 𝜇 ≠ 130

Step 2 Test Statistic:


131 − 130
𝑡𝑐𝑎𝑙 = = 6.09
0.9
√30

3
Step 3 Rejection area: Reject H0 if tcal  −t  / 2,n−1 = −2.045 or tcal  t  / 2,n−1 = 2.045

Step 4 Decision: Since tcal = 6.09  2.045 , reject H0.

Step 5 Conclusion: There is enough evidence to reject the claim that mean sodium content
of this brand of corn flakes is 130 milligrams.

Note:

The following table shows the rejection area of the hypothesis test for one population
mean based on different alternative hypothesis (H1). Note that this guide on rejection area
also applies to the hypothesis test for difference between two population means and mean
difference of paired samples.

Hypothesis Rejection area


variance 2 is known
H0 :  = 0
Reject H0 if zcal  −z /2 or zcal  z /2
H1 :   0
variance 2 is unknown

Reject H0 if tcal  −t  / 2,  or tcal  t  / 2, 


variance 2 is known
H0 :  = 0
Reject H0 if zcal  z
H1 :   0
variance 2 is unknown

Reject H0 if tcal  t, 


variance 2 is known
H0 :  = 0
Reject H0 if zcal  −z
H1 :   0
variance 2 is unknown

Reject H0 if tcal  −t, 

4
4.1.2 Difference between Two Population Means

Example 3 Hypothesis Test for Difference between Two Population Means of a


Normal Distribution 1 −  2 ( Variances, 12 and 22 are Known )

A study using two random samples of 35 people each found that the average amount of time
those in the age group of 26-35 years spent per week on leisure activities was 39.6 hours,
and those in the age group of 46-55 years spent 35.4 hours. Assume that the population
standard deviation for those in the first age group found by previous studies is 6.3 hours, and
the population standard deviation of those in the second group found by previous studies
was 5.8 hours. At  = 0.05 , can it be concluded that there is a significant difference in the
average times each group spends on leisure activities?

Solution:

Step 1 Hypothesis:

𝐻𝑜 : 𝜇1 − 𝜇2 = 0
𝐻1 : 𝜇1 − 𝜇2 ≠ 0

Step 2 Test Statistic:

zcalc =
(x1 )
− x2 − ( 1 − 2 )
12 22
+
n1 n2

=
(39.6 − 35.4) − 0
6.32 5.82
+
35 35
= 2.90

Step 3 Rejection area:

Reject H0 if zcal  z 2 = z0.025 = 1.96 or zcal  −z 2 = −z0.025 = −1.96

Step 4 Decision:

Since zcal = 2.90  1.96 , reject H0.

Step 5 Conclusion:

There is enough evidence to support the claim that the average of the times
spent on leisure activities is different for the groups.

5
Example 4 Hypothesis Test for Difference between Two Population Means of a
Normal Distribution 1 −  2 ( Variances  12 =  22 and Variances are Unknown )

A study is done on the telephone bills of the employees in two different departments in a
company, which are Sales department and Design department. A random sample of 8
employees from each of these two departments is selected. The mean and the standard
deviation for the Sales department are x1 = 92.733 and s1 = 2.39 (unit in RM), respectively.
The mean and the standard deviation for the Design department are x 2 = 92.255 and
s2 = 2.98 , respectively. Assume that the data are approximately normally distributed with
same variances. Is there evidence to support that the telephone bills of the employees in
Sales department are higher than Design department? Use  = 0.05 .

Solution:

Step 1 Hypothesis:

𝐻𝑜 : 𝜇1 − 𝜇2 = 0
𝐻1 : 𝜇1 − 𝜇2 > 0

Step 2 Test Statistic:

(n1 − 1) s12 + (n2 − 1) s22 (7)( 2.39) + (7 )( 2.98 )


2 2

Sp = = = 2.70
n1 + n2 − 2 8+8−2

t calc =
(x 1 )
− x 2 − (1 −  2 )
1 1
Sp +
n1 n 2

=
(92.733 − 92.255) − 0
1 1
2.70 +
8 8
= 0.35

Step 3 Rejection area:

Reject H0 if tcal  t,n1+n2 −2 = t0.05,14 = 1.761

Step 4 Decision:

Since t cal  1.761, do not reject H0.

Step 5 Conclusion:

There is not enough evidence to support that the telephone bills of the
employees in Sales department are higher than Design department.

6
Example 5 Hypothesis Test for Difference between Two Population Means of a
Normal Distribution 1 −  2 ( Variance  12   22 and Variances are Unknown )

It is claimed that a machine with higher speed will produce more noise.
A random sample in site A: mean of speed, x1 = 285, s1 = 10, n1 = 11
A random sample in site B: mean of speed x2 = 300, s2 = 15, n2 = 16

Is there evidence to support that site B with higher mean of speed, which impact noise? Use
 = 0.05 . Assume that both populations are normally distributed but the variances are not
equal.

Solution:
Step 1 Hypothesis:

𝐻𝑜 : 𝜇1 − 𝜇2 = 0
𝐻1 : 𝜇1 − 𝜇2 < 0

Step 2 Test statistic:

t calc =
(x 1 )
− x 2 − (1 −  2 )
=
(285 − 300) − 0 = - 3.117
S12 S 2 2 102 152
+ +
n1 n2 11 16

2 2
 s12 s22   102 152 
 +   + 
 n1 n2   11 16 
= = = 24.99
2 2 2 2 2 2 2 2
degree of freedom,  s 1
  s 2
  10   15 
       
n
 1  + 2  n  11  +  16 
n −1 n2 − 1 10 15
 = 24

Step 3 Rejection area:

Reject H0 if tcal  −t ,v = −t0.05,24 = −1.711

Step 4 Decision:

Since tcal  −1.711, reject H0

Step 5 Conclusion:

There is enough evidence to support that machine at site B has


higher mean speed, which produces more noise.

7
4.1.3 Mean Difference of Paired Samples
Example 6 Hypothesis Test for Mean Difference for Paired Samples from Normal
Distributions  d

A researcher compared the effectiveness of taking a special vitamin to reduce weight. The
weight of nine adults is checked before and after taking the vitamin. The data (in pound) are
shown in the following table.
Adult Before After
1 118.0 106.1
2 115.1 99.2
3 132.2 106.3
4 133.9 106.2
5 120.4 106.6
6 140.0 117.6
7 136.5 103.7
8 153.7 108.6
9 155.9 105.2
a) Can you conclude that the weight has been reduced at  = 0.05 ? Assuming the
variable is approximately normally distributed.
b) In the context of the problem, state the Type I error that may be made.

Solution:
a) Step 1 Hypothesis: (Let d = before – after)

𝐻𝑜 : 𝜇𝑑 = 0
𝐻1 : 𝜇𝑑 > 0

Step 2 Test statistic:


Adult Before After Difference,
n=9
d
1 118.0 106.1 11.9
2 115.1 99.2 15.9 Mean of the differences, d = 27.36
3 132.2 106.3 25.9
4 133.9 106.2 27.7 Standard deviation of the differences,
5 120.4 106.6 13.8 sd = 13.56
6 140.0 117.6 22.4
7 136.5 103.7 32.8 d −  d 27.36 − 0
8 153.7 108.6 45.1 t calc = = = 6.05
sd 13.56
9 155.9 105.2 50.7
n 9

Step 3 Rejection area: Reject H0 if tcal  t0.05,8 = 1.86 .

Step 4 Decision: Since tcal = 6.05  1.86 , reject H0.

Step 5 Conclusion: There is enough evidence to conclude that the weight has
been reduced.

b) Type I Error: Error of rejecting Ho when Ho is true .


In the context of the problem, type I error is the error of stating the weight
has been reduced when the weight has not been reduced.

8
4.2 Hypothesis Test for Population Variance

4.2.1 One Population Variance

Suppose that we wish to test the hypothesis that the variance of a normal
population  2 equals a specified value, say  02 , or equivalently, that the standard
deviation  is equal to  0 . Let x1,x 2 ,...,xn be a random sample of n observations from this
population. To test hypothesis about the population variance, the steps are presented in the
table below.

Steps Two-sided Hypothesis One-sided One-sided


Hypothesis Hypothesis
1. State the H0 : 2 = 02 H0 : 2 = 02 H0 : 2 = 02
hypothesis
H1 : 2  02 H1 : 2  02 H1 : 2  02
2. We will use
02 =
(n − 1) s2 02 =
(n − 1) s2
02 =
(n − 1) s2
the test
statistic: 02 02 02

3. Rejection Reject Ho if 0   2, n−1


2 2 Reject HO if Reject HO if
area  
2 2
02  12−, n−1
or if  
2
0
2
1−(  2), n−1
0 , n−1

4. Decision
5. Conclusion

Example 7 Hypothesis Test on the Population Variance

An automatic filling machine is used to fill bottles with liquid medicine. A random sample of
20 bottles results in a sample variance of fill volume of s2 = 0.0153 ml2. The machine is
considered to have problem if the variance of fill volume exceeds 0.01 ml2. Is there
evidence in the sample data to suggest that the machine has a problem? Use  = 0.05 ,
and assume that fill volume has a normal distribution.

Solution:
Step 1 State the hypothesis:
H0 : 2 = 0.01
H1 : 2  0.01

Step 2 We will use the test statistic: 02 =


(n − 1) S2 = 19 (0.0153) = 29.07
02 0.01

Step 3 Rejection area: Reject H 0 if 0  0.05,19 = 30.144


2 2

Step 4 Decision: Since 0 = 29.07  0.05,19 = 30.144 , do not reject H 0


2 2

Step 5 Conclusion: There is not enough evidence to conclude that the variance of
fill volume exceeds 0.01 ml2.

9
Example 8 Hypothesis Test on the Population Variance

A sample of 18 observations selected from a normally distributed population produced a


sample variance of 4.6. Is there enough evidence to conclude that the population variance
is not equal to 2.2? Test at 5% significance level.

Solution:

Step 1 State the hypothesis:


Ho :  2 = 2.2
H1 :  2 ≠ 2.2

Step 2 Test statistic: 02 =


(n − 1) S2 = 17 ( 4.6) = 35.55
02 2.2

Step 3 Rejection area: Reject H0 if 0  0.025,17 = 30.191 or if 02  0.975,17


2 2 2
= 7.564

Step 4 Decision: Since 0 = 35.55  0.025,17 = 30.191 , we reject H0 .


2 2

Step 5 Conclusion: There is enough evidence to conclude that the variance is not equal
to 2.2.

10
4.2.2 Ratio between Two Population Variances

Suppose that we wish to test the hypothesis on the variances from two normal
populations, the steps are presented here.

Steps Two-sided Hypothesis One-sided One-sided


Hypothesis Hypothesis
1. State the H0 : 12 = 22 H0 : 12 = 22 H0 : 12 = 22
hypothesis
H1 : 12  22 H1 : 12  22 H1 : 12  22
2. We will use the S12 S12 S12
test statistic: F0 = F0 = F0 =
S22 S22 S22
3. Rejection area Reject Ho if F0  F(  / 2),n1−1,n2 −1 Reject HO if Reject HO if
or if F0  F(1− / 2),n1−1,n2 −1 F0  F,n1−1,n2 −1 F0  F1−,n1−1,n2 −1

4. Decision
5. Conclusion

Example 9 Hypothesis Test on the Variances from Two Populations

A random sample of 7 observations from the first population resulted in a standard deviation
of 12. A random sample of 8 observations from the second population resulted standard
deviation of 5. At the 0.1 significance level, is there a difference in the variation of the two
populations?

Solution:
Step 1 Hypothesis:

Ho : 𝜎12 = 𝜎22
H1 : 𝜎12 ≠ 𝜎22

S12 122
Step 2 Test statistic: F0 = = 2 = 5.76
S22 5

Step 3 Rejection area: Reject H0 if F0  F0.05,6,7 or F0  F0.95,6,7

1 1
Reject H0 if F0  3.87 or F0  = = 0.24
F0.05,7,6 4.21

Step 4 Decision: Since F0  3.87 , reject H0.

Step 5 Conclusion: There is enough evidence to conclude that there is a difference


in the variation of the two populations.

11
Example 10 Hypothesis Test on the Variances from Two Populations

A random sample of 7 observations from the first population resulted in a standard deviation
of 12. A random sample of 8 observations from the second population resulted standard
deviation of 5. At the 0.05 significance level, can we conclude that there is more variation in
the first population?

Solution:

Step 1 Hypothesis:

Ho : 𝜎12 = 𝜎22
H1 : 𝜎12 > 𝜎22

S12 122
Step 2 Test statistic: F0 = = 2 = 5.76
S22 5

Step 3 Rejection area: Reject H0 if F0  F0.05,6,7 = 3.87

Step 4 Decision: Since F0  3.87 , reject H0

Step 5 Conclusion: There is enough evidence to conclude that there is more


variation in the first population.

12
Chapter 4 Hypothesis Test

Exercise 4.1 - Hypothesis Test for One Population Mean

1. A researcher claims that the yearly consumption of soft drinks per person is 52
gallons. In a sample of 50 randomly selected people, the mean of the yearly
consumption was 56.3 gallons. The standard deviation of the population is 3.5 gallons.
At the 0.05 level of significance, is the researcher’s claim valid?

[ Answer: zcal = 8.69, reject Ho ]

2. A lab assistant claims that the average temperature in a lab is always above 220 C .
Over 1 week, 18 measurements on temperature are collected and it shows that the
temperature in the lab has a mean of 280C and standard deviation of 2.50C. Can we
support the assistant’s claim? (  = 0.05 )

[ Answer: tcal = 10.18, reject Ho ]

3. A study claims that the workers in a certain company spend an average 18 hours to
produce an item of the product. A researcher wanted to test this claim. She took a
sample of 10 workers and asked them about the time they used to produce an item of
the product. The responses are as follows:
14 25 22 38 16 26 19 23 41 33

Assume that the time spent by all the workers is normally distributed. Using the 5%
significance level, can you reject the claim of the earlier study?

[ Answer: tcal = 2.69, reject Ho ]

4. A company is always concerned about the productivity of their products. With the old
strategy, on average 22 items are produced per day. The management wants to
increase the productivity and implement the new strategy in production. To check if the
new strategy is more efficient than the old strategy, the management took a random of
18 samples and found that the mean of the sample is 28 items, with standard deviation
of 2.5 items.
Testing at the 1% significance level, would you conclude that the new strategy is more
efficient than the old strategy? Assume that the number of items produced has an
approximately normal distribution.

[ Answer: tcal = 10.18, reject Ho ]

5. A psychologist wants to study the mean age of children start walking. He took a
random sample of 20 children and found that the mean age at which these children
started walking was 12.9 months with a standard deviation of 0.70 months. Using the
1% significance level, can you conclude that the mean age at which all children start
walking is different from 12.5months? Assume that the ages at which all children start
walking have an approximately normal distribution.

[ Answer: tcal = 2.56, do not reject Ho ]

6. Grand Auto Corporation produces auto batteries. The company claims that its top of-
the-line never die batteries are good, on average, for more than 65 months. A
consumer protection agency tested 15 such batteries to check this claim. It found the
mean life of these 15 batteries to be 63 months. With a standard deviation of 1 month,

13
at 5% significance level, can you conclude that the claim of the company is true?
Assume that the life of such a battery has an approximately normal distribution.

[ Answer: tcal = -7.75, do not reject Ho ]

6. Engineers are designing the safety devices for use in a new theme park ride. They feel
that the mean height of those riding this sort of ride exceeds 62 inches. The heights
(inches) of those riding a similar ride are shown below.

60 63 71 61 67
63 70 59 53 70
65 60 60 54 68

Using an appropriate test of hypothesis, do these data support the engineers’


contention? Test at 5% level of significance.

[ Answer: tcal = 0.65, do not reject Ho ]

14
Exercise 4.2 - Hypothesis Test for Two Population Means

1. The average length of “short hospital stays” for men is slightly longer than that for
women, 5.2 days versus 4.5 days. A random sample of recent hospital stays for both
men and women revealed the following. At 0.01 level of significance, is there sufficient
evidence to conclude that the average hospital stay for men is longer than the average
hospital stay for women?

Men Women
Sample size 32 30
Sample mean 5.5 days 4.2 days
Population standard deviation 1.2 days 1.5 days

[ Answer: zcal = 3.75, reject Ho ]

2. A sample of 14 cans of Brand I diet soda gave the mean number of calories of 23 per
can with a standard deviation of 3 calories. Another sample of 16 cans of Brand II diet
soda gave the mean number of 25 per can with standard deviation of 4 calories. At the
1% significance level, can you conclude that the mean numbers of calories per can are
different for these two brands of diet soda? Assume that the calories per can of diet
soda are normally distributed for each of the two brands and that the standard
deviations for the two populations are equal.

[ Answer: tcal = -1.53, do not reject Ho ]

3. A sample of 15 students from university A showed that the mean time they spend in
revision subject of construction is 28.50 hours per week with a standard deviation of 4
hours. Another sample of 16 students from university B showed that the mean time
spent by them in the revision of the subject is 23.25 hours per week with a standard
deviation of 5 hours. Using 2.5% significance level, can you conclude that the mean
time spent in revision by student from university A is greater than students in university
B? Assume that the time spent have a normal distribution for both populations and that
the standard deviation for the two populations are equal.

[ Answer: tcal = 3.22, reject Ho ]

4. A sample of 14 cans of Brand I diet soda gave the mean number of calories per can as
23 with a standard deviation of 3 calories. Another sample of 16 cans of Brand II diet
soda gave the mean number of calories of 25 per can with a standard deviation of 4
calories. Test at the 1% significance level whether the mean numbers of calories per
can of diet of soda are different for these two brands. Assume that the calories per can
of diet soda are normally distributed for each of these two brands and that the
standard deviations for the two populations are not equal.

[ Answer: tcal = -1.56, do not reject Ho ]

5. To reduce production costs, a proposed change in the formulation of an adhesive is


being considered. However, it is important that the mean strength of the adhesive does
not decrease (by a significant amount). To check on the consequences of the
formulation change, the strengths of several samples of each formulation were
measured. The results are summarized below (A denotes the standard, B denotes the
proposed formulation)

15
A (Standard) B (Proposed)
Mean Strength 565 548
Standard Deviation 10.3 15.8
Sample size 15 16

At the 1% level of significance, is there enough evidence to conclude that the


proposed formulation is significantly weaker than the standard formulation? Assume
unequal variances.

[ Answer: tcal = 3.57, reject Ho ]

6. A photoconductor film is manufactured at a nominal thicker of 25mils. The product


engineer wishes to increase the mean speed of the film, and believes that this can be
achieved by reducing the thickness of the film to 20mils. Eight samples of each film
thickness are manufactured in a pilot production process, and the film speed (in micro
oules per square inch) is measured. For the 25mil film the sample data result is
x1 = 1.15 and s1 = 0.11 , while for the 20mil film, the data yield
x2 = 1.06 and s2 = 0.09 . Note that a value of the observation in micro joules per
square inch.
Do the data support the claim that reducing the film thickness increases the mean
speed of the film? Use  = 0.10 and assume that the two population variances are
equal and underlying population of film speed is normally distributed.

[ Answer: tcal = 1.79, do not reject Ho ]

7. In semi conductor manufacturing, wet chemical etching is often used to remove silicon
from the backs of wafers prior to metalization. The etch rate is an important
characteristic in this process and known to follow a normal distribution. Two different
etching solutions have been compared using two random samples of 10 wafers for
each solution. The observed etch rates are as follows (in mils per minutes).

Solution 1 Solution 2
9.9 10.6 10.2 10.0
9.4 10.3 10.6 10.2
9.3 10.0 10.7 10.7
9.6 10.3 10.4 10.4
10.2 10.1 10.5 10.3

Do the data reject the claim that the mean etch rate is the same for both solutions? In
reaching your conclusion, use  = 0.05 and assume that both population variances are
equal.

[ Answer: tcal = -2.83, reject Ho ]

8. According to a construction company, they may be a difference in the mean amount of


cement in two different constructions. A sample of 15 building in area I showed that the
mean amount of cement is 80 bags per house with standard deviation of 5 bags.
Another sample of 12 houses in area II gave a mean amount of equal to 77 bags per
house with a standard deviation of 6 bags. Assume that the two populations are
normally distributed and that the standard deviations of two populations are unequal.

Using the 5% significance level can you conclude that the means are different?

16
[ Answer: tcal = 1.39, do not reject Ho ]

8. A general contractor wants to compare the lifetimes of two major brands of electric
water heaters, T and N. The contractor obtains the following data on lifetimes (years).

T N
6.7 7.2 7.8 7.5 7.6 9.4
7.4 7.6 5.7 9.0 6.4 6.3
7.1 6.6 6.2 7.8 6.9 8.7
8.2 5.5 6.9 6.2 8.2 4.7
9.2 10.4 9.0

Assuming equal variances, do the data provide sufficient evidence to conclude that on
the average, water heaters N outlast water heaters T, use a 5% significance level?

[ Answer: tcal = -1.86, reject Ho ]

17
Exercise 4.3 - Hypothesis Test for Paired Samples

1. Eight students are randomly chosen to attend a seminar on the importance of


education in life. The table shows the number of hours each student studied per week
before and after the seminar. At 1% significance level, did attending the seminar
increase the number of hours the students studied per week?
Before 7 6 9 13 12 7 6 9
After 10 12 8 13 10 12 12 11

[ Answer: (Using d = before – after), tcal = -2.126, do not reject Ho ]

2. A scientist claims that a chemical added to latex paints can reduce cracks on exposed
wood surfaces. To justify this, each piece of wood was divided into 2; half was painted
with the regular latex paint (untreated paint) and the other half with latex paint that had
the chemical added (treated paint). Exposure crack rating each half is shown the
following table.

Wood 1 2 3 4 5 6 7 8 9 10
Untreated 1.7 2.3 2.6 3.8 3.0 4.2 3.1 4.8 4.9 6.6
Treated 1.0 2.1 2.4 3.0 2.1 3.7 3.0 4.8 4.6 6.2

At the 5% level of significance, is there sufficient evidence to support the claim?

[ Answer: (Using d = untreated – treated), tcal = 4.22, reject Ho ]

3. An aircraft design engineer claims that painting an airplane reduces its speed. Six
planes were tested before and after painting. The table below gives the top speed
recorded.

Airplane 1 2 3 4 5 6
Top speed before 290 294 288 293 290 289
Top speed after 290 298 287 294 285 285

Do the data support the engineer’s claim at the 1% level of significance?

[ Answer: (Using d = before – after), tcal = 0.61, do not reject Ho ]

4. Independent samples were used to decide whether nonsupervisory mine workers earn
a smaller average hourly wage than nonsupervisory construction workers. The same
hypothesis test will be performed using paired samples. Nonsupervisory construction
workers and mine workers are paired by matching workers with similar experience and
job classification. A random sample of 14 pairs yields the following paired differences
for hourly wages (mining minus construction).

0.6 1.00 0.57 -0.53 1.2 -2.37 0.88


-2.16 -1.4 -0.67 -1.26 -0.05 -1.89 -1.23

Use these data to decide whether nonsupervisory mine workers earn smaller average
hourly wage than nonsupervisory construction workers. Perform the appropriate
hypothesis test at the 5% significance level.

[ Answer: (Using d = mining – construction), tcal = -1.58, do not reject Ho ]

18
Exercise 4.4 - Hypothesis Test for One Population Variance

1. A rivet is to be inserted into a hole. A random sample of n=15 parts is selected, and
the hole diameter is measured. The sample standard deviation is s = 0.008
millimeters. Is there strong evidence to indicate that the standard deviation of hole
diameter exceeds 0.01 millimeters? Use  = 0.01

[ Answer:  2 = 8.96, do not reject Ho ]

2. The percentage of titanium in an alloy used in aerospace casting is measured in 51


randomly selected parts. The sample standard deviation is s = 0.37. Is there enough
evidence to reject the claim that the standard deviation is 0.25? Use  =0.05. State
any necessary assumptions about the underlying distribution of the data.

[ Answer: Population is normally distributed,  2 = 109.52, reject Ho ]

3. A tool-die company has an order to machine a component for an airbag assembly that
will go into the upcoming model year for a certain automobile. In the manufacturing
specifications from the automobile manufacturer, there is a call for a variance of
0.0005 inch in this component. A random sample of 10 components yields a variance
of 0.0010 inch. Since these components will expose the manufacturer of both the
components and the automobiles to law suits should the airbags fail upon deployment,
the rejection level is set at 10%. The tool-die company stops production and make
adjustments if the variance exceeds 0.0005. Should the tool-die company stop
production and make adjustments? Assume a normal distribution.

Hints:
H 0 :  2 = 0.0005
Step 1
H 1 :  2  0.0005
[ Answer:  2 = 18, reject Ho ]

4. The machine that a pharmaceutical company uses to fill bottles with a popular cough
medicine has a standard deviation of 0.18 ounces. The manufacturer of another bottle
filling machine claims that its product has a smaller standard deviation and therefore
produces a more consistent product than the company's present machine. To test this
claim, the pharmaceutical company samples 41 bottles on the new machine and finds
a standard deviation of 0.15 ounces. At a 0.05 level of significance, test the
manufacturer's claim.

Hints:
H 0 :  = 0.18
Step 1
H1 :   0.18
[ Answer:  2 = 27.8, do not reject Ho ]

5. One of the quality control tests used in the manufacture of a 9 volt alkaline battery is
the variance. The process is considered out of control when the variance exceeds 0.21
volts squared. A sample of 24 batteries had a variance of 0.39 volts squared. At a 0.05
level of significance, is the process out of control? Does an adjustment need to be
made or should the manufacturing process continue?

[ Answer:  2 = 42.72, reject Ho ]

19
6. The variance of scores on a standardized mathematics test for all semester one
students was 150 in 2003. A sample of scores for 20 students who took this test gave
a variance of 170. Test whether at 5% significance, the variance of all semester one
on this test is different from 150. Assume that the scores of all semester one students
on this test are normally distributed.

[ Answer:  2 = 21.53, do not reject Ho ]

7. A sample of 16 observations selected from a normally distributed population produced


a sample variance of 1.10. Using the 1% significance level, is there enough evidence
to support the claim that the population variance is greater than 0.80?

[ Answer:  2 = 20.625, do not reject Ho ]

20
Exercise 4.5 - Hypothesis Test for Two Population Variances

1. It is found from a study that the sample standard deviations for two samples with
sample size 5 and 9 are 2.895 and 4.338 respectively. Based on an appropriate test of
hypothesis, can we conclude that the variance in first sample is significantly smaller
than second sample at the 1% level of significance?

[ Answer: F = 0.45, do not reject Ho ]

2. The sample means in force for plastic type X and Y are 34.515 and 29.575
respectively, while the sample standard deviations are 2.785 and 4.218 respectively.
Given that a random sample of 4 measurements are taken from each of plastic type X
and Y. Based on an appropriate test of hypothesis, can we conclude that the variance
in force for plastic type Y is significantly greater than type X at 1% level of
significance?

[ Answer: F = 0.436, do not reject Ho ]

21

Você também pode gostar