Quantitative Methods Varsha Varde. 2 Large-Sample Tests of Hypothesis Contents. 1. Elements of a statistical test 2. A Large-sample statistical test 3.

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

1 Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Type I and Type II Errors One-Tailed Tests About a Population Mean: Large-Sample.
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.
Business Statistics - QBM117
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
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.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
Chapter 9 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.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Hypothesis Testing Methodology Z Test for the Mean (  Known) p-Value Approach to Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
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 (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
1 © Lecture note 3 Hypothesis Testing MAKE HYPOTHESIS ©
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
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
Chapter 9 Hypothesis Testing: Single Population
Overview Basics of Hypothesis Testing
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
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.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
1 1 Slide © 2003 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Testing of Hypothesis Fundamentals of Hypothesis.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Introduction Hypothesis testing for one mean Hypothesis testing for one proportion Hypothesis testing for two mean (difference) Hypothesis testing for.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
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.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
© Copyright McGraw-Hill 2004
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine 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.
Hypothesis Testing Steps : 1. Review Data : –Sample size. –Type of data. –Measurement of data. –The parameter ( ,  2,P) you want to test. 2. Assumption.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 9 -Hypothesis Testing
Quantitative Methods Varsha Varde.
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses
Introduction to Inference
Chapter 9 Hypothesis Testing.
Introduction to Inference
Presentation transcript:

Quantitative Methods Varsha Varde

2 Large-Sample Tests of Hypothesis Contents. 1. Elements of a statistical test 2. A Large-sample statistical test 3. Testing a population mean 4. Testing a population proportion 5. Testing the difference between two population means 6. Testing the difference between two population proportions 7. Reporting results of statistical tests: p-Value

Varsha Varde3 Mechanics of Hypothesis Testing Null Hypothesis :Ho: What You Believe (Claim/Status quo) Alternative Hypothesis: Ha: The Opposite ( prove or disprove with sample study)

Ha is less than type or left-tail test 1. One-Sided Test of Hypothesis: < (Ha is less than type or left-tail test). To see if a minimum standard is met Examples Contents of cold drink in a bottle Weight of rice in a pack Null hypothesis (H 0 ) : : µ = µ 0 Alternative hypothesis (Ha): : µ < µ 0 Varsha Varde4

Ha is more than type or right -tail test One-Sided Test of Hypothesis: > (Ha is more than type or right -tail test). To see that maximum standards are not exceeded. Examples Defectives In a Lot Accountant Claims that Hardly 1% Account Statements Contain Error. Null hypothesis (H 0 ): p = p 0 Alternative hypothesis (Ha): p > p 0 Varsha Varde

Two-Sided Test of Hypothesis: ≠ (Ha not equal to type) Divergence in either direction is critical Examples Shirt Size of 42 Size of Bolt & nuts Null hypothesis (H 0 ) : µ = µ 0 Alternative hypothesis (Ha): µ ≠ µ 0 Varsha Varde6

DEFINITIONS Type I error ≡{ reject H 0 |H 0 is true } Type II error ≡{ do not reject H 0 |H 0 is false} α= Prob{Type I error} β= Prob{Type II error} Power of a statistical test: Prob{reject H 0 |H 0 is false }= 1-β Varsha Varde7

EXAMPLE Example 1. H 0 : Innocent Ha: Guilty α= Prob{sending an innocent person to jail} β= Prob{letting a guilty person go free} Example 2. H 0 : New drug is not acceptable Ha: New drug is acceptable α= Prob{marketing a bad drug} β= Prob{not marketing an acceptable drug} Varsha Varde8

GENERAL PROCEDURE FOR HYPOTHESIS TESTING Formulate the null & alternative hypothesis Equality Sign Should Always Be In Null Hypothesis Choose the appropriate sampling distribution Select the level of significance and hence the critical values which specify the rejection and acceptance region Compute the test statistics and compare it to critical values Reject the Null Hypothesis if test statistics falls in the rejection region.Otherwise accept it

Elements of a Statistical Test Null hypothesis: H 0 Alternative (research) hypothesis: H a Test statistic: Rejection region : reject H 0 if..... Decision: either “Reject H 0 ” or “Do not reject H 0 ” Conclusion: At 100α% significance level there is (in)sufficient statistical evidence to “ favour Ha”. Comments: * H 0 represents the status-quo * Ha is the hypothesis that we want to provide evidence to justify. We show that Ha is true by showing that H 0 is false, that is proof by contradiction. Varsha Varde10

A general Large-Sample Statistical Test Parameter of interest: θ Sample data: n, ˆθ, σ ˆθ Other information: µ 0 = target value, α= Level of significance Test:Null hypothesis (H 0 ) : θ= θ 0 :Alternative hypothesis (Ha): 1) θ > θ 0 or 2) θ <θ 0 or 3) θ ≠θ 0 Test statistic (TS): z =(ˆθ - θ 0 )/σ ˆθ Critical value: either z α or z α/2 Varsha Varde11

A General Large-Sample Statistical Test Rejection region (RR) : 1) Reject H0 if z > z α 2) Reject H0 if z < - z α 3) Reject H0 if z > z α/2 or z < -z α/2 Decision: 1) if observed value is in RR: “Reject H0” 2) if observed value is not in RR: “Do not reject H0” Conclusion: At 100α% significance level there is (in)sufficient statistical evidence to……... Assumptions: Large sample + others (to be specified in each case). Varsha Varde12

Testing a Population Mean Parameter of interest: µ Sample data: n, x¯, s Other information: µ 0 = target value, α Test: H0 : µ = µ 0 Ha : 1) µ > µ 0 ; 2) µ < µ 0 ; 3) µ ≠ µ 0 T.S. :z =x¯- µ 0 /σ/√n Rejection region (RR) : 1) Reject H0 if z > z α 2) Reject H0 if z < - z α 3) Reject H0 if z > z α/2 or z < -z α/2 Graph: Decision: 1) if observed value is in RR: “Reject H0” 2) if observed value is not in RR: “Do no reject H0” Varsha Varde13

Testing a Population Mean Conclusion: At 100α% significance level there is (in)suficient statistical evidence to “ favour Ha”. Assumptions: Large sample (n ≥30) Sample is randomly selected Varsha Varde14

EXAMPLE Example: It is claimed that weight loss in a new diet program is at least 20 pounds during the first month. Formulate &Test the appropriate hypothesis Sample data : n = 36, x¯ = 21, s 2 = 25, µ 0 = 20, α= 0.05 H0 : µ ≥20 (µ is 20 or larger) Ha : µ < 20 (µ is less than 20) T.S. :z =(x - µ 0 )/(s/√n)=21 – 20/5/√36= 1.2 Critical value: z α = RR: Reject H0 if z < Decision: Do not reject H0 Conclusion: At 5% significance level there is sufficient statistical evidence to conclude that weight loss in a new diet program exceeds 20 pounds per first month. Varsha Varde 15

Testing a Population Proportion Parameter of interest: p (unknown parameter) Sample data: n and x (or p = x/n) p 0 = target value α (significance level) Test:H0 : p = p 0 Ha: 1) p > p 0 ; 2) p < p 0 ; 3) p = p 0 T.S. :z =( p - p 0 )/√p 0 q 0 /n Rejection region (RR) : 1) Reject H0 if z > z α 2) Reject H0 if z < - z α 3) Reject H0 if z > z α/2 or z < -z α/2 Decision: 1) if observed value is in RR: “Reject H0” 2) if observed value is not in RR: “Do no reject H0” Assumptions:1. Large sample (np≥ 5, nq≥ 5) 2. Sample is randomly selected Varsha Varde 16

Example Test the hypothesis that p >.10 for sample data: n = 200, x = 26. Solution. p = x/n = 26/200 =.13, H0 : p ≤.10 (p is not larger than.10) Ha : p >.10 TS:z = (p - p 0 )/√p 0 q 0 /n= /√(.10)(.90)/200= 1.41 RR: reject H0 if z > Dec: Do not reject H 0 Conclusion: At 5% significance level there is insufficient statistical evidence to conclude that p >.10. Exercise: Is the large sample assumption satisfied here ? Varsha Varde 17

Comparing Two Population Means Parameter of interest: µ 1 - µ 2 Sample data: Sample 1: n 1, x¯ 1, s 1 Sample 2: n 2, x¯ 2, s 2 Test: H 0 : µ 1 - µ 2 = 0 Ha : 1)µ 1 - µ 2 > 0; 2) 1)µ 1 - µ 2 < 0;3) µ 1 - µ 2 ≠ 0 T.S. :z =(x¯ 1 - x¯ 2 ) /√σ 2 1 /n 1 + σ 2 2 /n 2 RR:1) Reject H0 if z > zα;2) Reject H0 if z < -zα 3) Reject H0 if z > z α/2 or z < -z α/2 Assumptions: 1. Large samples ( n 1≥ 30; n 2 ≥30) 2. Samples are randomly selected 3. Samples are independent Varsha Varde 18

Example: (Comparing two weight loss programs) Refer to the weight loss example. Test the hypothesis that weight loss in the two diet programs are different. 1. Sample 1 : n 1 = 36, x¯ 1 = 21, s 2 1 = 25 (old) 2. Sample 2 : n 2 = 36, x¯ 2 = 18.5, s 2 2 = 24 (new) α= 0.05 H0 : µ 1 - µ 2 = 0 Ha : µ 1 - µ 2 ≠ 0, T.S. :z =(x¯ 1 - x¯ 2 ) – 0/√σ 2 1 /n 1 + ó 2 2 /n 2 = 2.14 Critical value: z α/2 = 1.96 RR: Reject H0 if z > 1.96 or z < Decision: Reject H0 Conclusion: At 5% significance level there is sufficient statistical evidence to conclude that weight loss in the two diet programs are different. Varsha Varde19

Comparing Two Population Proportions Parameter of interest: p 1 - p 2 Sample 1: n 1, x 1, ─ p 1 = x 1 /n 1 Sample 2: n 2, x 2, ─ p 2 = x 2 /n 2 p 1 - p 2 (unknown parameter) Common estimate: ─ p =(x1 + x2)/(n1 + n2) Test:H 0 : p1 - p2 = 0 Ha : 1) p1 - p2 > 0;2) p1 - p2 < 0;3) p1 - p2 = 0 TEST STATISTICS:z =( ─ p1 - ─ p2) / √ ─ p ─ q(1/n1 + 1/n2) RR:1) Reject H0 if z > z α 2) Reject H0 if z < -z α 3) Reject H0 if z > z α/2 or z < -z α/2 Assumptions: Large sample(n 1 p 1≥ 5, n 1 q 1 ≥5, n 2 p 2 ≥5, n 2 q 2 ≥5) Samples are randomly and independently selected Varsha Varde20

Example Test the hypothesis that p1 - p2 < 0 if it is known that the test statistic is z = Solution: H0 : p1 - p2 ≥0 Ha : p1 - p2 < 0 TS: z = RR: reject H0 if z < Dec: reject H0 Conclusion: At 5% significance level there is sufficient statistical evidence to conclude that p1 - p2 < 0. Varsha Varde21

Reporting Results of Statistical Tests: P-Value Definition. The p-value for a test of a hypothesis is the smallest value of α for which the null hypothesis is rejected, i.e. the statistical results are significant. The p-value is called the observed significance level Note: The p-value is the probability ( when H0 is true) of obtaining a value of the test statistic as extreme or more extreme than the actual sample value in support of Ha. Examples. Find the p-value in each case: (i) Upper tailed test:H0 : θ= θ 0 ; Ha : θ> θ 0 ; TS: z = 1.76 p-value =.0392 (ii) Lower tailed test:H0 : θ= θ 0 ; Ha : θ< θ 0 TS: z = p-value =.0314 (iii) Two tailed test: H0 : θ= θ 0 ; Ha : θ≠ θ 0 TS: z = 1.76 p-value = 2(.0392) =.0784 Decision rule using p-value: (Important) Reject H0 for all α > p- value Varsha Varde22

Varsha Varde23

Varsha Varde24

Varsha Varde25

Varsha Varde26

Varsha Varde27

Varsha Varde28

Varsha Varde29