SlideShare a Scribd company logo
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc.
Hypothesis
Testing –
Examples and
Case Studies
Chapter 23
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 2
23.1 How Hypothesis Tests
Are Reported in the News
1. Determine the null hypothesis and the
alternative hypothesis.
2. Collect and summarize the data into a
test statistic.
3. Use the test statistic to determine the p-value.
4. The result is statistically significant if the
p-value is less than or equal to the level of
significance.
Often media only presents results of step 4.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 3
23.2 Testing Hypotheses About
Proportions and Means
If the null and alternative hypotheses are
expressed in terms of a population proportion,
mean, or difference between two means and if
the sample sizes are large …
… the test statistic is simply the corresponding
standardized score computed assuming the null
hypothesis is true; and the p-value is found from
a table of percentiles for standardized scores.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 4
Example 2: Weight Loss for Diet vs Exercise
Diet Only:
sample mean = 5.9 kg
sample standard deviation = 4.1 kg
sample size = n = 42
standard error = SEM1 = 4.1/ √42 = 0.633
Exercise Only:
sample mean = 4.1 kg
sample standard deviation = 3.7 kg
sample size = n = 47
standard error = SEM2 = 3.7/ √47 = 0.540
Did dieters lose more fat than the exercisers?
measure of variability = [(0.633)2 + (0.540)2] = 0.83
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 5
Example 2: Weight Loss for Diet vs Exercise
The sample mean difference = 5.9 – 4.1 = 1.8 kg
and the standard error of the difference is 0.83.
Step 1. Determine the null and alternative hypotheses.
Null hypothesis: No difference in average fat lost in population
for two methods. Population mean difference is zero.
Alternative hypothesis: There is a difference in average fat lost in
population for two methods. Population mean difference is not zero.
Step 2. Collect and summarize data into a test statistic.
So the test statistic: z = 1.8 – 0 = 2.17
0.83
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 6
Example 2: Weight Loss for Diet vs Exercise
Step 3. Determine the p-value.
Recall the alternative hypothesis was two-sided.
p-value = 2 × [proportion of bell-shaped curve above 2.17]
Table 8.1 => proportion is about 2 × 0.015 = 0.03.
Step 4. Make a decision.
The p-value of 0.03 is less than or equal to 0.05, so …
• If really no difference between dieting and exercise as fat
loss methods, would see such an extreme result only 3% of
the time, or 3 times out of 100.
• Prefer to believe truth does not lie with null hypothesis.
We conclude that there is a statistically significant
difference between average fat loss for the two methods.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 7
Example 3: Public Opinion About President
On May 16, 1994, Newsweek reported the results of a
public opinion poll that asked: “From everything you
know about Bill Clinton, does he have the honesty and
integrity you expect in a president?” (p. 23).
Poll surveyed 518 adults and 233, or 0.45 of them
(clearly less than half), answered yes.
Could Clinton’s adversaries conclude from this that
only a minority (less than half) of the population of
Americans thought Clinton had the honesty and
integrity to be president?
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 8
Example 3: Public Opinion About President
Step 1. Determine the null and alternative hypotheses.
Null hypothesis: There is no clear winning opinion on this issue;
the proportions who would answer yes or no are each 0.50.
Alternative hypothesis: Fewer than 0.50, or 50%, of the population
would answer yes to this question. The majority do not think Clinton
has the honesty and integrity to be president.
Step 2. Collect and summarize data into a test statistic.
Sample proportion is: 233/518 = 0.45.
The standard deviation = (0.50) × (1 – 0.50) = 0.022.
518
Test statistic: z = (0.45 – 0.50)/0.022 = –2.27
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 9
Example 3: Public Opinion About President
Step 3. Determine the p-value.
Recall the alternative hypothesis was one-sided.
p-value = proportion of bell-shaped curve below –2.27
Exact p-value = 0.0116.
Step 4. Make a decision.
The p-value of 0.0116 is less than 0.05, so we conclude
that the proportion of American adults in 1994 who
believed Bill Clinton had the honesty and integrity they
expected in a president was significantly less than a
majority.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 10
23.3 Revisiting Case Studies:
How Journals Present Tests
Whereas newspapers and magazines
tend to simply report the decision from
hypothesis testing, journals tend to
report p-values as well.
This allows you to make your own
decision, based on the severity of a
type 1 error and the magnitude of
the p-value.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 11
Case Study 5.1: Quitting Smoking with
Nicotine Patches
Compared the smoking cessation rates for smokers
randomly assigned to use a nicotine patch versus a
placebo patch.
Null hypothesis: The proportion of smokers in the
population who would quit smoking using a nicotine
patch and a placebo patch are the same.
Alternative hypothesis: The proportion of smokers
in the population who would quit smoking using a
nicotine patch is higher than the proportion who
would quit using a placebo patch.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 12
Case Study 5.1: Quitting Smoking with
Nicotine Patches
Higher smoking cessation rates were observed in the active
nicotine patch group at 8 weeks (46.7% vs 20%) (P < .001)
and at 1 year (27.5% vs 14.2%) (P = .011).
(Hurt et al., 1994, p. 595)
Conclusion: p-values are quite small: less than 0.001
for difference after 8 weeks and equal to 0.011 for
difference after a year. Therefore, rates of quitting are
significantly higher using a nicotine patch than using
a placebo patch after 8 weeks and after 1 year.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 13
Case Study 6.4: Smoking During
Pregnancy and Child’s IQ
Study investigated impact of maternal smoking on
subsequent IQ of child at ages 1, 2, 3, and 4 years of age.
Null hypothesis: Mean IQ scores for children whose mothers
smoke 10 or more cigarettes a day during pregnancy are same
as mean for those whose mothers do not smoke, in populations
similar to one from which this sample was drawn.
Alternative hypothesis: Mean IQ scores for children whose
mothers smoke 10 or more cigarettes a day during pregnancy
are not the same as mean for those whose mothers do not
smoke, in populations similar to one from which this sample
was drawn.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 14
Case Study 6.4: Smoking During
Pregnancy and Child’s IQ
Children born to women who smoked 10+ cigarettes per day
during pregnancy had developmental quotients at 12 and 24
months of age that were 6.97 points lower (averaged across
these two time points) than children born to women who did
not smoke during pregnancy (95% CI: 1.62,12.31, P = .01);
at 36 and 48 months they were 9.44 points lower (95% CI:
4.52, 14.35, P = .0002). (Olds et al., 1994, p. 223)
Researchers conducted two-tailed tests for possibility the
mean IQ score could actually be higher for those whose
mothers smoke. The CI provides evidence of the direction in
which the difference falls. The p-value simply tells us there
is a statistically significant difference.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 15
For Those Who Like Formulas
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 16
For Those Who Like Formulas
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 17
For Those Who Like Formulas

More Related Content

Similar to STA10lecture21.pdf

Chapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testingChapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testing
BOmebratu
 
Hypothesis test
Hypothesis testHypothesis test
Hypothesis test
pallopathak
 
Aron chpt 5 ed revised
Aron chpt 5 ed revisedAron chpt 5 ed revised
Aron chpt 5 ed revised
Sandra Nicks
 
Aron chpt 5 ed
Aron chpt 5 edAron chpt 5 ed
Aron chpt 5 ed
Sandra Nicks
 
The Research Process
The Research ProcessThe Research Process
The Research Process
K. Challinor
 
Sample size calculation
Sample size calculationSample size calculation
Sample size calculation
Santam Chakraborty
 
Brmedj00047 0038
Brmedj00047 0038Brmedj00047 0038
Brmedj00047 0038
Waleska Monteiro
 
1. In a study, 28 adults with mild periodontal disease are assesse
1. In a study, 28 adults with mild periodontal disease are assesse1. In a study, 28 adults with mild periodontal disease are assesse
1. In a study, 28 adults with mild periodontal disease are assesse
TatianaMajor22
 
Research methodology 101
Research methodology 101Research methodology 101
Research methodology 101
Hesham Gaber
 
Statistical and critical thinking
Statistical and critical thinkingStatistical and critical thinking
Statistical and critical thinking
RamiroGarcia103
 
UkNSCC 2016 CochraneTAG workshop
UkNSCC 2016 CochraneTAG workshopUkNSCC 2016 CochraneTAG workshop
UkNSCC 2016 CochraneTAG workshop
CochraneTAG
 
Cohort studies
Cohort studiesCohort studies
Cohort studies
DrKHReddy
 
Ch 2 basic concepts in pharmacoepidemiology (10 hrs)
Ch 2 basic concepts in pharmacoepidemiology (10 hrs)Ch 2 basic concepts in pharmacoepidemiology (10 hrs)
Ch 2 basic concepts in pharmacoepidemiology (10 hrs)
University of Gondar
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
nszakir
 
There’s No Escape from External Validity – Reporting Habits of Randomized Con...
There’s No Escape from External Validity – Reporting Habits of Randomized Con...There’s No Escape from External Validity – Reporting Habits of Randomized Con...
There’s No Escape from External Validity – Reporting Habits of Randomized Con...
Stockholm Institute of Transition Economics
 
NORMAN, ELTON_BTM7303-12-82NORMAN, ELTON_BTM7303-12-81.docx
NORMAN, ELTON_BTM7303-12-82NORMAN, ELTON_BTM7303-12-81.docxNORMAN, ELTON_BTM7303-12-82NORMAN, ELTON_BTM7303-12-81.docx
NORMAN, ELTON_BTM7303-12-82NORMAN, ELTON_BTM7303-12-81.docx
picklesvalery
 
QUESTION 11. Place the following 5 overarching steps in a resear.docx
QUESTION 11. Place the following 5 overarching steps in a resear.docxQUESTION 11. Place the following 5 overarching steps in a resear.docx
QUESTION 11. Place the following 5 overarching steps in a resear.docx
makdul
 
EBM_2016.pdf
EBM_2016.pdfEBM_2016.pdf
EBM_2016.pdf
mernahazazah
 
N#05
N#05N#05
Introduction to Clinical Epidemiology (401173) FINAL ASSIGNMENT
Introduction to Clinical Epidemiology (401173) FINAL ASSIGNMENTIntroduction to Clinical Epidemiology (401173) FINAL ASSIGNMENT
Introduction to Clinical Epidemiology (401173) FINAL ASSIGNMENT
hildredzr1di
 

Similar to STA10lecture21.pdf (20)

Chapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testingChapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testing
 
Hypothesis test
Hypothesis testHypothesis test
Hypothesis test
 
Aron chpt 5 ed revised
Aron chpt 5 ed revisedAron chpt 5 ed revised
Aron chpt 5 ed revised
 
Aron chpt 5 ed
Aron chpt 5 edAron chpt 5 ed
Aron chpt 5 ed
 
The Research Process
The Research ProcessThe Research Process
The Research Process
 
Sample size calculation
Sample size calculationSample size calculation
Sample size calculation
 
Brmedj00047 0038
Brmedj00047 0038Brmedj00047 0038
Brmedj00047 0038
 
1. In a study, 28 adults with mild periodontal disease are assesse
1. In a study, 28 adults with mild periodontal disease are assesse1. In a study, 28 adults with mild periodontal disease are assesse
1. In a study, 28 adults with mild periodontal disease are assesse
 
Research methodology 101
Research methodology 101Research methodology 101
Research methodology 101
 
Statistical and critical thinking
Statistical and critical thinkingStatistical and critical thinking
Statistical and critical thinking
 
UkNSCC 2016 CochraneTAG workshop
UkNSCC 2016 CochraneTAG workshopUkNSCC 2016 CochraneTAG workshop
UkNSCC 2016 CochraneTAG workshop
 
Cohort studies
Cohort studiesCohort studies
Cohort studies
 
Ch 2 basic concepts in pharmacoepidemiology (10 hrs)
Ch 2 basic concepts in pharmacoepidemiology (10 hrs)Ch 2 basic concepts in pharmacoepidemiology (10 hrs)
Ch 2 basic concepts in pharmacoepidemiology (10 hrs)
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
 
There’s No Escape from External Validity – Reporting Habits of Randomized Con...
There’s No Escape from External Validity – Reporting Habits of Randomized Con...There’s No Escape from External Validity – Reporting Habits of Randomized Con...
There’s No Escape from External Validity – Reporting Habits of Randomized Con...
 
NORMAN, ELTON_BTM7303-12-82NORMAN, ELTON_BTM7303-12-81.docx
NORMAN, ELTON_BTM7303-12-82NORMAN, ELTON_BTM7303-12-81.docxNORMAN, ELTON_BTM7303-12-82NORMAN, ELTON_BTM7303-12-81.docx
NORMAN, ELTON_BTM7303-12-82NORMAN, ELTON_BTM7303-12-81.docx
 
QUESTION 11. Place the following 5 overarching steps in a resear.docx
QUESTION 11. Place the following 5 overarching steps in a resear.docxQUESTION 11. Place the following 5 overarching steps in a resear.docx
QUESTION 11. Place the following 5 overarching steps in a resear.docx
 
EBM_2016.pdf
EBM_2016.pdfEBM_2016.pdf
EBM_2016.pdf
 
N#05
N#05N#05
N#05
 
Introduction to Clinical Epidemiology (401173) FINAL ASSIGNMENT
Introduction to Clinical Epidemiology (401173) FINAL ASSIGNMENTIntroduction to Clinical Epidemiology (401173) FINAL ASSIGNMENT
Introduction to Clinical Epidemiology (401173) FINAL ASSIGNMENT
 

More from Jorge Vega Rodríguez

sesion1.ppt
sesion1.pptsesion1.ppt
Part-6-1-D-Motion-Free Fall-Physics 101.pdf
Part-6-1-D-Motion-Free Fall-Physics 101.pdfPart-6-1-D-Motion-Free Fall-Physics 101.pdf
Part-6-1-D-Motion-Free Fall-Physics 101.pdf
Jorge Vega Rodríguez
 
Vocabulaire Essentiel Du Francais Livre A1A2 ( etc.) (z-lib.org)(1).PDF
Vocabulaire Essentiel Du Francais Livre A1A2 ( etc.) (z-lib.org)(1).PDFVocabulaire Essentiel Du Francais Livre A1A2 ( etc.) (z-lib.org)(1).PDF
Vocabulaire Essentiel Du Francais Livre A1A2 ( etc.) (z-lib.org)(1).PDF
Jorge Vega Rodríguez
 
hypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdfhypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdf
Jorge Vega Rodríguez
 
series.pdf
series.pdfseries.pdf
One-tailed-Test-or-Two-tailed-Test(1).pdf
One-tailed-Test-or-Two-tailed-Test(1).pdfOne-tailed-Test-or-Two-tailed-Test(1).pdf
One-tailed-Test-or-Two-tailed-Test(1).pdf
Jorge Vega Rodríguez
 
One-tailed-Test-or-Two-tailed-Test.pdf
One-tailed-Test-or-Two-tailed-Test.pdfOne-tailed-Test-or-Two-tailed-Test.pdf
One-tailed-Test-or-Two-tailed-Test.pdf
Jorge Vega Rodríguez
 
Gerstman_PP09.ppt
Gerstman_PP09.pptGerstman_PP09.ppt
Gerstman_PP09.ppt
Jorge Vega Rodríguez
 
decimals-comp-packet.pdf
decimals-comp-packet.pdfdecimals-comp-packet.pdf
decimals-comp-packet.pdf
Jorge Vega Rodríguez
 
Leitfaden-zur-Analyse-von-Gedichten_10_2016.pdf
Leitfaden-zur-Analyse-von-Gedichten_10_2016.pdfLeitfaden-zur-Analyse-von-Gedichten_10_2016.pdf
Leitfaden-zur-Analyse-von-Gedichten_10_2016.pdf
Jorge Vega Rodríguez
 
sucesiones.pdf
sucesiones.pdfsucesiones.pdf
sucesiones.pdf
Jorge Vega Rodríguez
 
HypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdfHypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdf
Jorge Vega Rodríguez
 

More from Jorge Vega Rodríguez (20)

sesion1.ppt
sesion1.pptsesion1.ppt
sesion1.ppt
 
uebersicht.ppt
uebersicht.pptuebersicht.ppt
uebersicht.ppt
 
gedaempft.ppt
gedaempft.pptgedaempft.ppt
gedaempft.ppt
 
erzwungen.ppt
erzwungen.ppterzwungen.ppt
erzwungen.ppt
 
harmonisch.ppt
harmonisch.pptharmonisch.ppt
harmonisch.ppt
 
Part-6-1-D-Motion-Free Fall-Physics 101.pdf
Part-6-1-D-Motion-Free Fall-Physics 101.pdfPart-6-1-D-Motion-Free Fall-Physics 101.pdf
Part-6-1-D-Motion-Free Fall-Physics 101.pdf
 
Vocabulaire Essentiel Du Francais Livre A1A2 ( etc.) (z-lib.org)(1).PDF
Vocabulaire Essentiel Du Francais Livre A1A2 ( etc.) (z-lib.org)(1).PDFVocabulaire Essentiel Du Francais Livre A1A2 ( etc.) (z-lib.org)(1).PDF
Vocabulaire Essentiel Du Francais Livre A1A2 ( etc.) (z-lib.org)(1).PDF
 
FRD.pdf
FRD.pdfFRD.pdf
FRD.pdf
 
hypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdfhypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdf
 
series.pdf
series.pdfseries.pdf
series.pdf
 
One-tailed-Test-or-Two-tailed-Test(1).pdf
One-tailed-Test-or-Two-tailed-Test(1).pdfOne-tailed-Test-or-Two-tailed-Test(1).pdf
One-tailed-Test-or-Two-tailed-Test(1).pdf
 
gedichtanalyse.pdf
gedichtanalyse.pdfgedichtanalyse.pdf
gedichtanalyse.pdf
 
Moderne Physik.pdf
Moderne Physik.pdfModerne Physik.pdf
Moderne Physik.pdf
 
One-tailed-Test-or-Two-tailed-Test.pdf
One-tailed-Test-or-Two-tailed-Test.pdfOne-tailed-Test-or-Two-tailed-Test.pdf
One-tailed-Test-or-Two-tailed-Test.pdf
 
Gerstman_PP09.ppt
Gerstman_PP09.pptGerstman_PP09.ppt
Gerstman_PP09.ppt
 
decimals-comp-packet.pdf
decimals-comp-packet.pdfdecimals-comp-packet.pdf
decimals-comp-packet.pdf
 
Leitfaden-zur-Analyse-von-Gedichten_10_2016.pdf
Leitfaden-zur-Analyse-von-Gedichten_10_2016.pdfLeitfaden-zur-Analyse-von-Gedichten_10_2016.pdf
Leitfaden-zur-Analyse-von-Gedichten_10_2016.pdf
 
sucesiones.pdf
sucesiones.pdfsucesiones.pdf
sucesiones.pdf
 
HypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdfHypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdf
 
Gedichtanalyse.pdf
Gedichtanalyse.pdfGedichtanalyse.pdf
Gedichtanalyse.pdf
 

Recently uploaded

Top Challenges Faced by High-Risk Merchants and How to Overcome Them.pptx
Top Challenges Faced by High-Risk Merchants and How to Overcome Them.pptxTop Challenges Faced by High-Risk Merchants and How to Overcome Them.pptx
Top Challenges Faced by High-Risk Merchants and How to Overcome Them.pptx
Merchantech - Payment Processing Services
 
Comprehensive Water Damage Restoration Services
Comprehensive Water Damage Restoration ServicesComprehensive Water Damage Restoration Services
Comprehensive Water Damage Restoration Services
kleenupdisaster
 
All Trophies at Trophy-World Malaysia | Custom Trophies & Plaques Supplier
All Trophies at Trophy-World Malaysia | Custom Trophies & Plaques SupplierAll Trophies at Trophy-World Malaysia | Custom Trophies & Plaques Supplier
All Trophies at Trophy-World Malaysia | Custom Trophies & Plaques Supplier
Trophy-World Malaysia Your #1 Rated Trophy Supplier
 
Best steel industrial company LLC in UAE
Best steel industrial company LLC in UAEBest steel industrial company LLC in UAE
Best steel industrial company LLC in UAE
alafnanmetals
 
Bridging the Language Gap The Power of Simultaneous Interpretation in Rwanda
Bridging the Language Gap The Power of Simultaneous Interpretation in RwandaBridging the Language Gap The Power of Simultaneous Interpretation in Rwanda
Bridging the Language Gap The Power of Simultaneous Interpretation in Rwanda
Kasuku Translation Ltd
 
Greeting powerpoint slide for kids( 4-6 years old)
Greeting powerpoint slide for kids( 4-6 years old)Greeting powerpoint slide for kids( 4-6 years old)
Greeting powerpoint slide for kids( 4-6 years old)
lenguyenthaotrang663
 
Understanding Love Compatibility or Synastry: Why It Matters
Understanding Love Compatibility or Synastry: Why It MattersUnderstanding Love Compatibility or Synastry: Why It Matters
Understanding Love Compatibility or Synastry: Why It Matters
AstroForYou
 
Sustainable Solutions for Chemical Waste Disposal by Summerland Environmental...
Sustainable Solutions for Chemical Waste Disposal by Summerland Environmental...Sustainable Solutions for Chemical Waste Disposal by Summerland Environmental...
Sustainable Solutions for Chemical Waste Disposal by Summerland Environmental...
Summerland Environmental
 
Siddhivinayak temple timings Houston, TX
Siddhivinayak temple timings Houston, TXSiddhivinayak temple timings Houston, TX
Siddhivinayak temple timings Houston, TX
gaurisiddhivinayakte
 
WORK PERMIT IN NORWAY | WORK VISA SERVICE
WORK  PERMIT  IN  NORWAY | WORK VISA SERVICEWORK  PERMIT  IN  NORWAY | WORK VISA SERVICE
WORK PERMIT IN NORWAY | WORK VISA SERVICE
RKIMT
 
Expert Tips for Pruning Your Plants.pdf.
Expert Tips for Pruning Your Plants.pdf.Expert Tips for Pruning Your Plants.pdf.
Expert Tips for Pruning Your Plants.pdf.
Local Gardeners
 
3 Examples of new capital gains taxes in Canada
3 Examples of new capital gains taxes in Canada3 Examples of new capital gains taxes in Canada
3 Examples of new capital gains taxes in Canada
Lakshay Gandhi
 
Electrical Testing Lab Services in Dubai.pdf
Electrical Testing Lab Services in Dubai.pdfElectrical Testing Lab Services in Dubai.pdf
Electrical Testing Lab Services in Dubai.pdf
sandeepmetsuae
 
Copy Trading Forex Brokers 2024 ptx
Copy Trading Forex Brokers 2024      ptxCopy Trading Forex Brokers 2024      ptx
Copy Trading Forex Brokers 2024 ptx
Brokerreviewfx
 
DOJO Training Center - Empowering Workforce Excellence
DOJO Training Center - Empowering Workforce ExcellenceDOJO Training Center - Empowering Workforce Excellence
DOJO Training Center - Empowering Workforce Excellence
Himanshu
 
Satrya Jaya Mulia - Company Profile - 2024 - CS PROJECT.pptx
Satrya Jaya Mulia - Company Profile - 2024 - CS PROJECT.pptxSatrya Jaya Mulia - Company Profile - 2024 - CS PROJECT.pptx
Satrya Jaya Mulia - Company Profile - 2024 - CS PROJECT.pptx
RichoRamadhan2
 
Solar Panel For Home Price List In india
Solar Panel For Home Price List In indiaSolar Panel For Home Price List In india
Solar Panel For Home Price List In india
janhaviconaxweb
 
Emmanuel Katto Uganda - A Philanthropist
Emmanuel Katto Uganda - A PhilanthropistEmmanuel Katto Uganda - A Philanthropist
Emmanuel Katto Uganda - A Philanthropist
Marina Costa
 
Office Business Furnishings | Office Equipment
Office Business Furnishings |  Office EquipmentOffice Business Furnishings |  Office Equipment
Office Business Furnishings | Office Equipment
OFWD
 
METS Lab SASO Certificate Services in Dubai.pdf
METS Lab SASO Certificate Services in Dubai.pdfMETS Lab SASO Certificate Services in Dubai.pdf
METS Lab SASO Certificate Services in Dubai.pdf
sandeepmetsuae
 

Recently uploaded (20)

Top Challenges Faced by High-Risk Merchants and How to Overcome Them.pptx
Top Challenges Faced by High-Risk Merchants and How to Overcome Them.pptxTop Challenges Faced by High-Risk Merchants and How to Overcome Them.pptx
Top Challenges Faced by High-Risk Merchants and How to Overcome Them.pptx
 
Comprehensive Water Damage Restoration Services
Comprehensive Water Damage Restoration ServicesComprehensive Water Damage Restoration Services
Comprehensive Water Damage Restoration Services
 
All Trophies at Trophy-World Malaysia | Custom Trophies & Plaques Supplier
All Trophies at Trophy-World Malaysia | Custom Trophies & Plaques SupplierAll Trophies at Trophy-World Malaysia | Custom Trophies & Plaques Supplier
All Trophies at Trophy-World Malaysia | Custom Trophies & Plaques Supplier
 
Best steel industrial company LLC in UAE
Best steel industrial company LLC in UAEBest steel industrial company LLC in UAE
Best steel industrial company LLC in UAE
 
Bridging the Language Gap The Power of Simultaneous Interpretation in Rwanda
Bridging the Language Gap The Power of Simultaneous Interpretation in RwandaBridging the Language Gap The Power of Simultaneous Interpretation in Rwanda
Bridging the Language Gap The Power of Simultaneous Interpretation in Rwanda
 
Greeting powerpoint slide for kids( 4-6 years old)
Greeting powerpoint slide for kids( 4-6 years old)Greeting powerpoint slide for kids( 4-6 years old)
Greeting powerpoint slide for kids( 4-6 years old)
 
Understanding Love Compatibility or Synastry: Why It Matters
Understanding Love Compatibility or Synastry: Why It MattersUnderstanding Love Compatibility or Synastry: Why It Matters
Understanding Love Compatibility or Synastry: Why It Matters
 
Sustainable Solutions for Chemical Waste Disposal by Summerland Environmental...
Sustainable Solutions for Chemical Waste Disposal by Summerland Environmental...Sustainable Solutions for Chemical Waste Disposal by Summerland Environmental...
Sustainable Solutions for Chemical Waste Disposal by Summerland Environmental...
 
Siddhivinayak temple timings Houston, TX
Siddhivinayak temple timings Houston, TXSiddhivinayak temple timings Houston, TX
Siddhivinayak temple timings Houston, TX
 
WORK PERMIT IN NORWAY | WORK VISA SERVICE
WORK  PERMIT  IN  NORWAY | WORK VISA SERVICEWORK  PERMIT  IN  NORWAY | WORK VISA SERVICE
WORK PERMIT IN NORWAY | WORK VISA SERVICE
 
Expert Tips for Pruning Your Plants.pdf.
Expert Tips for Pruning Your Plants.pdf.Expert Tips for Pruning Your Plants.pdf.
Expert Tips for Pruning Your Plants.pdf.
 
3 Examples of new capital gains taxes in Canada
3 Examples of new capital gains taxes in Canada3 Examples of new capital gains taxes in Canada
3 Examples of new capital gains taxes in Canada
 
Electrical Testing Lab Services in Dubai.pdf
Electrical Testing Lab Services in Dubai.pdfElectrical Testing Lab Services in Dubai.pdf
Electrical Testing Lab Services in Dubai.pdf
 
Copy Trading Forex Brokers 2024 ptx
Copy Trading Forex Brokers 2024      ptxCopy Trading Forex Brokers 2024      ptx
Copy Trading Forex Brokers 2024 ptx
 
DOJO Training Center - Empowering Workforce Excellence
DOJO Training Center - Empowering Workforce ExcellenceDOJO Training Center - Empowering Workforce Excellence
DOJO Training Center - Empowering Workforce Excellence
 
Satrya Jaya Mulia - Company Profile - 2024 - CS PROJECT.pptx
Satrya Jaya Mulia - Company Profile - 2024 - CS PROJECT.pptxSatrya Jaya Mulia - Company Profile - 2024 - CS PROJECT.pptx
Satrya Jaya Mulia - Company Profile - 2024 - CS PROJECT.pptx
 
Solar Panel For Home Price List In india
Solar Panel For Home Price List In indiaSolar Panel For Home Price List In india
Solar Panel For Home Price List In india
 
Emmanuel Katto Uganda - A Philanthropist
Emmanuel Katto Uganda - A PhilanthropistEmmanuel Katto Uganda - A Philanthropist
Emmanuel Katto Uganda - A Philanthropist
 
Office Business Furnishings | Office Equipment
Office Business Furnishings |  Office EquipmentOffice Business Furnishings |  Office Equipment
Office Business Furnishings | Office Equipment
 
METS Lab SASO Certificate Services in Dubai.pdf
METS Lab SASO Certificate Services in Dubai.pdfMETS Lab SASO Certificate Services in Dubai.pdf
METS Lab SASO Certificate Services in Dubai.pdf
 

STA10lecture21.pdf

  • 1. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. Hypothesis Testing – Examples and Case Studies Chapter 23
  • 2. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 2 23.1 How Hypothesis Tests Are Reported in the News 1. Determine the null hypothesis and the alternative hypothesis. 2. Collect and summarize the data into a test statistic. 3. Use the test statistic to determine the p-value. 4. The result is statistically significant if the p-value is less than or equal to the level of significance. Often media only presents results of step 4.
  • 3. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 3 23.2 Testing Hypotheses About Proportions and Means If the null and alternative hypotheses are expressed in terms of a population proportion, mean, or difference between two means and if the sample sizes are large … … the test statistic is simply the corresponding standardized score computed assuming the null hypothesis is true; and the p-value is found from a table of percentiles for standardized scores.
  • 4. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 4 Example 2: Weight Loss for Diet vs Exercise Diet Only: sample mean = 5.9 kg sample standard deviation = 4.1 kg sample size = n = 42 standard error = SEM1 = 4.1/ √42 = 0.633 Exercise Only: sample mean = 4.1 kg sample standard deviation = 3.7 kg sample size = n = 47 standard error = SEM2 = 3.7/ √47 = 0.540 Did dieters lose more fat than the exercisers? measure of variability = [(0.633)2 + (0.540)2] = 0.83
  • 5. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 5 Example 2: Weight Loss for Diet vs Exercise The sample mean difference = 5.9 – 4.1 = 1.8 kg and the standard error of the difference is 0.83. Step 1. Determine the null and alternative hypotheses. Null hypothesis: No difference in average fat lost in population for two methods. Population mean difference is zero. Alternative hypothesis: There is a difference in average fat lost in population for two methods. Population mean difference is not zero. Step 2. Collect and summarize data into a test statistic. So the test statistic: z = 1.8 – 0 = 2.17 0.83
  • 6. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 6 Example 2: Weight Loss for Diet vs Exercise Step 3. Determine the p-value. Recall the alternative hypothesis was two-sided. p-value = 2 × [proportion of bell-shaped curve above 2.17] Table 8.1 => proportion is about 2 × 0.015 = 0.03. Step 4. Make a decision. The p-value of 0.03 is less than or equal to 0.05, so … • If really no difference between dieting and exercise as fat loss methods, would see such an extreme result only 3% of the time, or 3 times out of 100. • Prefer to believe truth does not lie with null hypothesis. We conclude that there is a statistically significant difference between average fat loss for the two methods.
  • 7. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 7 Example 3: Public Opinion About President On May 16, 1994, Newsweek reported the results of a public opinion poll that asked: “From everything you know about Bill Clinton, does he have the honesty and integrity you expect in a president?” (p. 23). Poll surveyed 518 adults and 233, or 0.45 of them (clearly less than half), answered yes. Could Clinton’s adversaries conclude from this that only a minority (less than half) of the population of Americans thought Clinton had the honesty and integrity to be president?
  • 8. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 8 Example 3: Public Opinion About President Step 1. Determine the null and alternative hypotheses. Null hypothesis: There is no clear winning opinion on this issue; the proportions who would answer yes or no are each 0.50. Alternative hypothesis: Fewer than 0.50, or 50%, of the population would answer yes to this question. The majority do not think Clinton has the honesty and integrity to be president. Step 2. Collect and summarize data into a test statistic. Sample proportion is: 233/518 = 0.45. The standard deviation = (0.50) × (1 – 0.50) = 0.022. 518 Test statistic: z = (0.45 – 0.50)/0.022 = –2.27
  • 9. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 9 Example 3: Public Opinion About President Step 3. Determine the p-value. Recall the alternative hypothesis was one-sided. p-value = proportion of bell-shaped curve below –2.27 Exact p-value = 0.0116. Step 4. Make a decision. The p-value of 0.0116 is less than 0.05, so we conclude that the proportion of American adults in 1994 who believed Bill Clinton had the honesty and integrity they expected in a president was significantly less than a majority.
  • 10. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 10 23.3 Revisiting Case Studies: How Journals Present Tests Whereas newspapers and magazines tend to simply report the decision from hypothesis testing, journals tend to report p-values as well. This allows you to make your own decision, based on the severity of a type 1 error and the magnitude of the p-value.
  • 11. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 11 Case Study 5.1: Quitting Smoking with Nicotine Patches Compared the smoking cessation rates for smokers randomly assigned to use a nicotine patch versus a placebo patch. Null hypothesis: The proportion of smokers in the population who would quit smoking using a nicotine patch and a placebo patch are the same. Alternative hypothesis: The proportion of smokers in the population who would quit smoking using a nicotine patch is higher than the proportion who would quit using a placebo patch.
  • 12. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 12 Case Study 5.1: Quitting Smoking with Nicotine Patches Higher smoking cessation rates were observed in the active nicotine patch group at 8 weeks (46.7% vs 20%) (P < .001) and at 1 year (27.5% vs 14.2%) (P = .011). (Hurt et al., 1994, p. 595) Conclusion: p-values are quite small: less than 0.001 for difference after 8 weeks and equal to 0.011 for difference after a year. Therefore, rates of quitting are significantly higher using a nicotine patch than using a placebo patch after 8 weeks and after 1 year.
  • 13. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 13 Case Study 6.4: Smoking During Pregnancy and Child’s IQ Study investigated impact of maternal smoking on subsequent IQ of child at ages 1, 2, 3, and 4 years of age. Null hypothesis: Mean IQ scores for children whose mothers smoke 10 or more cigarettes a day during pregnancy are same as mean for those whose mothers do not smoke, in populations similar to one from which this sample was drawn. Alternative hypothesis: Mean IQ scores for children whose mothers smoke 10 or more cigarettes a day during pregnancy are not the same as mean for those whose mothers do not smoke, in populations similar to one from which this sample was drawn.
  • 14. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 14 Case Study 6.4: Smoking During Pregnancy and Child’s IQ Children born to women who smoked 10+ cigarettes per day during pregnancy had developmental quotients at 12 and 24 months of age that were 6.97 points lower (averaged across these two time points) than children born to women who did not smoke during pregnancy (95% CI: 1.62,12.31, P = .01); at 36 and 48 months they were 9.44 points lower (95% CI: 4.52, 14.35, P = .0002). (Olds et al., 1994, p. 223) Researchers conducted two-tailed tests for possibility the mean IQ score could actually be higher for those whose mothers smoke. The CI provides evidence of the direction in which the difference falls. The p-value simply tells us there is a statistically significant difference.
  • 15. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 15 For Those Who Like Formulas
  • 16. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 16 For Those Who Like Formulas
  • 17. Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. 17 For Those Who Like Formulas