Estimating Parameters.2
Estimating Parameters.2
imately normally distributed with a standard deviation of 40 hours. If a sample of 30 bulbs has
an average life of 780 hours, find a 96 percent confidence interval for the population mean of all
bulbs produced by this firm.
Solution: Here n = 30, σ = 40 and x = 780, Now to find α for 96 percent of confidence interval,
we have
100(1 − α) = 96
100 − 100α = 96
100α = 100 − 96
4
α = = 0.04
100
α
= 0.02.
2
The z-value leaving an area of 0.02 to the right, and therefore an area of 0.98 to the left. So
z0.02 = 2.05 (Table A.3). So
σ 40
x − z α2 √ = 780 − (2.05) √ = 765
n 30
σ 40
x + z α2 √ = 780 + (2.05) √ = 795
n 30
Hence, the 96 percent confidence interval is
Theorem 0.1. If x is used as an estimate of µ, we can be 100(1 − α) percent confident that the
error will not exceed z α2 √σn .
Example: In Example 1, we are 95 percent confident that the sample mean x = 2.6 differs
from the true mean µ by an amount less than (1.96)(0.3)
√
36
= 0.1 and 99 percent confident that the
(2.575)(0.3)
difference is less than √
36
= 0.13.
Example: The heights of a random sample of 50 college students showed a mean of 174.5 centime-
ters and a standard deviation of 6.9 centimeters. What can we assert with 98 percent confidence
about the possible size of our error if we estimate the mean height of all college students to be
174.5 centimeters?
5
Solution: Here σ = 6.9 and n = 50. To find α, we have
100(1 − α) = 98
100 − 100α = 98
100α = 100 − 98
2
α = = 0.02
100
α
= 0.01.
2
The z-value leaving an area of 0.01 to the right, and therefore an area of 0.99 to the left. So
z0.01 = 2.33 (Table A.3). So
σ (2.33)(6.9)
e < z α2 √ = √ = 2.27
n 50
Theorem 0.2. If x is used as an estimate of µ, we can be 100(1 − α) percent confident that the
error will not exceed a specified amount e when the sample size is
z α σ 2
2
n=
e
Example: How large a sample is required if we want to be 95 percent confident that our
estimate of µ in Example 1 is off by less than 0.05?.
Solution: The population standard deviation is σ = 0.3. Then, by Theorem 0.2,
(1.96)(0.3)
n= = 138.3
0.05
Example: A UCLA researcher claims that the life span of mice can be extended by as much
as 25 percent when the calories in their diet are reduced by approximately 40 percent from the
time they are weaned. The restricted diet is enriched to normal levels by vitamins and protein.
Assuming that it is known from previous studies that σ = 5.8 months, how many mice should be
included in our sample if we wish to be 99 percent confident that the mean life span of the sample
will be within 2 months of the population mean for all mice subjected to this reduced diet?
Solution: Here σ = 5.8 and e = 2. Now to find α, we have
100(1 − α) = 99
100 − 100α = 99
100α = 100 − 99
1
α = = 0.01
100
α
= 0.005
2
6
The z-value leaving an area of 0.005 to the right, and therefore an area of 0.995 to the left. So
z0.005 = 2.57 (Table A.3). So
2
(2.57)(5.8)
n= = 56 when rounded up
2
Example: In a psychological testing experiment, 25 subjects are selected randomly and their
reaction time, in seconds, to a particular stimulus is measured. Past experience suggests that the
variance in reaction times to these types of stimuli is 4 sec2 and that the distribution of reaction
times is approximately normal. The average time for the subjects is 6.2 seconds. Give an upper
95 percent bound for the mean reaction time.
√
Solution: The point estimate of µ is x = 6.2 and σ = 4 = 2 and n = 25. Now to find α for 95
of confidence interval, we have
100(1 − α) = 95
100 − 100α = 95
100α = 100 − 95
5
α = = 0.05.
100
The z-value leaving an area of 0.05 to the right, and therefore an area of 0.95 to the left. So
z0.05 = 1.64 (Table A.3). So 95 percent upper bound is given by
r
σ 4
x + zα √ = 6.2 + (1.64) = 6.858.
n 25
7
Hence, we are 95 percent confident that the mean reaction time is less than 6.858 seconds.
Exercise: 9.1, 9.2, 9.3, 9.4, 9.5, 9.6, 9.7, 9.8, 9.29, 9.31.
Example: A study was conducted in which two types of engines, A and B, were compared. Gas
mileage, in miles per gallon, was measured. Fifty experiments were conducted using engine type
A and 75 experiments were done with engine type B. The gasoline used and other conditions were
held constant. The average gas mileage was 36 miles per gallon for engine A and 42 miles per gallon
for engine B. Find a 96 confidence interval on µB − µA , where µA and µB are population mean
gas mileages for engines A and B, respectively. Assume that the population standard deviations
are 6 and 8 for engines A and B, respectively.
Solution: Here n1 = 50, n2 = 75, σ1 = 6, σ2 = 8, x1 = 36 and x2 = 42. Now as calculated
previously α = 0.04 and so α2 = 0.02 and z0.02 = 2.05. So
s r
σ12 σ22 82 62
(x2 − x1 ) − z α2 + = (42 − 36) − (2.05) + = 3.43
n1 n2 75 50
s r
σ12 σ22 82 62
(x2 − x1 ) + z α2 + = (42 − 36) + (2.05) + = 8.57
n1 n2 75 50
8
If p is the proportion of successes in a random sample of size n and q = 1 − p, an approximate
100(1 − α) percent confidence interval, for the binomial parameter p is given by
r r
pq pq
p − z α2 < p < p + z α2 ,
n n
α
where z α2 is the z-value leaving an area of 2
to the right.
Example: In a random sample of n = 500 families owning television sets in the city of Hamilton,
Canada, it is found that x = 340 subscribe to HBO. Find a 95 percent confidence interval for the
actual proportion of families with television sets in this city that subscribe to HBO.
Solution: The point estimate of p is p = nx = 340
500
= 0.68 and so q = 1 − 0.680.32. Here α = 0.05
and hence z0.025 = 1.96. Therefore 95 percent confidence interval for p is
r
pq p
p − z α2 = 0.68 − (1.96) (0.68)(0.32)500 = 0.6391
n
r
pq p
p + z α2 = 0.68 + (1.96) (0.68)(0.32)500 = 0.7209.
n
Hence
0.6391 < p < 0.7209.
Theorem 0.3. If p is used q as an estimate of p, we can be 100(1 − α) percent confident that the
error will not exceed z α2 pnq .
Theorem 0.4. If p is used as an estimate of p, we can be 100(1 − α) percent confident that the
error will be less than a specified amount e when the sample size is approximately
z 2α p q
2
n = .
e2
Note: Do Example 9.15 of book.
9
Example: A certain change in a process for manufacturing component parts is being considered.
Samples are taken under both the existing and the new process so as to determine if the new
process results in an improvement. If 75 of 1500 items from the existing process are found to be
defective and 80 of 2000 items from the new process are found to be defective, find a 90 percent
confidence interval for the true difference in the proportion of defectives between the existing and
the new process.
Solution: Let p1 and p2 be the true proportions of defectives for the existing and new processes,
respectively. So
p1 75
p1 = = = 0.05
n1 1500
p2 80
p2 = = = 0.04
n2 2000
q 1 = 1 − p1 = 1 − 0.05 = 0.95
q 2 = 1 − p2 = 1 − 0.04 = 0.96
Example: A new rocket-launching system is being considered for deployment of small, short-
range rockets. The existing system has p = 0.8 as the probability of a successful launch. A sample
of 40 experimental launches is made with the new system, and 34 are successful.
10
(1). Construct a 95 confidence interval for p.
Solution: Here p = nx = 40 34
= 0.85 and n = 40. So q = 1 − p = 1 − 0.85 = 0.15. We have α = 0.05
and hence z α2 = z0.025 = 1.96. Now
(2). Since p = 0.8 falls in the confidence interval, we cannot conclude that the new system is
better.
Example: A geneticist is interested in the proportion of African males who have a certain minor
blood disorder. In a random sample of 100 African males, 24 are found to be afflicted.
(1). Compute a 99 percent confidence interval for the proportion of African males who have this
blood disorder.
(2). What can we assert with 99 percent confidence about the possible size of our error if we
estimate the proportion of African males with this blood disorder to be 0.24?
11
Example: A random sample of 200 voters in a town is selected, and 114 are found to support
an annexation suit. How large a sample is needed if we wish to be 96 percent confident that our
sample proportion will be within 0.02 of the true fraction of the voting population?
x 114
Solution: Here α = 0.04 and hence z α2 = z0.02 = 2.05. Also p = n
= 200
= 0.57 and hence
q = 1 − p = 0.43. Also e = 0.02. So
Exercise: 9.51, 9.52, 9.53, 9.54, 9.55, 9.56, 9.57, 9.59, 9.60, 9.61.
12