Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.

Slides:



Advertisements
Similar presentations
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)
Advertisements

Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Chap 9-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Basic Business Statistics 12 th Edition Chapter 9 Fundamentals of Hypothesis.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 9-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Chapter 8 Introduction to Hypothesis Testing
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Chapter 10 Hypothesis Testing
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
9-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Statistics for Managers using Microsoft Excel 6 th Edition Chapter 9 Fundamentals.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Ch. 9 Fundamental of Hypothesis Testing
Chapter 8 Introduction to Hypothesis Testing
BCOR 1020 Business Statistics
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Chapter Ten Introduction to Hypothesis Testing. Copyright © Houghton Mifflin Company. All rights reserved.Chapter New Statistical Notation The.
Overview of Statistical Hypothesis Testing: The z-Test
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Hypothesis Testing.
Tuesday, September 10, 2013 Introduction to hypothesis testing.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Fundamentals of Hypothesis Testing: One-Sample Tests
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
Chapter 9 Hypothesis Testing: Single Population
Chapter 10 Hypothesis Testing
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Statistical Inference
Topic 8 Hypothesis Testing Mathematics & Statistics Statistics.
Copyright ©2011 Pearson Education 9-1 Statistics for Managers using Microsoft Excel 6 th Global Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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 Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
© Copyright McGraw-Hill 2004
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
Introduction to Hypothesis Testing
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.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
© 2010 Pearson Prentice Hall. All rights reserved STA220: Formulating Hypotheses and Setting Up the Rejection Region.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 9 Hypothesis Testing: Single Population
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Chapter 9 Hypothesis Testing: Single Population
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ

Single Population/Sample Hypothesis Testing: What are you trying to do? –Have parameters (mean, standard deviation) for the population (“truth”) µ, σ –Have sampled data and associated summary statistics X_bar, s –Want to know if the sample is statistically significantly different from the population Can’t simply compare the means Need to allow for that the sample’s mean can vary from 1 sample to the next, i.e., allow for variability Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-2

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-3 Hypothesis Testing for Single Populations - How do we allow for variability? - Depends on what we know about the data Population Mean σ Unknown Hypothesis Testing Population Proportion σ Known Section 9.2 Section 9.4 Section 9.3

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-4 A hypothesis is an assumption about a population parameter such as a mean or a proportion Example: population mean –The mean data use for smartphone users is μ = 1.8 gigabytes per month Example: population proportion –The proportion of cell phone users with 4G contracts is π = An Introduction to Hypothesis Testing

Stating the Hypothesis Every hypothesis test has both a null hypothesis and an alternative hypothesis The null hypothesis (H 0 ) represents the status quo –States a belief that the population parameter is ≤, =, or ≥ a specific value –The null hypothesis is believed to be true unless there is overwhelming evidence to the contrary The alternative hypothesis (H 1 ) represents the opposite of the null hypothesis –Is believed to be true if the null hypothesis is found to be false –The alternative hypothesis always states that the population parameter is >, ≠, or < a specific value Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-5

Stating the Hypothesis Stating the null and alternative hypotheses depends on the nature of the test and the motivation of the person conducting it Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-6 H 0 : μ ≥ 1.8 H 1 : μ < 1.8 H 0 : μ ≤ 1.8 H 1 : μ > 1.8 H 0 : μ = 1.8 H 1 : μ ≠ 1.8 This test would be used by someone who thinks that data use has gone up, and wants to support that the average data use is now more than 1.8 gigabytes per month This would be used by someone who wants to test an assumption that data use has gone down (rejecting the null hypothesis would support the alternative that the average data use is less than 1.8 gigabytes per month) This test would be used by someone who has no specific expectation, but wants to test the assumption that the average data use is 1.8 gigabytes per month

Two-Tail Hypothesis Tests A two-tail hypothesis test is used whenever the alternative hypothesis is expressed as ≠ Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-7 H 0 : μ = 1.8 H 1 : μ ≠ 1.8 We assume that μ = 1.8 unless the sample mean is much higher or much lower than 1.8 Reject H 0 Do not reject H 0 Reject H 0 Do not reject H 0 1.8

One-Tail Hypothesis Tests A one-tail hypothesis test is used when the alternative hypothesis is stated as Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-8 Upper tail test: We assume that μ = 1.8 unless the sample mean is much higher than 1.8 Reject H 0 Do not reject H 0 Reject H 0 Do not reject H H 0 : μ ≥ 1.8 H 1 : μ < 1.8 H 0 : μ ≤ 1.8 H 1 : μ > 1.8 Lower tail test: We assume that μ = 1.8 unless the sample mean is much lower than 1.8 Do not reject H 0 1.8

The Logic of Hypothesis Testing The null hypothesis can never be accepted The only two options available are to (1) reject the null hypothesis, or (2) fail to reject the null hypothesis The null hypothesis is tested using sample data –The sample result provides enough evidence to reject the null or does not provide enough evidence to reject Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-9

The Difference Between Type I and Type II Errors Sample evidence is not perfect due to sampling error, so a conclusion about the population can be wrong A Type I error occurs when the null hypothesis is rejected when it is true –The probability of making a Type I error is known as α, the level of significance A Type II error occurs when we fail to reject the null hypothesis when it is not true –The probability of making a Type II error is known as β Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-10

Calculating the Probability of Type II Errors Occurring Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-11 Reject H 0 :   50 Do not reject H 0 :   α = 0.05 Example: Suppose we fail to reject H 0 : μ ≥ 50 when in fact the true mean is μ = 52 This is the actual distribution of if  = 52 This is the range of where H 0 is not rejected

Decision Rules for the Two Types of Hypothesis Errors Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-12 Actual State of H 0 Decision Reject H 0 Type I Error P(Type I Error) = Type II Error P(Type II Error) = β Do Not Reject H 0 Possible Hypothesis Test Outcomes H 0 is False H 0 is True Correct Outcome The Difference Between Type I and Type II Errors

When doing a hypothesis test, decide on a value for α before selecting the sample Once α has been set, the value of β can be calculated For a given sample size, reducing the value of α will result in an increase in the value of (or the opposite, α ↑ → β ↓) The only way to reduce both α and β simultaneously is to increase the sample size Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-13 The Difference Between Type I and Type II Errors

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Hypothesis Testing for the Population Mean when σ is Known Population Mean σ Unknown Hypothesis Testing Population Proportion σ Known Section 9.2

Hypothesis testing when σ is known: 1.If the sample size is small (n < 30) the population must follow the normal distribution 2. If the sample size is large (n ≥ 30) the Central Limit Theorem states that the sampling distribution follows the normal distribution, so there is no restriction on the population distribution Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-15 Hypothesis Testing for the Population Mean when σ is Known

An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: A new CFL bulb is claimed to have an average life that exceeds 8,000 hours –Suppose the average life of a random sample of 36 of the new bulbs is 8,120 hours –Assume that the population standard deviation for the life of CFL bulbs is 500 hours The following slides show six steps to complete this hypothesis test Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-16

An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 1: Identify the null and alternative hypotheses H 0 : μ ≤ 8,000 hours (status quo: average life is not greater than 8,000 hours) H 1 : μ > 8,000 hours (the new bulb does last longer than 8,000 hours) Step 2: Set a value for the significance level, α –The level of significance represents the probability of making a Type I error –Suppose that α = 0.05 is chosen Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-17

An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 3: Determine the appropriate critical value –σ is known so use a z-score; the critical z-score identifies the rejection region for this one-tail test –Since this is a one-tail test the entire area for α = 0.05 is placed on the right side (upper tail) of the sampling distribution: Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-18 Reject H 0 α = 0.05 Do not reject H 0 8,

An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 4: Calculate the appropriate test statistic Formula for the z-test statistic for a hypothesis test for the population mean (when σ is known): Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-19 where: = The z-test statistic = The sample mean = The mean of the sampling distribution, which is assumed to be true for the null hypothesis σ = The standard deviation of the population n = The sample size

An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 4: Calculate the appropriate test statistic Step 5: Compare the z-test statistic with the critical z-score –For a one-tail upper tail test, reject the null hypothesis if > –Here, 1.44 is not greater than 1.645, so do not reject H 0 –(Illustrated on the next slide) Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-20

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-21 Do not reject H 0 8,000 Reject H 0 α = 0.05 is not greater than = 1.645, so do not reject H 0 An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Step 5: (continued)

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-22 An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Rule for this example

An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 5a: (Optional) Compare the sample mean with the critical sample mean The critical sample mean,, is the sample mean that marks the boundary of the rejection region Formula for the critical sample mean for a hypothesis test for the population mean (when σ is known) Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-23

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-24 Do not reject H 0 8,000 Reject H 0 α = 0.05 An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Step 5a: (continued) The sample result of 8,120 is not greater than 8,137.1, so do not reject H 0

An Example of a One-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 6: (Final Step) State the conclusion According to our sample of 36 new CFL bulbs, there is not enough evidence to support Edalight’s claim that the average life of these bulbs exceeds 8,000 hours. Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-25

The p-value Approach to Hypothesis Testing: One- Tail Tests The p-value is the probability of observing a sample mean at least as extreme as the one selected for the hypothesis test, assuming the null hypothesis is true The p-value is sometimes referred to as the observed level of significance Provides a third approach to deciding whether or not to reject the null hypothesis Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-26

Use the CFL bulb example to illustrate: –Claim: μ ≥ 8,000 –Sample result: n = 36; = 8,120 –σ = 500 was assumed known The p-value represents the probability of obtaining a sample mean of 8,120 hours or greater if the true population mean is 8,000 hours Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-27 The p-value Approach to Hypothesis Testing: One- Tail Tests

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall , ,000 α = 0.05 p-value = The p-value Approach to Hypothesis Testing: One- Tail Tests Compare the p-value with α: Since > 0.05, we do not reject H 0

An Example of a Two-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: The mean data use for smartphone users is claimed to be μ = 1.8 gigabytes per month –Suppose data use is recorded for 49 randomly selected smartphone users and the average use is found to be 1.86 gigabytes per month –Assume that the population standard deviation is 0.20 gigabytes per month The following slides show six steps to complete this hypothesis test Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-29

An Example of a Two-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 1: Identify the null and alternative hypotheses H 0 : μ = 1.8 (status quo: average use is 1.8 gigabytes per month) H 1 : μ ≠ 1.8 (average use is not equal to 1.8 gigabytes per month) Step 2: Set a value for the significance level, α –The level of significance represents the probability of making a Type I error, chosen before conducting the hypothesis test –Suppose that α = 0.05 is chosen Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-30

An Example of a Two-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 3: Determine the appropriate critical values –σ is known so use a z-score; the critical z-score identifies the rejection region for this one-tail test –Since this is a two-tail test, α = 0.05 is split evenly into two tails: Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-31 Reject H 0 α/2 = Do not reject H Reject H 0 α/2 = Reject H 0

An Example of a Two-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 4: Calculate the appropriate test statistic Step 5: Compare the z-test statistic with the critical z-score –For a two-tail test, reject the null hypothesis if –Here, 2.10 is greater than 1.96, so reject H 0 –(Illustrated on the next slide) Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-32

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-33 Do not reject H 0 Reject H 0 α/2 = is greater than = 1.96, so reject H 0 An Example of a Two-Tail Hypothesis Test for the Population Mean (When σ Is Known) Step 5: (continued) Reject H 0 α/2 =

An Example of a Two-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 5a: (Optional) Compare the sample mean with the critical sample means A two-tail hypothesis test has two critical means, one on either side of the distribution Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-34

Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-35 An Example of a Two-Tail Hypothesis Test for the Population Mean (When σ Is Known) Step 5a: (continued) is not within the interval (1.744, 1.856), so the null hypothesis is rejected The sample result of 1.86 is greater than 1.856, so reject H 0 Do not reject H 0 Reject H 0 α/2 = Reject H 0 α/2 =

An Example of a Two-Tail Hypothesis Test for the Population Mean (When σ Is Known) Example: (continued) Step 6: (Final Step) State the conclusion Our sample of 49 smartphone users provides sufficient evidence to reject the null hypothesis, so we support the alternative hypothesis that the average data use is not equal to 1.8 gigabytes per month. Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-36

For a two-tail hypothesis test, the p-value is a sum of two tail areas Illustrate using the smartphone example: Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-37 α/2 = Area = α/2 = The p-value Approach to Hypothesis Testing: One- Tail Tests

The Role α Plays in Hypothesis Testing Changing α changes the critical z-score in the hypothesis test, which, in turn, changes the rejection region in the sampling distribution Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-38