Sample Problemsfor Confidence Intervals 924152003
Sample Problemsfor Confidence Intervals 924152003
Sample Problemsfor Confidence Intervals 924152003
Problems
Problem Summary
• 1- 5: Difference between two means
• 6-7: Proportions
• 8-11: Single sample estimation
Problem 1 (Diff btwn Two Means)
A taxi company is trying to decide: whether to purchase brand A or brand B tires for its fleet of taxis.
To estimate the difference in the two brands, an experiment is conducted using 12 of each brand. The tires are run until they
wear out. The results are
Brand A: x1 — 36,300 kilometers, s1 = 5,000 kilometers.
Brand B: x2 = 38,100 kilometers, s2 = 6,100 kilometers.
Compute a 95% confidence interval for ma — mb assuming the populations to be approximately normally distributed.
Assume variances are not equal.
Explanation:
Estimating difference ma — mb, assume variances are not equal, also s1 and s2 means the variance is
unknown. Given those conditions we use: 2 2 2
(S1 / n1 S2 / n2 )
2 2 2 2
( x 1 x 2 ) t / 2,
s1
s
1 2 ( x 1 x 2 ) t / 2,
2 1 s
2s
1 1 2 2
S2 / n 2 S2 / n 2
where
n1 n2 n1 n2 n1 1 n2 1
Problem 1 Solution
Explanation:
Question asks for difference in population means, gives actual standard deviation (not sample
standard deviation) this means s12 and s22 are known, also n>30 so n is considered large. Because
variance or standard deviation is known, and because n is large, we use this equation:
If standard deviation
s 12 s 22 s 12 s 22
( x 1 x 2 ) z / 2 1 2 ( x 1 x 2 ) z / 2 was unknown, but n
n1 n2 n1 n2 was large, you should
still use this
equation.
Problem 2 Solution
Explanation:
Estimating difference ma — mb, assume variances are equal, also because a SAMPLE standard deviation is given that
means the variance is unknown. Given those conditions we use:
n1 n2 2
p
n1 n2 n1 n2
Problem 3 Solution This is the square root of Sp2
n1 n2 2
p
n1 n2 n1 n2 where
Problem 4 Solution
Compute a 90% confidence interval for the difference between the average running times of films
produced by the two companies. Assume that the running-time differences are approximately
normally distributed with unequal variances.
Explanation:
Estimating difference ma — mb, assume variances are not equal, also you are given raw sample data and
have to calculate sI and sII , the variance is unknown. Given those conditions we use:
s12 s22 s12 s22 (S12 / n1 S22 / n2 )2
( x 1 x 2 ) t / 2, 1 2 ( x 1 x 2 ) t / 2, where
S2 / n 2 S2 / n 2
n1 n2 n1 n2 1 1 2 2
n1 1 n2 1
Problem 5 Solution
You are given raw sample data so you must calculate xI sI xII and sII.
Explanation:
You are asked to compute a confidence interval for the mean of connector modules. You use the single estimation
equation for s known because the actual standard deviation is given. Also n larger than 30 so you can use the
following equation because one or both of the conditions (s known and n is large) is met.
s s
X z / 2 X z / 2
n n
Problem 9
Problem 10 (Single Estimation)
A machine is producing metal pieces that are cylindrical in shape. A
sample of 7 pieces is taken with an average diameter of 1.0056 and a
sample standard deviation of 0.0245.
Find a 99% confidence interval for the mean diameter of pieces from
this machine, assuming an approximate normal distribution.
Explanation:
You are asked to compute a confidence interval for the mean the piece diameter. You use the single estimation
equation for s unknown because a SAMPLE standard deviation is given. Also n is small (less than 30). Because s is
unknown AND n is small you use:
s s
X t / 2,n 1 X t / 2,n 1
n n
Degrees of freedom = v = n-1
Problem 10 Solution
Degrees of freedom = v = n-1
Problem 11 (Single Estimation)
A random sample of 12 shearing pins is taken in a study of the Rockwell hardness of
the head on the pin. Measurements on the Rockwell hardness were made for each
of the 12, yielding an average value of 48.50 with a sample standard deviation of
1.5.
Assuming the measurements to be normally distributed, construct a 90%
confidence interval for the mean Rockwell hardness.
Explanation:
You are asked to compute a confidence interval for the mean the piece diameter. You use the single estimation
equation for s unknown because a SAMPLE standard deviation is given. Also n is small (less than 30). Because s is
unknown AND n is small you use:
s s
X t / 2,n 1 X t / 2,n 1
n n
Degrees of freedom = v = n-1
Problem 11 Solution
Degrees of freedom = v = n-1