Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8.

Slides:



Advertisements
Similar presentations
Chapter 7 Hypothesis Testing
Advertisements

Chapter 8 Hypothesis Testing
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)
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Section 9.1 ~ Fundamentals of Hypothesis Testing Introduction to Probability and Statistics Ms. Young.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Significance Testing Chapter 13 Victor Katch Kinesiology.
Statistical Thinking What Is a Test of Significance?
Hypothesis Tests Chapter 7 Prof. Felix Apfaltrer Office:N518 Phone: Office hours: Tue, Thu 10:30am-12:00 pm.
8-2 Basics of Hypothesis Testing
8-3 Testing a Claim about a Proportion
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Section 7-2 Hypothesis Testing for the Mean (n  30)
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
STATISTICS ELEMENTARY MARIO F. TRIOLA Chapter 7 Hypothesis Testing
Lecture Slides Elementary Statistics Eleventh Edition
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Chapter 8 Hypothesis Testing 8-1 Review and Preview 8-2 Basics of Hypothesis.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Lecture Slides Elementary Statistics Twelfth Edition
Overview Definition Hypothesis
Copyright © 2004 Pearson Education, Inc.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-1 Review and Preview.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Chapter 8 Hypothesis Testing
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-5 Testing a Claim About a Mean:  Not Known.
Overview Basics of Hypothesis Testing
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Section 8-4 Testing a Claim About a Mean:  Known Created by.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Slide Slide 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim about a Proportion 8-4 Testing a Claim About.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 8-3 Testing a Claim About a Proportion.
Slide Slide 1 Section 8-5 Testing a Claim About a Mean:  Not Known.
1 Section 8.3 Testing a claim about a Proportion Objective For a population with proportion p, use a sample (with a sample proportion) to test a claim.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2010, 2007, 2004 Pearson Education, Inc Section 8-2 Basics of Hypothesis Testing.
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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Section 8-2 Basics of Hypothesis Testing.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
SAA 2023 COMPUTATIONALTECHNIQUE FOR BIOSTATISTICS Semester 2 Session 2009/2010 ASSOC. PROF. DR. AHMED MAHIR MOKHTAR BAKRI Faculty of Science and Technology.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
Introduction to Hypothesis Testing
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Lecture Slides Elementary Statistics Twelfth Edition
1 Section 8.2 Basics of Hypothesis Testing Objective For a population parameter (p, µ, σ) we wish to test whether a predicted value is close to the actual.
Copyright© 1998, Triola, Elementary Statistics by Addison Wesley Longman 1 Testing a Claim about a Mean: Large Samples Section 7-3 M A R I O F. T R I O.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics and the Triola Statistics.
Created by Erin Hodgess, Houston, Texas Section 7-1 & 7-2 Overview and Basics of Hypothesis Testing.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Level of Significance Level of significance Your maximum allowable probability of making a type I error. – Denoted by , the lowercase Greek letter alpha.
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Lecture Slides Elementary Statistics Twelfth Edition
Review and Preview and Basics of Hypothesis Testing
Overview and Basics of Hypothesis Testing
Lecture Slides Elementary Statistics Tenth Edition
Lecture Slides Elementary Statistics Twelfth Edition
Testing a Claim About a Mean:  Known
Lecture Slides Essentials of Statistics 4th Edition by Mario F. Triola
Testing a Claim About a Mean:  Known
Civil and Environmental Engineering Dept.
Presentation transcript:

Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8

Slide Slide 2 Section 8-1 Overview Chapter 8

Slide Slide 3 What is a Hypothesis and how do I prove it? In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test (or test of significance) is a standard mathematical procedure for testing a claim about a property of a population. Chapter 8

Slide Slide 4 How we mathematically prove it…. ….using PROBABILITY If, under a given assumption, the probability of a particular observed event is exceptionally small, we conclude that the assumption is probably not correct. Chapter 8

Slide Slide 5 Example: GENDER CHOICE ProCare Industries, Ltd., once provided a product called “Gender Choice,” which, according to advertising claims, allowed couples to “increase your chances of having a boy up to 85%, a girl up to 80%.” Gender Choice was available in blue packages for couples wanting a baby boy and (you guessed it) pink packages for couples wanting a baby girl. Chapter 8

Slide Slide 6 Example: Gender Choice (CON’T) Suppose we conduct an experiment with 100 couples who want to have baby girls, and they all follow the Gender Choice “easy-to-use in-home system” described in the pink package. For the purpose of testing the claim of an increased likelihood for girls, we will assume that Gender Choice has no effect. Using common sense and no formal statistical methods, what should we conclude about the assumption of no effect from Gender Choice if 100 couples using Gender Choice have 100 babies consisting of a) 52 girls?; b) 97 girls? Chapter 8

Slide Slide 7 Example: Gender Choice Solution a)We normally expect around 50 girls in 100 births. The result of 52 girls is close to 50, so we should not conclude that the Gender Choice product is effective. If the 100 couples used no special method of gender selection, the result of 52 girls could easily occur by chance. The assumption of no effect from Gender Choice appears to be correct. There isn’t sufficient evidence to say that Gender Choice is effective. Chapter 8

Slide Slide 8 Example: Gender Choice Solution (Con’t) b) The result of 97 girls in 100 births is extremely unlikely to occur by chance. We could explain the occurrence of 97 girls in one of two ways: Either an extremely rare event has occurred by chance, or Gender Choice is effective. The extremely low probability of getting 97 girls is strong evidence against the assumption that Gender Choice has no effect. It does appear to be effective. Chapter 8

Components of a Formal Hypothesis Test Section 8-2 Basics of Hypothesis Testing

Slide Slide 10 Key Components of a Hypothesis Test  null hypothesis  alternative hypothesis  test statistic  critical region  significance level  critical value  P-value Chapter 8

Slide Slide 11 First Goal:  Given a claim, identify the null hypothesis and the alternative hypothesis, and express them both in symbolic form. Chapter 8

Slide Slide 12 Null Hypothesis: H 0  The null hypothesis (denoted by H 0 ) is a statement that the value of a population parameter (such as proportion p, mean , or standard deviation  ) is equal to some claimed value. H 0 : p = (NUMBER) H 0 :  = (NUMBER) H 0 :  = (NUMBER)  Any decision is always made about the null hypothesis: Either reject H 0 or fail to reject H 0. Chapter 8

Slide Slide 13 Alternative Hypothesis: H 1  The alternative hypothesis (denoted by H 1 or H a or H A ) is the statement that the parameter has a value that somehow differs from the null hypothesis.  The symbolic form of the alternative hypothesis must use one of these symbols: ,. H A : p  or ( Same NUMBER) H A :   or (Same NUMBER) H A :   or (Same NUMBER) Chapter 8

Slide Slide 14 Example: Identify the Null and Alternative Hypothesis. Use the given claims to express the corresponding null and alternative hypotheses in symbolic form. a)The proportion of drivers who admit to running red lights is greater than 0.5. b) The mean height of professional basketball players is at most 7 ft. c) The standard deviation of IQ scores of actors is equal to 15. Chapter 8

Slide Slide 15 Example: Solutions a)H 0 : p = 0.5. H 1 : p > 0.5, and we let p be the true proportion of drivers who admit to running red lights Chapter 8

Slide Slide 16 Example: Solutions b) H 0 : µ = 7 H 1 : µ < 7 and we let µ be the true m ean height of professional basketball players Chapter 8

Slide Slide 17 Example: Solutions c) H 0 :  = 15 H 1 :   15 Where  is the true standard deviation of IQ scores of actors Chapter 8

Slide Slide 18 Section 8-2 Objectives  Given a claim and sample data, calculate the value of the test statistic. Chapter 8

Slide Slide 19 The test statistic is a value used in making a decision about the null hypothesis, and is found by converting the sample statistic to a score with the assumption that the null hypothesis is true. Test Statistic Chapter 8

Slide Slide 20 Test Statistic - Formulas z =z = x - µ x  n Test statistic for mean z = p - p  pq n  Test statistic for proportions

Slide Slide 21 Chapter 8

Slide Slide 22 Solution: The preceding example showed that the given claim results in the following null and alternative hypotheses: H 0 : p = 0.5 and H 1 : p > 0.5. Because we work under the assumption that the null hypothesis is true with p = 0.5, we get the following test statistic: n pq  z = p – p  = ( 0.5)(0.5)  880 = 3.56 Chapter 8

Slide Slide 23 Section 8-2 Objectives  Using a critical value to make a decision. Chapter 8

Slide Slide 24 Critical Region The critical region (or rejection region) is the set of all values of the test statistic that cause us to reject the null hypothesis. Chapter 8

Slide Slide 25 Significance Level The significance level (denoted by  ) is the probability that the test statistic will fall in the critical region when the null hypothesis is actually true. This is the same  introduced in Section 7-2. Common choices for  are 0.05, 0.01, and Chapter 8

Slide Slide 26 Critical Value A critical value is any value that separates the critical region (where we reject the null hypothesis) from the values of the test statistic that do not lead to rejection of the null hypothesis. The critical values depend on the nature of the null hypothesis, the sampling distribution that applies, and the significance level . Chapter 8

Slide Slide 27 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Critical Region, Critical Value, Test Statistic Chapter 8

Slide Slide 28 Section 8-2 Objectives  Given a value of the test statistic, identify the P-value. Chapter 8

Two-tailed, Right-tailed, Left-tailed Tests The tails in a distribution are the extreme regions bounded by critical values.

Slide Slide 30 P-Value The P-value (or p-value or probability value) is the probability of getting a value of the test statistic that is at least as extreme as the one representing the sample data, assuming that the null hypothesis is true. The null hypothesis is rejected if the P-value is very small, such as 0.05 or less. Chapter 8

Slide Slide 31 Right-tailed Test H 0 : = H 1 : > Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Points Right Chapter 8

Slide Slide 32 Left-tailed Test H 0 : = H 1 : < Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Points Left Chapter 8

Slide Slide 33 Two-tailed Test H 0 : = H 1 :  Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley.  is divided equally between the two tails of the critical region Means less than or greater than Chapter 8

Slide Slide 34 Calculating p-value for a Right-tailed Test H 1 : > H 1 : < Chapter 8 Use: normalcdf( test statistic, 10^99, 0, 1) Calculating p-value for a Left-tailed Test Use: normalcdf(-10^99, test statistic, 0, 1)

Slide Slide 35 Two-tailed Test H 1 :   is divided equally between the two tails of the critical region Chapter 8 If the test statistic is positive: 2*normalcdf( test statistic, 10^99, 0, 1) If the test statistic is negative: 2*normalcdf( -10^99, test statistic, 0, 1) You double the p-value in a two-tailed test!!!

Slide Slide 36 Section 8-2 Objectives  State the conclusion of a hypothesis test in simple, non-technical terms. Chapter 8

Slide Slide 37 Conclusions in Hypothesis Testing We always test the null hypothesis. The initial conclusion will always be one of the following: 1. Reject the null hypothesis. 2. Fail to reject the null hypothesis. Chapter 8

Slide Slide 38 Traditional method: Reject H 0 if the test statistic falls within the critical region. Fail to reject H 0 if the test statistic does not fall within the critical region. Decision Criterion Chapter 8

Slide Slide 39 P-value method: Reject H 0 if the P-value   (where  is the significance level, such as 0.05). Fail to reject H 0 if the P-value > . Decision Criterion - cont Chapter 8

Slide Slide 40 “Since the p-value ) , I reject (fail to reject) the H 0. There is (is not) sufficient evidence to suggest that H a.” Be sure to write H a in context (words)! Chapter 8

Slide Slide 41 Example: Finding P-values. First determine whether the given conditions result in a right-tailed test, a left-tailed test, or a two-tailed test, then find the P- values and state a conclusion about the null hypothesis. a) A significance level of  = 0.05 is used in testing the claim that p > 0.25, and the sample data result in a test statistic of z = b) A significance level of  = 0.05 is used in testing the claim that p  0.25, and the sample data result in a test statistic of z = Chapter 8

Slide Slide 42 Example: Finding P-values. First determine whether the given conditions result in a right-tailed test, a left-tailed test, or a two-tailed test, then find the P- values and state a conclusion about the null hypothesis. a) With a claim of p > 0.25, the test is right-tailed. Because the test is right-tailed, Figure 8-6 shows that the P-value is the area to the right of the test statistic z = We refer to Table A-2 and find that the area to the right of z = 1.18 is The P-value of is greater than the significance level  = 0.05, so we fail to reject the null hypothesis. The P-value of is relatively large, indicating that the sample results could easily occur by chance. Chapter 8

Slide Slide 43 Example: Finding P-values. First determine whether the given conditions result in a right-tailed test, a left-tailed test, or a two-tailed test, then find the P- values and state a conclusion about the null hypothesis. b) With a claim of p  0.25, the test is two-tailed. Because the test is two-tailed, and because the test statistic of z = 2.34 is to the right of the center, Figure 8-6 shows that the P-value is twice the area to the right of z = We refer to Table A-2 and find that the area to the right of z = 2.34 is , so P- value = 2 x = The P-value of is less than or equal to the significance level, so we reject the null hypothesis. The small P-value o shows that the sample results are not likely to occur by chance. Chapter 8

Slide Slide 44 Accept Versus Fail to Reject  Some texts use “accept the null hypothesis.”  We are not proving the null hypothesis.  The sample evidence is not strong enough to warrant rejection (such as not enough evidence to convict a suspect). Chapter 8