IE101 Module 2 Part 3 Lecture
IE101 Module 2 Part 3 Lecture
𝜎 𝜎
𝑋! − 𝑧!/# < 𝜇 < 𝑋! + 𝑧!/#
𝑛 𝑛
Example: The normal curve on the left represent a
𝜎
𝐸 = 𝑧!/#
𝑛
Commonly Used Confidence Intervals
• The maximum error of estimate is the maximum difference between the point
estimate of a parameter and the actual value of the parameter.
2 2
23.2 − 1.96 < μ < 23.2 + 1.96
50 50
𝑠 𝑠
𝑋! − 𝑡!/# < 𝜇 < 𝑋! + 𝑡!/#
𝑛 𝑛
𝑑𝑓 𝑑𝑒𝑔𝑟𝑒𝑒𝑠 𝑜𝑓 𝑓𝑟𝑒𝑒𝑑𝑜𝑚 = 𝑛 − 1
Example: (𝝈 𝒊𝒔 𝒖𝒏𝒌𝒏𝒐𝒘𝒏 𝒐𝒓 𝒏 < 𝟑𝟎)
• Example 1: Ten randomly selected automobiles were stopped, and the tread
depth of the right front tire was measured. The mean was 0.32 inch, and the
standard deviation was 0.08 inch. Find the 95% confidence interval of the
mean depth. Assume that the variable is approximately normally distributed.
0.08 0.08
0.32 − 2.262 < μ < 0.32 + 2.262
10 10
1610.27 1610.27
7041.43 − 3.707 < μ < 7041.43 + 3.707
7 7
𝑋
𝑝̂ =
𝑛
𝑞_ = 1 − 𝑝̂
𝑝7𝑞7 𝑝7𝑞7
𝑝7 − 𝑧! < 𝑝 < 𝑝7 + 𝑧!/#
# 𝑛 𝑛
Example: Confidence Intervals and Sample Size for
Proportions
• Example 1: A sample of 500 nursing applications included 60 from men. Find
the 90% confidence interval of the true proportion of men who applied to the
nursing program.
𝑥 = 60 𝑚𝑒𝑛 60 60
𝑝̂ = 𝑞H = 1 −
500 500
60 1 − 60 60 (1 − 60 )
60 500 500 60 500 500
− 1.645 <p< + 1.645
500 500 500 500
𝑝̂ = 0.12 𝑞H = 0.88
𝟎. 𝟏𝟏𝟖𝟔 < p < 𝟎. 𝟏𝟐𝟏𝟒 𝟏𝟏. 𝟖𝟔% < p < 𝟏𝟐. 𝟏𝟒% 𝒐𝒇 𝒕𝒉𝒆 𝒃𝒐𝒂𝒕𝒔
Confidence Intervals for Variances and Standard
Deviations
• To calculate these confidence intervals, the chi-square (𝑥 ! ) distribution is
used.
• The chi-square distribution is similar to the t distribution in that its distribution is
a family of curves based on the number of degrees of freedom.
• A chi-square variable cannot be negative and the distributions are positively
skewed.
Confidence Intervals for Variances and Standard
Deviations
(𝒏 − 𝟏)𝒔𝟐 𝟐 <
(𝒏 − 𝟏)𝒔 𝟐
< 𝝈
𝑿𝟐 𝒓𝒊𝒈𝒉𝒕 𝑿𝟐 𝒍𝒆𝒇𝒕
𝑑. 𝑓. = 𝑛 − 1
Formula: Confidence Interval for a Standard
Deviation
(𝒏 − 𝟏)𝒔𝟐 (𝒏 − 𝟏)𝒔𝟐
< 𝝈 <
𝑿𝟐 𝒓𝒊𝒈𝒉𝒕 𝑿𝟐 𝒍𝒆𝒇𝒕
𝑑. 𝑓. = 𝑛 − 1
Example: Variance
• Example 1: Find the 95% confidence interval for the variance and standard
deviation of the nicotine content of cigarettes manufactured if a sample of
20 cigarettes has a standard deviation of 1.6 milligrams.
𝟏. 𝟒𝟖 < 𝝈𝟐 < 𝟓. 𝟒𝟔 𝒎𝒈
Example: Standard Deviation
• Example 1: Find the 95% confidence interval for the variance and standard
deviation of the nicotine content of cigarettes manufactured if a sample of
20 cigarettes has a standard deviation of 1.6 milligrams.
𝟏. 𝟐𝟐 < 𝝈 < 𝟐. 𝟑𝟒 𝒎𝒈
Prediction Interval of a Future Observation,
𝝈𝟐 𝒊𝒔 𝒌𝒏𝒐𝒘𝒏
In some problem situations, we may be interested in predicting a future
observation of a variable (e.g. possible value of the next observation). This is a
different problem than estimating the mean of that variable, so a confidence
interval is not appropriate.
𝟏 𝟏
0 − 𝒛𝜶/𝟐 𝝈
𝒙 𝟏+ 0 + 𝒛𝜶/𝟐 𝝈
< 𝒙𝟎 < 𝒙 𝟏+
𝒏 𝒏
Example: Prediction Interval of a Future
Observation, 𝝈𝟐 𝒊𝒔 𝒌𝒏𝒐𝒘𝒏
• Example 1: Due to the decrease in interest rates, the First Citizens Bank
received a lot of mortgage applications. A recent sample of 50 mortgage
loans resulted in an average loan amount of $257,300. Assume a population
standard deviation of $25,000. For the next customer who fills out a mortgage
application, find a 95% prediction interval for the loan amount.
1 1
257, 300 − 1.96 25, 000 1 + 50 < 𝑥𝑜 < 257, 300 + 1.96 25, 000 1 + 50
𝟏 𝟏
0 − 𝒕𝜶/𝟐 𝒔
𝒙 𝟏+ 0 + 𝒕𝜶/𝟐 𝒔
< 𝒙𝟎 < 𝒙 𝟏+
𝒏 𝒏
𝑑𝑓 𝑑𝑒𝑔𝑟𝑒𝑒𝑠 𝑜𝑓 𝑓𝑟𝑒𝑒𝑑𝑜𝑚 = 𝑛 − 1
Example: Prediction Interval of a Future
Observation, 𝝈𝟐 𝒊𝒔 𝒖𝒏𝒌𝒏𝒐𝒘𝒏
• Example 1: A meat inspector has randomly selected 30 packs of 95% lean
beef. The sample resulted in a mean of 96.2% with a sample standard
deviation of 0.8%. Find a 99% prediction interval for the leanness of a new
pack. Assume normality.
σ = 8% 𝐶𝐿 = 99% → 𝑡𝛼 = 2.756
2
1 1
0.962 − 2.756 0.008 1 + 30 < 𝑥𝑜 < 0.962 + 2.756 0.0008 1 + 30
! − 𝒌𝒔, 𝒙
𝒙 ! + 𝒌𝒔
• where k is a tolerance interval factor
Example: Tolerance Intervals
• Consider previous example but n = 20 packs. With the information given, find
a tolerance interval that gives two-sided 95% bounds on 90% of the
distribution of packages of 95% lean beef. Assume the data came from an
approximately normal distribution.
𝑥̅ = 96.2% 𝑛 = 20 𝑝𝑎𝑐𝑘𝑠
𝑠 = 8% 𝑘 = 2.310
0.962 ± (2.310)(0.008)