Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

Testing a Claim about a Proportion Assumptions 1.The sample was a simple random sample 2.The conditions for a binomial distribution are satisfied 3.Both.
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses Statistics.
Inferences About Process Quality
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
Chapter 8 Inferences Based on a Single Sample: Tests of Hypothesis.
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Adapted by Peter Au, George Brown College McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Testing of Hypothesis Fundamentals of Hypothesis.
Large sample CI for μ Small sample CI for μ Large sample CI for p
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
© Copyright McGraw-Hill 2004
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
© 2010 Pearson Prentice Hall. All rights reserved STA220: Formulating Hypotheses and Setting Up the Rejection Region.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Part 1: Chapters 7 to 9. 95% within 2 standard deviations 68% within 1 standard deviations 99.7% within 3 standard deviations.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Lecture Slides Elementary Statistics Twelfth Edition
Chapter Nine Hypothesis Testing.
Statistics for Business and Economics
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses
Chapter 9 -Hypothesis Testing
Review of Power of a Test
Statistics for Managers Using Microsoft® Excel 5th Edition
One-Sample Tests of Hypothesis
Chapter 9 Hypothesis Testing.
Hypothesis Testing for Proportions
One-Sample Tests of Hypothesis
Chapter 9 Hypothesis Testing: Single Population
Fundamentals of Hypothesis Testing: One-Sample Tests
CONCEPTS OF HYPOTHESIS TESTING
Hypothesis Tests for a Population Mean in Practice
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing.
Chapter 9: Hypothesis Testing
LESSON 20: HYPOTHESIS TESTING
Chapter 9: Hypothesis Tests Based on a Single Sample
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
One-Sample Tests of Hypothesis
Section 11.1: Significance Tests: Basics
Chapter 9 Hypothesis Testing: Single Population
Hypothesis Testing 1 Copyright by Winston S. Sirug, Ph.D.
Presentation transcript:

Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses Statistics Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

Where We’ve Been Calculated point estimators of population parameters. Used the sampling distribution of a statistic to assess the reliability of an estimate through a confidence interval. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

Where We’re Going Test a specific value of a population parameter. Measure the reliability of the test. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses Confidence Interval Where on the number line do the data point us? (No prior idea about the value of the parameter.) µ? µ? Hypothesis Test Do the data point us to this particular value? (We have a value in mind from the outset.) µ0? McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses Null Hypothesis: H0 This will be supported unless the data provide evidence that it is false The status quo Alternative Hypothesis: Ha This will be supported if the data provide sufficient evidence that it is true The research hypothesis McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses If the test statistic has a high probability when H0 is true, then H0 is not rejected. If the test statistic has a (very) low probability when H0 is true, then H0 is rejected. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses Reality ↓ / Test Result → Do not reject H0 Reject H0 H0 is true Correct! Type I Error: rejecting a true null hypothesis P(Type I error) = α H0 is false Type II Error: not rejecting a false null hypothesis P(Type II error) = 1-β McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses Note: Null hypotheses are either rejected, or else there is insufficient evidence to reject them. (i.e., we don’t accept null hypotheses.) McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses Null hypothesis (H0): A theory about the values of one or more parameters. Ex.: H0: µ = µ0 (a specified value for µ) Alternative hypothesis (Ha): Contradicts the null hypothesis Ex.: H0: µ ≠ µ0 Test Statistic: The sample statistic to be used to test the hypothesis. Rejection region: The values for the test statistic which lead to rejection of the null hypothesis. Assumptions: Clear statements about any assumptions concerning the target population. Experiment and calculation of test statistic: The appropriate calculation for the test based on the sample data. Conclusion: Reject the null hypothesis (with possible Type I error) or do not reject it (with possible Type II error). McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses Suppose a new interpretation of the rules by soccer referees is expected to increase the number of yellow cards per game. The average number of yellow cards per game had been 4. A sample of 121 matches produced an average of 4.7 yellow cards per game, with a standard deviation of 0.5 cards. At the 5% significance level, has there been a change in infractions called? McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.1: The Elements of a Test of Hypotheses Ha: µ ≠ 4 Sample statistic:  = 4.7 α = .05 The sample is large, so can assume the sampling distribution is normal. Test statistic: Conclusion: z.05 = 1.96. Since z* > z.05 , reject H0. (That is, there seems to be more yellow cards.) McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.2: Large-Sample Test of a Hypothesis about a Population Mean Ha: µ < µ0 Ha: µ ≠ µ0 Ha: µ > µ0 The null hypothesis is usually stated as an equality … … even though the alternative hypothesis can be either an equality or an inequality. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.2: Large-Sample Test of a Hypothesis about a Population Mean McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.2: Large-Sample Test of a Hypothesis about a Population Mean Rejection Regions for Common Values of α Lower Tailed Upper Tailed Two tailed α = .10 z < - 1.28 z > 1.28 | z | > 1.645 α = .05 z < - 1.645 z > 1.645 | z | > 1.96 α = .01 z < - 2.33 z > 2.33 | z | > 2.575 McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.2: Large-Sample Test of a Hypothesis about a Population Mean One-Tailed Test Two-Tailed Test H0 : µ = µ0 Ha : µ < or > µ0 Test Statistic: Rejection Region: | z | > zα H0 : µ = µ0 Ha : µ ≠ µ0 Test Statistic: Rejection Region: | z | > zα/2 Conditions: 1) A random sample is selected from the target population. 2) The sample size n is large. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.2: Large-Sample Test of a Hypothesis about a Population Mean The Economics of Education Review (Vol. 21, 2002) reported a mean salary for males with postgraduate degrees of $61,340, with an estimated standard error (s ) equal to $2,185. We wish to test, at the α = .05 level, H0: µ = $60,000. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.2: Large-Sample Test of a Hypothesis about a Population Mean Ha : µ ≠ 60,000 Test Statistic: Rejection Region: | z | > z.025 = 1.96 The Economics of Education Review (Vol. 21, 2002) reported a mean salary for males with postgraduate degrees of $61,340, with an estimated standard error (s) equal to $2,185. We wish to test, at the α = .05 level, H0: µ = $60,000. Do not reject H0 McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.3:Observed Significance Levels: p - Values Suppose z = 2.12. P(z > 2.12) = .0170. Reject H0 at the α= .05 level Do not reject H0 at the α= .01 level But it’s pretty close, isn’t it? McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.3:Observed Significance Levels: p - Values The observed significance level, or p-value, for a test is the probability of observing the results actually observed (z*) assuming the null hypothesis is true. The lower this probability, the less likely H0 is true. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.3:Observed Significance Levels: p - Values H0 : µ = 65,000 Ha : µ ≠ 65,000 Test Statistic: p-value: 2 P( > 61,340 |H0 ) = P(|z| > 1.675) = .0475 Let’s go back to the Economics of Education Review report (= $61,340, s = $2,185). This time we’ll test H0: µ = $65,000. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.3:Observed Significance Levels: p - Values Reporting test results Choose the maximum tolerable value of α If the p-value < α, reject H0 If the p-value > α, do not reject H0 McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.3:Observed Significance Levels: p - Values Some stats packages will only report two-tailed p-values. Converting a Two-Tailed p-Value to a One-Tailed p-Value McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.3:Observed Significance Levels: p - Values Some stats packages will only report two-tailed p-values. Converting a Two-Tailed p-Value to a One-Tailed p-Value McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.4: Small-Sample Test of a Hypothesis about a Population Mean If the sample is small and σ is unknown, testing hypotheses about µ requires the t-distribution instead of the z-distribution. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.4: Small-Sample Test of a Hypothesis about a Population Mean One-Tailed Test Two-Tailed Test H0 : µ = µ0 Ha : µ ≠ µ0 Test Statistic: Rejection Region: | t | > tα/2 H0 : µ = µ0 Ha : µ < or > µ0 Test Statistic: Rejection Region: | t | > tα Conditions: 1) A random sample is selected from the target population. 2) The population from which the sample is selected is approximately normal. 3) The value of tα is based on (n – 1) degrees of freedom McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.4: Small-Sample Test of a Hypothesis about a Population Mean Suppose copiers average 100,000 between paper jams. A salesman claims his are better, and offers to leave 5 units for testing. The average number of copies between jams is 100,987, with a standard deviation of 157. Does his claim seem believable? McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.4: Small-Sample Test of a Hypothesis about a Population Mean Suppose copiers average 100,000 between paper jams. A salesman claims his are better, and offers to leave 5 units for testing. The average number of copies between jams is 100,987, with a standard deviation of 157. Does his claim seem believable? H0 : µ = 100,000 Ha : µ > 100,000 Test Statistic: p-value: P(>100,987|H0 ) = P(|tdf=4| > 14.06) < .001 McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.4: Small-Sample Test of a Hypothesis about a Population Mean Suppose copiers average 100,000 between paper jams. A salesman claims his are better, and offers to leave 5 units for testing. The average number of copies between jams is 100,987, with a standard deviation of 157. Does his claim seem believable? H0 : µ = 100,000 Ha : µ > 100,000 Test Statistic: p-value: P(  100,987|H0 ) = P(|tdf=4| > 14.06) < .001 Reject the null hypothesis based on the very low probability of seeing the observed results if the null were true. So, the claim does seem plausible. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.5: Large-Sample Test of a Hypothesis about a Population Proportion One-Tailed Test Two-Tailed Test H0 : p = p0 Ha : p < or > p0 Test Statistic: Rejection Region: | z | > zα H0 : p = p0 Ha : p ≠ p0 Test Statistic: Rejection Region: | z | > zα/2 p0 = hypothesized value of p, , and q0 = 1 - p0 Conditions: 1) A random sample is selected from a binomial population. 2) The sample size n is large (i.e., np0 and nq0 are both  15). McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.5: Large-Sample Test of a Hypothesis about a Population Proportion Rope designed for use in the theatre must withstand unusual stresses. Assume a brand of 3” three-strand rope is expected to have a breaking strength of 1400 lbs. A vendor receives a shipment of rope and needs to (destructively) test it. The vendor will reject any shipment which cannot pass a 1% defect test (that’s harsh, but so is falling scenery during an aria). 1500 sections of rope are tested, with 20 pieces failing the test. At the α = 0.01 level, should the shipment be rejected? McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.5: Large-Sample Test of a Hypothesis about a Population Proportion H0: p = .01 Ha: p > .01 Rejection region: |z| > 2.236 Test statistic: The vendor will reject any shipment that cannot pass a 1% defects test . 1500 sections of rope are tested, with 20 pieces failing the test. At the α = 0.01 level, should the shipment be rejected? McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses

8.5: Large-Sample Test of a Hypothesis about a Population Proportion H0: p = .01 Ha: p > .01 Rejection region: |z| > 2.236 Test statistic: The vendor will reject any shipment that cannot pass a 1% defects test . 1500 sections of rope are tested, with 20 pieces failing the test. At the α = 0.01 level, should the shipment be rejected? There is insufficient evidence to reject the null hypothesis based on the sample results. McClave, Statistics, 11th ed. Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses