Hypothesis Testing.  Hypothesis is a claim or statement about a property of a population.  Hypothesis Testing is to test the claim or statement  Example.

Slides:



Advertisements
Similar presentations
Chapter 7 Hypothesis Testing
Advertisements

Introduction to Hypothesis Testing
Chapter 8 Hypothesis Testing
Chapter 10.  Real life problems are usually different than just estimation of population statistics.  We try on the basis of experimental evidence Whether.
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
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
8-2 Basics of Hypothesis Testing
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Hypothesis Testing Methodology Z Test for the Mean (  Known) p-Value Approach to Hypothesis Testing.
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 Chapter 7 Hypothesis Testing 7-1 Overview 7-2 Fundamentals of Hypothesis Testing.
Hypothesis Testing with One Sample
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
STATISTICS ELEMENTARY MARIO F. TRIOLA Chapter 7 Hypothesis Testing
Chapter 10 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
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
Hypothesis testing is used to make decisions concerning the value of a parameter.
Presented by Mohammad Adil Khan
© 2002 Prentice-Hall, Inc.Chap 7-1 Statistics for Managers using Excel 3 rd Edition Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
Introduction to Biostatistics and Bioinformatics
Sections 8-1 and 8-2 Review and Preview 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.
Fundamentals of Hypothesis Testing: One-Sample Tests
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Chapter 8 Hypothesis Testing. Section 8-1: Steps in Hypothesis Testing – Traditional Method Learning targets – IWBAT understand the definitions used in.
Chapter 8 Hypothesis Testing 1.
8 - 1 © 1998 Prentice-Hall, Inc. Chapter 8 Inferences Based on a Single Sample: Tests of Hypothesis.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 10 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.
© 2003 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First Course (3 rd Edition) Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 8 Introduction to Hypothesis Testing
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
Hypothesis testing Chapter 9. Introduction to Statistical Tests.
Statistical Methods 5.
Testing of Hypothesis Fundamentals of Hypothesis.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
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.
Hypothesis Testing with One Sample Chapter 7. § 7.1 Introduction to Hypothesis Testing.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
© 2004 Prentice-Hall, Inc.Chap 9-1 Basic Business Statistics (9 th Edition) Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
© 2001 Prentice-Hall, Inc.Chap 9-1 BA 201 Lecture 14 Fundamentals of Hypothesis Testing.
© 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.
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
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.
Course Overview Collecting Data Exploring Data Probability Intro. Inference Comparing Variables Relationships between Variables Means/Variances Proportions.
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.
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 © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8.
Learning Objectives Describe the hypothesis testing process Distinguish the types of hypotheses Explain hypothesis testing errors Solve hypothesis testing.
Assumptions For testing a claim about the mean of a single population
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Hypothesis Testing.
Confidence Intervals.
Presentation transcript:

Hypothesis Testing

 Hypothesis 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 Rs 45,000 per month”. Hypothesis Testing

 Null Hypothesis (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  Must contain condition of equality =, , or   Test the Null Hypothesis directly  Reject H 0 or fail to reject H 0

Alternative Hypothesis  Must be true if H 0 is false  ,  ‘opposite’ of Null Hypothesis Example H 0 : µ = 30 versus H 1 : µ > 30 or H 1 : µ < 30

 State the Null Hypothesis (H 0 :   3)  State its opposite, the Alternative Hypothesis (H 1 :  < 3)  Hypotheses are mutually exclusive Identify the Problem

Population Assume the population mean age is 50. (Null Hypothesis) REJECT The Sample Mean Is 20 Sample Null Hypothesis Hypothesis Testing Process No, not likely!

Sample Mean  = 50 Sampling Distribution It is unlikely that we would get a sample mean of this value if in fact this were the population mean.... Therefore, we reject the null hypothesis that  = H0H0 Reason for Rejecting H 0

Defines Unlikely Values of Sample Statistic if Null Hypothesis Is True  Called Rejection Region of Sampling Distribution Designated  (alpha)  Typical values are 0.01, 0.05, 0.10 Selected by the Researcher at the Start Provides the Critical Value(s) of the Test Level of Significance, 

Level of Significance  and the Rejection Region H 0 :   3 H 1 :  < H 0 :   3 H 1 :  > 3 H 0 :   3 H 1 :   3    /2 Critical Value(s) Rejection Regions

 Type I Error  Reject True Null Hypothesis  Has Serious Consequences  Probability of Type I Error is  Called Level of Significance  Type II Error  Do Not Reject False Null Hypothesis  Probability of Type II Error Is  (Beta) Errors in Making Decisions

H 0 : Innocent Jury Trial Hypothesis Test Actual Situation Verdict InnocentGuilty Decision H 0 TrueH 0 False Innocent CorrectError Do Not Reject H  Type II Error (  ) Guilty Error Correct Reject H 0 Type I Error (  ) (1 -  ) Result Possibilities

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   (alpha).  Common choices for  : 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.

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

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 ) Fail to reject H 0 Reject H 0

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

Left-tailed Test H 0 : µ  200 H 1 : µ < Values that differ significantly from 200 Fail to reject H 0 Reject H 0 Points Left

Right-tailed Test H 0 : µ  200 H 1 : µ > 200 Values that differ significantly from Fail to reject H 0 Reject H 0 Points Right

Two-tailed Test H 0 : µ = 200 H 1 : µ  200 Means less than or greater than Fail to reject H 0 Reject H Values that differ significantly from 200  is divided equally between the two tails of the critical region

Definition Test Statistic: is a sample statistic or value based on sample data Example: z =z = x – µxx – µx   n

Question: 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 µ x = 30k Likely sample means Assume the conjecture is true!

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

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

COMPONENTS OF A FORMAL HYPOTHESIS TEST

TWO-TAILED, LEFT-TAILED, RIGHT-TAILED TESTS

Problem 1 Test µ = 0 against µ > 0, assuming normally and using the sample [multiples of 0.01 radians in some revolution of a satellite] 1, -1, 1, 3, -8, 6, 0 (deviations of azimuth) Choose α = 5%.

Problem 2 In one of his classical experiments Buffon obtained 2048 heads in tossing a coin 4000 times. Was the coin fair?

Problem 3 In one of his classical experiments K Pearson obtained 6019 heads in trials. Was the coin fair?

Problem 5 Assuming normality and known variance б 2 = 4, test the hypotheses µ = 30 using a sample of size 4 with mean X = 28.5 and choosing α = 5%.

Problem 7 Assuming normality and known variance б 2 = 4, test the hypotheses µ = 30 using a sample of size 10 with mean X = What is the rejection region in case of a two sided test with α = 5%.

Problem 9 A firm sells oil in cans containing 1000 g oil per can and is interested to know whether the mean weight differs significantly from 1000 g at the 5% level, in which case the filling machine has to be adjusted. Set up a hypotheses and an alternative and perform the test, assuming normality and using a sample of 20 fillings with mean 996 g and Standard Deviation 5g.

Problem 11 If simultaneous measurements of electric voltage by two different types of voltmeter yield the differences (in volts) 0.8, 0.2, -0.3, 0.1, 0.0, 0.5, 0.7 and 0.2 Can we assert at the 5% level that there is no significant difference in the calibration of the two types of instruments? Assume normality.