Hypothesis Testing-1,2
Hypothesis Testing-1,2
ഥ = Sample mean
Where, 𝑿
μ= population mean
n= sample size
Note: In case of finite population, the standard error has to be multiplied by the
𝑁−𝑛
finite population multiplier,
𝑁−1
Case Study - 1.Phillips company claims that the
length of life of its electric bulbs 2000 hours with
standard deviation of 30 hours. A random
sample of 25 showed an average life of 1940
hours with a standard deviation of 25 hours. At
5% level of significance can we conclude that
the sample has come from a population with
mean of 2000 hours?
Discussion of Case Study - 1.
Hint: 𝑯𝟎 can be confirmed from the statement
of claim / conclusion, if population standard
deviation is given then sample standard
deviation is redundant.
Discussion of Case Study - 1.
• Hint: 𝑯𝟎 can be confirmed from the statement of claim / conclusion, if
population standard deviation is given then sample standard deviation is
redundant.
•
• Solution:
• Give ∝= 𝟓%, 𝒙 ഥ = 𝟏𝟗𝟒𝟎, 𝝁 = 𝟐𝟎𝟎𝟎, 𝝈 = 𝟑𝟎, 𝑺 = 𝟐𝟓, 𝒏 = 𝟐𝟓
• 𝑯𝟎 : 𝝁 = 𝟐𝟎𝟎𝟎 𝒉𝒐𝒖𝒓𝒔
• 𝑯𝟏 : 𝝁 ≠ 𝟐𝟎𝟎𝟎 𝒉𝒐𝒖𝒓𝒔 (two tailed test)
• 𝒕=𝒙 ഥ
𝝈 𝟑𝟎
• 𝒙) =
S.E (ഥ = =𝟔
𝒏 𝟐𝟓
ഥ
𝒙−𝝁 𝟏𝟗𝟒𝟎−𝟐𝟎𝟎𝟎
• Z = 𝑺.𝑬(ഥ𝒙) = = −𝟏𝟎
𝟔
• 𝒁𝒕𝒂𝒃𝒖𝒍𝒂𝒓 = −𝟏𝟎 = 𝟏𝟎
• 𝒁𝒕𝒂𝒃𝒖𝒍𝒂𝒓 = 𝒁𝟎.𝟎𝟓 = 𝟏. 𝟗𝟔
• 𝒁𝒄𝒂𝒍 > 𝒁𝒕𝒂𝒃
•
• Since the calculated value of 𝒁 is greater than the tabular value, 𝑯𝟎 is rejected.
• The sample has not come from a population with mean 2000.
Case Study - 2. A pharma company hypothesizes
that the effect of a certain sedative is 13 hours
with a known standard deviation of 2 hours.
From a sample of 16 patients, it is found that
the sample mean to be 12 hours. At 0.01 level of
significance, should be company conclude that
the average effect of the sedative is less than or
equal to 13 hours.
Discussion of Case Study - 2.
Hint: Less than or equal is null hypothesis.
Discussion of Case Study - 2.
Hint: Less than or equal is null hypothesis.
Given 𝝁𝟎 = 𝟏𝟑, 𝝈 = 𝟐, 𝒏 = 𝟏𝟔, 𝒙 ഥ = 𝟏𝟐
∝= 𝟎. 𝟎𝟏
𝑯𝟎 : 𝝁 ≤ 𝟏𝟑
𝑯𝟏 : 𝝁 > 𝟏𝟑 (one tailed)
𝝈 𝟐 𝟐 𝟏
𝒙) =
S.E (ഥ = = = = 𝟎. 𝟓
𝒏 𝟏𝟔 𝟒 𝟐
ഥ−𝝁
𝒙 𝟏𝟐−𝟏𝟑
Z= = = −𝟐
𝑺.𝑬(ഥ
𝒙) 𝟎.𝟓
𝒁𝒄𝒂𝒍𝒄𝒖𝒍𝒂𝒕𝒆𝒅 = 𝟐
𝒁𝒕𝒂𝒃𝒖𝒍𝒂𝒓 = 𝒁𝟎.𝟎𝟏 = 𝟐. 𝟑𝟑 (one tailed)
𝑺𝒊𝒏𝒄𝒆 𝒁𝒄𝒂𝒍 < 𝒁𝟎.𝟎𝟏 = 𝟐. 𝟑𝟑,