Академический Документы
Профессиональный Документы
Культура Документы
2017.11.16
Idea: To make inference about a population based on
information from a random sample taken from it
Sample
Population
…… ©
©
Martin’s Family Fruit Farm, 2015.
Quintessential Leader, 2013
© Total IT Solution, 2014
© Imgarcade, 2015.
Null hypothesis (𝑯𝑯𝟎𝟎 )
Alternative hypothesis 𝑯𝑯𝟏𝟏
𝐻𝐻0 : associated with some general belief and something you would like
to protect.
(e.g. the standard drug A and the newly developed drug B are equally effective)
"="
𝐻𝐻1 : associated with new concepts, some new claims or researchers’
hypotheses
(e.g. the newly developed drug B is more effective than the standard drug A)
"<"
13
Decision
(𝑯𝑯𝟎𝟎 ) (𝑯𝑯𝟏𝟏 )
Innocent Guilty
“Set free” “Jail”
“He” has not
done it I 冤
FACT
II
“He” has
done it
𝐻𝐻0 𝑣𝑣𝑣𝑣 𝐻𝐻1
Hidden Truth Innocent “set free” Guilty “jail”
✓ I - 冤枉!(Injustice)
“He” has not done it.
𝛼𝛼 = 𝑃𝑃 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 𝑰𝑰 𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒
= 𝑃𝑃(𝐻𝐻0 𝑖𝑖𝑖𝑖 𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟|𝐻𝐻0 𝑖𝑖𝑖𝑖 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡)
With reference to example 7.1,
𝑌𝑌1 , ⋯ , 𝑌𝑌𝑛𝑛 ~𝑁𝑁(𝜇𝜇, 𝜎𝜎 2 )
𝑛𝑛 = 5, 𝜎𝜎 2 = 75,
(1) 𝐻𝐻0 : 𝝁𝝁 = 𝝁𝝁𝟎𝟎 = 𝟖𝟖𝟖𝟖𝟖𝟖 𝑣𝑣𝑣𝑣 𝑯𝑯𝟏𝟏 : 𝝁𝝁 < 𝟖𝟖𝟖𝟖𝟖𝟖
𝜎𝜎 2
(2) Test statistic: 𝑌𝑌� [From Chapter 6, we know that 𝑌𝑌~𝑁𝑁
� 𝜇𝜇, 𝑛𝑛 ]
(3) 𝑅𝑅𝑅𝑅 = 𝑌𝑌� < 𝑘𝑘 = 790 .
𝑯𝑯𝟎𝟎 : 𝝁𝝁 = 𝟖𝟖𝟖𝟖𝟖𝟖
𝛼𝛼 β
𝛼𝛼 = 0.05 2
𝜎𝜎
= 𝑃𝑃 𝑌𝑌� < 𝑘𝑘 𝑌𝑌~𝑁𝑁
� 𝜇𝜇 = 𝟖𝟖𝟖𝟖𝟖𝟖, = 15
𝑌𝑌� − 𝜇𝜇 𝑘𝑘 − 𝟖𝟖𝟖𝟖𝟖𝟖 𝑛𝑛
= 𝑃𝑃 <
𝜎𝜎 2 /𝑛𝑛 15
𝑘𝑘 − 𝟖𝟖𝟖𝟖𝟖𝟖
= 𝑃𝑃 𝑍𝑍 < , where 𝜇𝜇0 = 800
2
𝜎𝜎 /𝑛𝑛
𝑘𝑘 − 𝜇𝜇0
∴ = −1.645
𝜎𝜎/ 𝑛𝑛 𝜎𝜎
𝑘𝑘 = 𝜇𝜇0 − 1.645 ×
𝑛𝑛
𝟕𝟕𝟕𝟕
= 𝟖𝟖𝟖𝟖𝟖𝟖 − 1.645 ×
𝟓𝟓
= 793.63.
∴ 𝑅𝑅𝑅𝑅 = 𝑌𝑌� < 793,63
OR equivalently
𝑦𝑦� − 𝝁𝝁𝟎𝟎
if 𝑍𝑍 =
𝝈𝝈/ 𝒏𝒏
< −1.645 − 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣, then 𝐻𝐻0 is rejected at 𝛼𝛼
= 0.05.
� −𝝁𝝁𝟎𝟎
𝒀𝒀
More formally, the test statistic is 𝒁𝒁 = ~ 𝑵𝑵(𝟎𝟎, 𝟏𝟏), when 𝝈𝝈𝟐𝟐 is
𝝈𝝈/ 𝒏𝒏
known.