Docsity

Hypothesis Testing: Understanding the Role of Null and Alternative Hypotheses - Prof. L. H, Study notes of Statistics

Toggle sidebar
bg1
Introduction๎˜ƒto๎˜ƒHypothesis๎˜ƒTesting๎˜ƒ
A๎˜ƒHypothesis๎˜ƒTest๎˜ƒfor๎˜ƒฮผ๎˜ƒ
๎˜ƒ
Heuristic๎˜ƒ๎˜ƒHypothesis๎˜ƒtesting๎˜ƒworks๎˜ƒa๎˜ƒlot๎˜ƒlike๎˜ƒour๎˜ƒlegal๎˜ƒsystem.๎˜ƒ๎˜ƒIn๎˜ƒthe๎˜ƒlegal๎˜ƒsystem,๎˜ƒthe๎˜ƒaccused๎˜ƒ
is๎˜ƒinnocent๎˜ƒuntil๎˜ƒproven๎˜ƒguilty.๎˜ƒ๎˜ƒAfter๎˜ƒexamining๎˜ƒthe๎˜ƒevidence,๎˜ƒhe๎˜ƒis๎˜ƒfound๎˜ƒeither๎˜ƒโ€œguiltyโ€๎˜ƒor๎˜ƒ
โ€œnot๎˜ƒguiltyโ€๎˜ƒby๎˜ƒa๎˜ƒjury๎˜ƒof๎˜ƒhis๎˜ƒpeers.๎˜ƒ๎˜ƒHow๎˜ƒmuch๎˜ƒevidence๎˜ƒdoes๎˜ƒthere๎˜ƒneed๎˜ƒto๎˜ƒbe๎˜ƒto๎˜ƒconvict?๎˜ƒ๎˜ƒThe๎˜ƒ
answer๎˜ƒto๎˜ƒthis๎˜ƒis๎˜ƒdifferent๎˜ƒfor๎˜ƒevery๎˜ƒjury.๎˜ƒ๎˜ƒAlso,๎˜ƒthis๎˜ƒis๎˜ƒnot๎˜ƒa๎˜ƒperfect๎˜ƒprocess๎˜ƒโ€“๎˜ƒmeaning๎˜ƒmistakes๎˜ƒ
are๎˜ƒmade.๎˜ƒ๎˜ƒA๎˜ƒmistake๎˜ƒcan๎˜ƒbe๎˜ƒmade๎˜ƒby๎˜ƒsending๎˜ƒan๎˜ƒinnocent๎˜ƒman๎˜ƒto๎˜ƒprison๎˜ƒor๎˜ƒletting๎˜ƒa๎˜ƒguilty๎˜ƒ
man๎˜ƒgo๎˜ƒfree.๎˜ƒ๎˜ƒLetโ€™s๎˜ƒput๎˜ƒthese๎˜ƒideas๎˜ƒinto๎˜ƒthe๎˜ƒframework๎˜ƒof๎˜ƒhypothesis๎˜ƒtesting.๎˜ƒ
Statistical๎˜ƒ๎˜ƒLetโ€™s๎˜ƒsay๎˜ƒa๎˜ƒresearcher๎˜ƒhas๎˜ƒreason๎˜ƒto๎˜ƒbelieve๎˜ƒthe๎˜ƒpopulation๎˜ƒmean๎˜ƒis๎˜ƒdifferent๎˜ƒfrom๎˜ƒ
what๎˜ƒhas๎˜ƒbeen๎˜ƒaccepted.๎˜ƒ๎˜ƒThe๎˜ƒbelief๎˜ƒthat๎˜ƒhas๎˜ƒbeen๎˜ƒaround๎˜ƒfor๎˜ƒsome๎˜ƒtime๎˜ƒ(the๎˜ƒstatus๎˜ƒquo)๎˜ƒwill๎˜ƒ
be๎˜ƒcalled๎˜ƒthe๎˜ƒnull๎˜ƒhypothesis,๎˜ƒdenoted๎˜ƒby๎˜ƒHO.๎˜ƒ๎˜ƒThe๎˜ƒbelief๎˜ƒthat๎˜ƒthe๎˜ƒtrue๎˜ƒmean๎˜ƒmay๎˜ƒactually๎˜ƒbe๎˜ƒ
different๎˜ƒfrom๎˜ƒthis๎˜ƒnull๎˜ƒhypothesized๎˜ƒbelief๎˜ƒis๎˜ƒcalled๎˜ƒthe๎˜ƒalternative๎˜ƒhypothesis,๎˜ƒdenoted๎˜ƒby๎˜ƒHA.๎˜ƒ๎˜ƒ๎˜ƒ
Stating๎˜ƒthe๎˜ƒhypothesis๎˜ƒ
Weโ€™ll๎˜ƒstate๎˜ƒour๎˜ƒnull๎˜ƒhypothesis๎˜ƒin๎˜ƒthe๎˜ƒfollowing๎˜ƒway:๎˜ƒ
HO:๎˜ƒ๎˜ƒฮผ๎˜ƒ=๎˜ƒฮผO๎˜ƒ(the๎˜ƒโ€œ=โ€๎˜ƒsign๎˜ƒalways๎˜ƒgoes๎˜ƒwith๎˜ƒHO)๎˜ƒ
Then,๎˜ƒthe๎˜ƒalternative๎˜ƒhypothesis๎˜ƒcan๎˜ƒbe๎˜ƒone๎˜ƒof๎˜ƒthe๎˜ƒfollowing๎˜ƒthree๎˜ƒstatements:๎˜ƒ
HA:๎˜ƒ___________________๎˜ƒ
HA:๎˜ƒ___________________๎˜ƒ
HA:๎˜ƒ___________________๎˜ƒ
๎˜ƒ
Finding๎˜ƒthe๎˜ƒโ€œevidenceโ€๎˜ƒ
Weโ€™ll๎˜ƒuse๎˜ƒX
๏Œฅ๎˜ƒand๎˜ƒknowledge๎˜ƒof๎˜ƒits๎˜ƒdistribution๎˜ƒto๎˜ƒgather๎˜ƒour๎˜ƒevidence.๎˜ƒ๎˜ƒIntuitively,๎˜ƒwe๎˜ƒknow๎˜ƒthat๎˜ƒ
the๎˜ƒfurther๎˜ƒaway๎˜ƒX
๏Œฅ๎˜ƒis๎˜ƒfrom๎˜ƒฮผO,๎˜ƒthe๎˜ƒmore๎˜ƒevidence๎˜ƒwe๎˜ƒhave๎˜ƒthat๎˜ƒthe๎˜ƒnull๎˜ƒhypothesis๎˜ƒis๎˜ƒnot๎˜ƒtrue.๎˜ƒ
Let๎˜ƒ๎˜ƒts๏Œ X
๏Œฅ๏„ฟ๏ˆ“o
sโˆšn
๏—๎˜ƒ๎˜ƒbe๎˜ƒour๎˜ƒtest๎˜ƒstatistic.๎˜ƒ
If๎˜ƒthe๎˜ƒnull๎˜ƒhypothesis๎˜ƒwere๎˜ƒtrue๎˜ƒ(remember:๎˜ƒinnocent๎˜ƒuntil๎˜ƒproven๎˜ƒguilty!),๎˜ƒthen๎˜ƒts๎˜ƒ~๎˜ƒtdf=nโ€1,๎˜ƒand๎˜ƒ
we๎˜ƒcan๎˜ƒcompute๎˜ƒprobabilities๎˜ƒassociated๎˜ƒwith๎˜ƒit.๎˜ƒ
๎˜ƒ
When๎˜ƒX
๏Œฅ๎˜ƒ๎˜ƒis๎˜ƒclose๎˜ƒto๎˜ƒฮผO,๎˜ƒthen๎˜ƒts๎˜ƒ_______________๎˜ƒ
When๎˜ƒX
๏Œฅ๎˜ƒ๎˜ƒis๎˜ƒlarger๎˜ƒthan๎˜ƒฮผO,๎˜ƒthen๎˜ƒts๎˜ƒ_____________๎˜ƒ
When๎˜ƒX
๏Œฅ๎˜ƒ๎˜ƒis๎˜ƒsmaller๎˜ƒthan๎˜ƒฮผO,๎˜ƒthen๎˜ƒts๎˜ƒ____________๎˜ƒ
pf3
pf4
pf5

Partial preview of the text

Download Hypothesis Testing: Understanding the Role of Null and Alternative Hypotheses - Prof. L. H and more Study notes Statistics in PDF only on Docsity!

Introduction to Hypothesis Testing

A Hypothesis Test for ฮผ Heuristic Hypothesis testing works a lot like our legal system. In the legal system, the accused is innocent until proven guilty. After examining the evidence, he is found either โ€œguiltyโ€ or โ€œnot guiltyโ€ by a jury of his peers. How much evidence does there need to be to convict? The answer to this is different for every jury. Also, this is not a perfect process โ€“ meaning mistakes are made. A mistake can be made by sending an innocent man to prison or letting a guilty man go free. Letโ€™s put these ideas into the framework of hypothesis testing. Statistical Letโ€™s say a researcher has reason to believe the population mean is different from what has been accepted. The belief that has been around for some time (the status quo) will be called the null hypothesis, denoted by HO. The belief that the true mean may actually be different from this null hypothesized belief is called the alternative hypothesis, denoted by HA. Stating the hypothesis Weโ€™ll state our null hypothesis in the following way: HO: ฮผ = ฮผO (the โ€œ=โ€ sign always goes with HO) Then, the alternative hypothesis can be one of the following three statements: HA : ___________________ HA : ___________________ HA : ___________________ Finding the โ€œevidenceโ€ Weโ€™ll use Xเดฅ^ and knowledge of its distribution to gather our evidence. Intuitively, we know that the further away Xเดฅ^ is from ฮผO, the more evidence we have that the null hypothesis is not true. Let t (^) s เตŒ Xเดฅเฌฟเฐ“ (^) o s เต—โˆšn be our test statistic. If the null hypothesis were true (remember: innocent until proven guilty!), then ts ~ tdf=nโ€ 1 , and we can compute probabilities associated with it. When Xเดฅ^ is close to ฮผO , then ts _______________ When Xเดฅ^ is larger than ฮผO , then t (^) s _____________ When Xเดฅ^ is smaller than ฮผO, then ts ____________

Diagram of finding the โ€œevidenceโ€ for the three possible tests HO: ฮผ = ฮผO HA : ฮผ > ฮผO HO: ฮผ = ฮผO HA : ฮผ < ฮผO HO: ฮผ = ฮผO HA : ฮผ โ‰  ฮผO

Example: The national center for health statistics reports the mean systolic blood pressure for males aged 35 โ€ 44 is 128 mmHg. A medical researcher believes the mean systolic blood pressure for male executives in this group is lower than 128 mmHg. A random sample of 72 male executives in this age group results in a sample mean of 126.1 mmHg and a standard deviation of 15.2 mmHg. Is there evidence to support the researcherโ€™s claim? Test this hypothesis at the 0.05 level of significance.

Compute the Pโ€value be for: HA : ฮผ โ‰  ฮผO HA : ฮผ > ฮผO Errors When we make a decision (reject or fail to reject HO), are we always correct? We can make two types of errors in hypothesis testing. Definition: The False Positive Rate (a.k.a. the Type I Error Rate) of a test is the probability of rejecting Ho when it is true. NOTATION: ฮฑ = P{reject Ho | Ho true} Definition: The False Negative Rate (a.k.a. the Type II Error Rate) of a test is the probability of failing to reject Ho when it is false. NOTATION: ฮฒ = P{fail to reject Ho | Ho false}