To determine whether the bacteria count was lower in the west basin of Lake Macatawa than in the east basin, n=37 samples of water were taken from the west basin and the number of bacteria colonies in 100 milliliters of water was counted. The sample characteristics were x=11.95 and s=11.80, measured in hundreds of colonies. Find an approximate 95% confidence interval for the mean number of colonies (say, μW) in 100 milliliters of water in the west basin.
Solution.
While the true standard deviation is unknown, the sample size is large enough to allow us to use the central limit theorem, so the confidence interval will be
11.95±z0.0253711.80=[8.15,15.75].
Problem 2
A leakage test was conducted to determine the effectiveness of a seal designedto keep the inside of a plug airtight. An air needle was inserted into the plug, and the plug and needlewere placed under water. The pressure was then increased until leakage was observed. Let X equal the pressure in pounds per square inch. Assume that the distribution of X is N(μ,σ2). The following n=10 observations of X were obtained:
3.13.53.33.74.54.24.23.93.53.3
Use the observations to:
Find a point estimate of μ.
Find a point estimate of σ.
Find a 95% one-sided confidence interval for μ that provides an upper bound for μ.
Solution.
x≈3.72
s≈0.46
Since the sample is small and the variance is unknown, we need to use a t-distribution with 10−1=9 degrees of freedom:
T=S/10X−μ∼t(9)
For a 95% one-sided confidence interval, we use
P(T≤t0.05(9))=0.95.
This gives the one-sided interval
μ≤x+t0.05(9)10s=(−∞,3.99].
Problem 3
Students in a semester-long health-fitness program have their percentage of body fat measured at the beginning of the semester and at the end of the semester. The following measurements give these percentages for 9 men and for 8 women:
Let X be the change in percentage of body fat for females before and after the program. Assume X∼N(μX,σX2) for some unknown σX2. Construct a 90% confidence interval for μX.
Let Y be the change in percentage of body fat for males before and after the program. Assume Y∼N(μY,σY2) for some unknown σY2. Construct a 90% confidence interval for μY.
Assume σX2=σY2=σ2 for some unknown σ2. Construct a 90% confidence interval for μX−μY.
Is the program effective in reducing percentage of body fat? Is it more effective for males or for females?
Solution.
Since the sample size is small and the variance is unknown, we use a t-distribution for our confidence interval. Our sample for X is
−0.01−1.361.87−2.70−1.95−1.64−1.90−0.85
Thus, our confidence interval is
y±t0.05(7)8sY=[−2.03,−0.11].
Similarly, our sample for Y is
−1.13−0.49−3.70−1.40−0.982.100.98−0.91−0.89
We get the confidence interval
x±t0.05(8)9sX=[−1.70,0.28].
Since the variances are the same, we will use a t-distribution with degrees of freedom 9+8−2=15. Recall the pooled sample variance:
Sp2=nX+nY−2(nX−1)SX2+(nY−1)SY2.
The final confidence interval will be
x−y±t0.05(15)sp91+81=[−0.94,1.65].
Based on the samples and confidence intervals, the program seems to be effective for females, but inconclusive for males (since it contains 0). Similarly, based on the confidence interval for the difference of the means, there is no evidence that the program is more effective for a particular sex.
Problem 4
Let X1,…,X5 be a random sample of SAT mathematics scores, assumed to be N(μX,σ2), and let Y1,…Y5 be an independent random sample of SAT verbal scores, assumed to be N(μY,σ2). If the following data are observed:
Because the sample size is small and the variances are unknown, we use a t-distribution with degrees of freedom 5+5−2=8. The confidence interval is
x−y±t0.05(8)sp51+51=[−111.27,70.87].
Alternatively, you can also view the problem as n=5 samples from
X−Y=N(μX−μY,2σ2),
in which case, you use a t-distribution with degrees of freedom 5−1=4, which gives
x−y±t0.05(4)5s=[−115.98,75.58].
Problem 5
Let X and Y be the life time (in hours) of two types of light bulbs, respectively. Assume X∼N(μX,689) and Y∼N(μY,735). Suppose a random sample of 23 type X light bulbs yields an average life time of 956.2 hours, and a random sample of 28 type Y light bulbs yields an average life time of 978.6 hours. Construct a 95% confidence interval for μX−μY.
Solution.
The variances are known, so we can use a normal distribution.