Hypothesis Testing.

Slides:



Advertisements
Similar presentations
Unlocking the Mysteries of Hypothesis Testing
Advertisements

Chapter 7 Hypothesis Testing
Introduction to Hypothesis Testing
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
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)
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
8-2 Basics of Hypothesis Testing
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Chapter 7 Hypothesis Testing 7-1 Overview 7-2 Fundamentals of Hypothesis Testing.
STATISTICS ELEMENTARY MARIO F. TRIOLA Chapter 7 Hypothesis Testing
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
Hypothesis testing is used to make decisions concerning the value of a parameter.
Presented by Mohammad Adil Khan
Descriptive statistics Inferential statistics
Hypothesis Testing.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Chapter 8 Hypothesis Testing. Section 8-1: Steps in Hypothesis Testing – Traditional Method Learning targets – IWBAT understand the definitions used in.
Overview Basics of Hypothesis Testing
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.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
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.
Chapter 8 Introduction to Hypothesis Testing
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Hypothesis Testing with One Sample Chapter 7. § 7.1 Introduction to Hypothesis Testing.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
© Copyright McGraw-Hill 2004
SAA 2023 COMPUTATIONALTECHNIQUE FOR BIOSTATISTICS Semester 2 Session 2009/2010 ASSOC. PROF. DR. AHMED MAHIR MOKHTAR BAKRI Faculty of Science and Technology.
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.
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.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Assumptions 1) Sample is large (n > 30) a) Central limit theorem applies b) Can.
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.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
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.
Chapter Ten McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. One-Sample Tests of Hypothesis.
Chapter 9: Hypothesis Tests for One Population Mean 9.2 Terms, Errors, and Hypotheses.
Hypothesis Testing.  Hypothesis is a claim or statement about a property of a population.  Hypothesis Testing is to test the claim or statement  Example.
C HAPTER 2  Hypothesis Testing -Test for one means - Test for two means -Test for one and two proportions.
Hypothesis Testing Involving One Population Chapter 11.
Lecture Slides Elementary Statistics Twelfth Edition
Chapter Nine Hypothesis Testing.
Tutorial 11: Hypothesis Testing
Hypothesis Testing: One-Sample Inference
Chapter 10 Hypothesis Testing 1.
Hypothesis Testing I The One-sample Case
Assumptions For testing a claim about the mean of a single population
Review and Preview and Basics of Hypothesis Testing
CHAPTER 9 Testing a Claim
Math 4030 – 9b Introduction to Hypothesis Testing
Business Statistics Topic 7
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Hypothesis Testing for Proportions
Overview and Basics of Hypothesis Testing
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Sampling and Sampling Distributions
P-value Approach for Test Conclusion
Unlocking the Mysteries of Hypothesis Testing
Chapter 9: Hypothesis Testing
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Power Section 9.7.
More About Tests Notes from
Chapter 9: Testing a Claim
Section 11.1: Significance Tests: Basics
Statistical Test A test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to.
Presentation transcript:

Hypothesis Testing

Hypothesis Hypothesis Testing in statistics, is a claim or statement about a property of a population Hypothesis Testing is to test the claim or statement Example: A conjecture is made that “the average starting salary for computer science gradate is $30,000 per year”.

Question: A. What do we need to know to justify this conjecture? How can we justify/test this conjecture? A. What do we need to know to justify this conjecture? B. Based on what we know, how should we justify this conjecture?

Answer to A: Randomly select, say 100, computer science graduates and find out their annual salaries ---- We need to have some sample observations, i.e., a sample set!

Answer to B: That is what we will learn in this chapter ---- Make conclusions based on the sample observations

Statistical Reasoning Analyze the sample set in an attempt to distinguish between results that can easily occur and results that are highly unlikely.

Figure 7-1 Central Limit Theorem: Distribution of Sample Means Assume the conjecture is true! µx = 30k Likely sample means

Figure 7-1 Central Limit Theorem: Distribution of Sample Means Assume the conjecture is true! µx = 30k Likely sample means z = –1.96 x = 20.2k or z = 1.96 x = 39.8k

Figure 7-1 Central Limit Theorem: Distribution of Sample Means Assume the conjecture is true! µx = 30k Likely sample means Sample data: z = 2.62 x = 43.1k or z = –1.96 x = 20.2k or z = 1.96 x = 39.8k

Components of a Formal Hypothesis Test

Definitions Null Hypothesis (denoted H 0): is the statement being tested in a test of hypothesis. Alternative Hypothesis (H 1): is what is believe to be true if the null hypothesis is false.

Null Hypothesis: H0 Must contain condition of equality =, ³, or £ Test the Null Hypothesis directly Reject H 0 or fail to reject H 0

Alternative Hypothesis: H1 Must be true if H0 is false ¹, <, > ‘opposite’ of Null Example: H0 : µ = 30 versus H1 : µ > 30

Stating Your Own Hypothesis If you wish to support your claim, the claim must be stated so that it becomes the alternative hypothesis.

Important Notes: H0 must always contain equality; however some claims are not stated using equality. Therefore sometimes the claim and H0 will not be the same. Ideally all claims should be stated that they are Null Hypothesis so that the most serious error would be a Type I error.

Type I Error The mistake of rejecting the null hypothesis when it is true. The probability of doing this is called the significance level, denoted by a (alpha). Common choices for a: 0.05 and 0.01 Example: rejecting a perfectly good parachute and refusing to jump

Type II Error the mistake of failing to reject the null hypothesis when it is false. denoted by ß (beta) Example: failing to reject a defective parachute and jumping out of a plane with it.

Table 7-2 Type I and Type II Errors True State of Nature The null hypothesis is true The null hypothesis is false We decide to reject the null hypothesis Type I error (rejecting a true null hypothesis) Correct decision Decision We fail to reject the null hypothesis Type II error (failing to reject a false null hypothesis) Correct decision

Definition Test Statistic: z = x – µx is a sample statistic or value based on sample data Example: x – µx z = s / n

Definition Critical Region : is the set of all values of the test statistic that would cause a rejection of the null hypothesis

Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis Critical Region

Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis Critical Region

Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis Critical Regions

Definition Critical Value: is the value (s) that separates the critical region from the values that would not lead to a rejection of H 0

Critical Value Value (s) that separates the critical region from the values that would not lead to a rejection of H 0 Critical Value ( z score )

Critical Value Value (s) that separates the critical region from the values that would not lead to a rejection of H 0 Reject H0 Fail to reject H0 Critical Value ( z score )

Controlling Type I and Type II Errors a, ß, and n are related when two of the three are chosen, the third is determined a and n are usually chosen try to use the largest a you can tolerate if Type I error is serious, select a smaller a value and a larger n value

Conclusions in Hypothesis Testing always test the null hypothesis 1. Fail to reject the H 0 2. Reject the H 0 need to formulate correct wording of final conclusion See Figure 7-2

FIGURE 7-2 Wording of Conclusions in Hypothesis Tests Original claim is H0 Do you reject H0?. Yes (Reject H0) “There is sufficient evidence to warrant rejection of the claim that. . . (original claim).” (This is the only case in which the original claim is rejected). No (Fail to reject H0) “There is not sufficient evidence to warrant rejection of the claim that. . . (original claim).” Original claim is H1 (This is the only case in which the original claim is supported). Do you reject H0? Yes (Reject H0) “The sample data supports the claim that . . . (original claim).” No (Fail to reject H0) “There is not sufficient evidence to support the claim that. . . (original claim).”

Two-tailed, Left-tailed, Right-tailed Tests

Left-tailed Test H0: µ ³ 200 H1: µ < 200 Points Left

Left-tailed Test H0: µ ³ 200 H1: µ < 200 Points Left Values that Reject H0 Fail to reject H0 Values that differ significantly from 200 200

Right-tailed Test H0: µ £ 200 H1: µ > 200 Points Right

Right-tailed Test H0: µ £ 200 H1: µ > 200 Points Right Values that Fail to reject H0 Reject H0 Values that differ significantly from 200 200

a is divided equally between the two tails of the critical Two-tailed Test H0: µ = 200 H1: µ ¹ 200 a is divided equally between the two tails of the critical region Means less than or greater than

a is divided equally between the two tails of the critical Two-tailed Test H0: µ = 200 H1: µ ¹ 200 a is divided equally between the two tails of the critical region Means less than or greater than Reject H0 Fail to reject H0 Reject H0 200 Values that differ significantly from 200