Session 11 Lecture Notes 0219
Session 11 Lecture Notes 0219
▪ Important from the point of view of working on samples and making inferences which are backed up by
Statistical Analysis
▪ Important from Hypothesis testing perspective
▪ Examples of problems that can be solved :
➢ Measuring whether Marketing Campaigns have been actually effective
➢ Compare the effectiveness of Two or more Drugs on Patient Health
➢ Examine the statistical significance of relationship between Two variables, e.g., routine exercise and health
Problems on Interval Estimation
Quick Recap on Confidence Intervals (CI)
𝜎
ഥ
𝑿 𝝈𝑿ഥ =
𝑛
Sample Mean Std. Dev of the
sampling distribution Interval Estimates
Confidence Intervals : Example Question 01
Example : A large Automotive parts wholesaler needs an estimate of the mean life it can expect from windshield wiper blades
under typical driving conditions. We know that the standard deviation of the population life is 6 months. We select a random
sample of 100 wiper blades, collect data on their usage and obtain results, where their average life is found to be 21 months.
The wholesaler wants to know the interval estimate with a confidence level of 95 Percent.
𝜎 𝜎
𝑥ҧ − 𝑧 , 𝑥ҧ + 𝑧
ഥ = 21
𝒙 𝑛 𝑛
6 𝟏𝟗. 𝟖𝟐 , 𝟐𝟐. 𝟏𝟖
𝝈𝒙ഥ =
100
C𝒐𝒏𝒇𝒊𝒅𝒆𝒏𝒄𝒆 = 95% 𝜎
𝑳𝒆𝒗𝒆𝒍 𝑥ҧ − 𝑧 = 21 − 1.96 (0.6)
𝑛
𝒛=?
𝜎
𝑥ҧ + 𝑧 = 21 + 1.96 (0.6)
𝑛
𝒛 = 1.96
Confidence Intervals Intuition
▪ For any point estimate, there is an associated uncertainty which can cause its value to fluctuate between a range of values
▪ We can define this range (interval of estimates) using 𝜎𝑥ҧ , i.e. Standard Error of Sampling Distribution (𝑠/ 𝑛) and the z-score
o 𝑥ҧ ± 𝑧𝜎𝑥ҧ
▪ Thus, Point estimate will lie in the interval 𝑥ҧ − 𝑧𝜎𝑥ҧ , 𝑥ҧ + 𝑧𝜎𝑥ҧ
Sampling Distributions
of Sample Means
Lower ഥ
𝒙 Upper
Limit Limit
𝒃 𝒂
𝒂−𝝁 𝒃−𝝁
𝑷 𝒂<𝑿<𝒃 ? 𝑷 <𝒁< ?
𝝈 𝝈
𝒂 𝒃
Quick Example : 𝑮𝒊𝒗𝒆𝒏 𝑿 ~ 𝑵(𝟓𝟎, 𝟏𝟎)
𝑭𝒊𝒏𝒅 𝑷(𝑿 > 𝟕𝟓) ?
𝝁 = 𝟓𝟎 𝟕𝟓
Now the problems are based on a “Single Sample” of size n
Given a sample : ഥ = 𝟓𝟎 , 𝒔 = 𝟏𝟎
𝒏 = 𝟔𝟒, 𝒙 𝑭𝒊𝒏𝒅 𝑷(𝑳𝑳 < 𝝁 < 𝑼𝑳) for CL of 95%
LL ഥ
𝒙 UL
(Lower Limit) (Upper Limit)
Relation – Confidence Intervals and Confidence Levels
Example
Intervals Confidence Levels
Getting delivery of a 1 Year High Confidence ~ 100%
Newly launched
Sports Car Model, 1 Month Medium Confidence ~ 50%
after booking
1 Day Low Confidence ~ 10%
𝑥ҧ − 𝜇𝑥ҧ 𝜎
𝑍= where 𝜎𝑥ҧ =
𝜎𝑥ҧ 𝑛
Almost in all practical situations, 𝜎 will be unknown, thus we need to use the sample statistic ‘s’ instead
df – Degree of Freedom
t-Distribution Table