©2003 Thomson/South-Western 1 Chapter 8 – Hypothesis Testing for the Mean and Variance of a Population Slides prepared by Jeff Heyl, Lincoln University.

Slides:



Advertisements
Similar presentations
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Advertisements

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 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type I and Type II Errors.
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.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Pengujian Hipotesis Nilai Tengah Pertemuan 19 Matakuliah: I0134/Metode Statistika Tahun: 2007.
Hypothesis : Statement about a parameter Hypothesis testing : decision making procedure about the hypothesis Null hypothesis : the main hypothesis H 0.
Hypothesis Testing for the Mean and Variance of a Population Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College.
Chapter 8: Inferences Based on a Single Sample: Tests of Hypotheses Statistics.
Chapter 9 Hypothesis Testing.
Section 7-2 Hypothesis Testing for the Mean (n  30)
©2006 Thomson/South-Western 1 Chapter 10 – Hypothesis Testing for the Mean of a Population Slides prepared by Jeff Heyl Lincoln University ©2006 Thomson/South-Western.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Overview Definition Hypothesis
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part A Hypothesis Tests Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses.
Chapter 8 Inferences Based on a Single Sample: Tests of Hypothesis.
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Chapter 8 Hypothesis Testing. Section 8-1: Steps in Hypothesis Testing – Traditional Method Learning targets – IWBAT understand the definitions used in.
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part B Hypothesis Tests Population Proportion Population Proportion Hypothesis Testing and Decision Making.
Lecture 3: Review Review of Point and Interval Estimators
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Overview Basics of Hypothesis Testing
Hypothesis Testing with ONE Sample
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
Statistical Methods 5.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
Math 4030 – 9a Introduction to Hypothesis Testing
Chapter Seven Hypothesis Testing with ONE Sample.
© 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
Applied Quantitative Analysis and Practices LECTURE#14 By Dr. Osman Sadiq Paracha.
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.
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 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
Slide 9-1 Copyright © 2012, 2008, 2005 Pearson Education, Inc. Chapter 9 Hypothesis Tests for One Population Mean.
Review of Hypothesis Testing: –see Figures 7.3 & 7.4 on page 239 for an important issue in testing the hypothesis that  =20. There are two types of error.
©2006 Thomson/South-Western 1 Chapter 12 – Analysis of Categorical Data Slides prepared by Jeff Heyl Lincoln University ©2006 Thomson/South-Western Concise.
Chapter Nine Hypothesis Testing.
Hypothesis Testing: One-Sample Inference
Chapter 9 Hypothesis Testing.
Review and Preview and Basics of Hypothesis Testing
Introduction to Inference
Chapter Review Problems
Chapter 9 Hypothesis Testing.
Introduction to Inference
Presentation transcript:

©2003 Thomson/South-Western 1 Chapter 8 – Hypothesis Testing for the Mean and Variance of a Population Slides prepared by Jeff Heyl, Lincoln University ©2003 South-Western/Thomson Learning™ Introduction to Business Statistics, 6e Kvanli, Pavur, Keeling

©2003 Thomson/South-Western 2 Hypothesis Testing on the Mean  Null hypothesis (H o ): A statement concerning a population parameter  Alternative hypothesis: A statement in contradiction of the null hypothesis

©2003 Thomson/South-Western 3 Type I and Type II Errors  =probability of rejecting the H o when H o is true (Type I error)  =probability of failing to rejecting the H o when H o is false (Type II error) Actual Situation Conclusion H o TrueH o False Fail to Reject H o Correct decision Type II error Reject H o Type I error Correct decision

©2003 Thomson/South-Western 4 Hypothesis Testing Process  Determine the H o and H a  Determine the significance level  Compare the sample mean (variance) to the hypothesized mean (variance)  Decide whether to fail to reject or reject H o  Determine what the decision means in reference to the problem

©2003 Thomson/South-Western 5 Height Example H o :  = 5.9 H a :   5.9  =.05 = P(rejecting H o when H o is true) critical value = ± 1.96 Reject H o if > 1.96 X  / n

©2003 Thomson/South-Western 6 Height Example Z.025 -k-k-k-k 0 |Z| > k k.025 Area = =.475 Figure 8.1

©2003 Thomson/South-Western 7 Height Example Figure 8.2 X distance =.14’ = 2.53 x ’  x ≈ =.055’ µ x = 5.9’

©2003 Thomson/South-Western 8 Computed Value Because < , we reject H o thus we conclude that the average population male height is not equal to 5.9 Z = ≈ = = = Z* X  / n X s / n / 75

©2003 Thomson/South-Western 9 Height Example Figure 8.3 X Area = =.495 -k-k-k-k 0 Area =.01 k.005

©2003 Thomson/South-Western 10 Height Example Figure 8.4 Z Reject H o if Z* falls here Z* = Area =.01 Reject H o if Z* falls here

©2003 Thomson/South-Western 11 Hypothesis Testing 5 Step Procedure 3.Define the rejection region 4.Calculate the test statistic 5.Give a conclusion in terms of the problem 1.Set up the null and alternative hypothesis Z = ≈ X - µ o  / n X - µ o s / n 2.Define the test statistic

©2003 Thomson/South-Western 12 Everglo Light Example 1.Define the hypotheses H o : µ = 400 H a : µ ≠ Define the rejection region reject H o if Z > or Z or Z < Define the test statistic Z = ≈ X  / n X s / n

©2003 Thomson/South-Western 13 Everglo Light Example Figure 8.5 Z Z* = Area =  =.1 Area = =.45 2 =.05

©2003 Thomson/South-Western 14 Everglo Light Example 5.State the conclusion There is sufficient evidence to conclude that the average lifetime of Everglo bulbs is not 400 hours 4.Calculate the value of the test statistic Z* ≈ = = / 100

©2003 Thomson/South-Western 15 Confidence Intervals and Hypothesis Testing When testing H o : µ = µ o versus H a : µ ≠ µ o using the five-step procedure and a significance level, , H o will be rejected if and only if µ o lies outside the (1 -  ) 100 confidence interval for µ X - k to X + k  n n

©2003 Thomson/South-Western 16 Power of a Statistical Test  = P(fail to reject H o when H o is false) 1-  = P(rejecting H o when H o is false) 1-  = the power of the test

©2003 Thomson/South-Western 17 Probability of Rejecting H o Figure A B X Area =  =.10 Area = 1 -  when µ = 403

©2003 Thomson/South-Western 18 Power of Tests 2.Power of test = P(Z > z 1 ) + P(Z z 1 ) + P(Z < z 2 ) 1.Determine z 1 = Z  /2 - µ - µ o  / n z 1 = -Z  /2 - µ - µ o  / n

©2003 Thomson/South-Western 19 Power Curve Power curve for test of H o versus H a using five-step procedure Power curve for test of H o versus H a using any other procedure µ  = P(rejecting H o ) Figure 8.7

©2003 Thomson/South-Western 20 One Tailed Test for µ H o : µ ≥ 32.5H a : µ < Define H o and H a prior to observation Z = ≈ X - µ o  / n X - µ o s / n 2.Define the test statistic 3. Reject if H o if Z ≈ < X s / n Example 8.4

©2003 Thomson/South-Western 21 One Tailed Test for µ 5.Study supports the claim that the average mileage for the Bullet is less than 32.5 mpg – supports claim of false advertising Z* ≈ = / 50 4.The value of the test statistic is Example 8.4

©2003 Thomson/South-Western 22 One Tailed Test for µ Figure Area = =.45 Area =  =.05 Z

©2003 Thomson/South-Western 23 Excel Example Z Z* = 1.54 Area =.49 Area =  = Figure 8.9

©2003 Thomson/South-Western 24 Excel Example Figure 8.10

©2003 Thomson/South-Western 25 Excel Example Figure 8.11

©2003 Thomson/South-Western 26 Power of Tests 2.Power of test = P(Z > z 1 ) 1.Determine z 1 = Z  /2 - µ - µ o  / n H o : µ ≤ µ o verses H a : µ > µ o

©2003 Thomson/South-Western 27 Power of Tests 2.Power of test = P(Z < z 2 ) 1.Determine z 1 = -Z  /2 - µ - µ o  / n H o : µ ≥ µ o verses H a : µ < µ o

©2003 Thomson/South-Western 28 Power of Tests Large-Sample Tests on a Population Mean Two-Tailed Test H o : µ = µ o H a : µ ≠ µ o reject H o if |Z*| > Z  /2 One-Tailed Test H o : µ ≤ µ o H a : µ > µ o reject H o if Z* > Z  H o : µ ≥ µ o H a : µ < µ o reject H o if Z* < -Z 

©2003 Thomson/South-Western 29 Determining the p-Value The p-value is the value of  at which the hypothesis test procedure changes conclusions based on a given set of data. It is the largest value of  for which you will fail to reject H o

©2003 Thomson/South-Western 30 Determining the p-Value Figure Area =.025 Area =.005 Z Z* = Area =.025 Area =

©2003 Thomson/South-Western 31 Determining the p-Value Figure Z Area =.4943 (Table A-4) Area= = Area = p value

©2003 Thomson/South-Western 32 Procedure for Finding the p-Value For H a : µ ≠ µ o p = 2 * (area outside Z * ) For H a : µ > µ o p = area to the right of Z * For H a : µ < µ o p = area to the left of Z * For H a : µ < µ o p = area to the left of Z *

©2003 Thomson/South-Western 33 Determining the p-Value Figure Z Area =.025 p= area = =.0618 Z* = 1.54

©2003 Thomson/South-Western 34 Interpreting the p-Value Classical Approach reject H o if p-value <  fail to reject H o is p-value ≥  General rule of thumb reject H o if p-value is small (p <.01) fail to reject H o is p-value is large (p >.1)

©2003 Thomson/South-Western 35 Interpreting the p-Value Small p Reject H o.01 Large p Fail to reject H o p.1 Inconclusive

©2003 Thomson/South-Western 36 Another Interpretation 1.For a two-tailed test where H o : µ ≠ µ o, the p-value is the probability that the value of the test statistic, Z*, will be at least as large (in absolute value) as the observed Z*, if µ is in fact equal to µ o 2.For a one-tailed test where Ha: µ > µ o, the p-value is the probability that the value of the test statistic, Z*, will be at least as large as the observed Z*, if µ is in fact equal to µ o 3.For a one-tailed test where H a : µ < µ o, the p-value is the probability that the value of the test statistic, Z*, will be at least as large as the observed Z*, if µ is in fact equal to µ o

©2003 Thomson/South-Western 37 Excel Example Figure 8.15

©2003 Thomson/South-Western 38 Excel Example Figure 8.16 Z p value = twice this area 3.06

©2003 Thomson/South-Western 39 Excel Example Figure 8.17 Frequency Histogram and10.14 and10.16 and10.18 and10.20 and10.22 and10.24 and10.26 and10.28 and10.30 and underunderunderunderunderunderunderunderunderunder Class Limits

©2003 Thomson/South-Western 40 Practical Versus Statistical Figure 8.18 Area= p value =.004 (from Table A-4) Z Z* = -2.65

©2003 Thomson/South-Western 41 Hypothesis Testing on the Mean of a Normal Population: Small Sample  Normal population  Population standard deviation unknown  Small sample  Student t distribution  Nonparametric procedure t =t =t =t = X - µ o s / n

©2003 Thomson/South-Western 42 Small Sample Test A Normal population Symmetric (nonnormal) population Skewed population B Figure 8.19

©2003 Thomson/South-Western 43 Clark Products Example 1. When a question is phrased “Is there evidence to indicate that...,” what follows is the alternative hypothesis H o : µ = 10 and H a : µ ≠ 10 2.The test statistic here is t =t =t =t = X - µ o s / n 3.Using a significance level of.05 and Figure 8.20, the corresponding two-tailed procedure is to reject H o if |t| > t.025,17 = 2.11

©2003 Thomson/South-Western 44 Clark Products Example Area=.025 Z Reject H o here 2.11 Area =.025 Reject H o here Figure 8.20

©2003 Thomson/South-Western 45 Clark Products Example Figure 8.21 Z 2.11 Area =.05 Area = t* =

©2003 Thomson/South-Western 46 Clark Products Example 5. There is insufficient evidence to indicate that the average output voltage is different from 10 volts 4.The value of the test statistic is t* = = / 18

©2003 Thomson/South-Western 47 Clark Products Example Figure 8.22

©2003 Thomson/South-Western 48 Small-Sample Tests on a Normal Population Mean Two-tailed test H o : µ = µ o H a : µ ≠ µ o reject H o if |t*| > t  /2, n-1 One tail test H o : µ = µ o H a : µ < µ o reject H o if t* < t , n-1 H o : µ = µ o H a : µ > µ o reject H o if t* > t , n-1

©2003 Thomson/South-Western 49 Chi-Square Distribution 2222 Area = a  a, df 2 Figure 8.23

©2003 Thomson/South-Western 50 Chi-Square Distribution 2222 Area = Figure 8.24

©2003 Thomson/South-Western 51 Chi-Square Distribution Figure 8.25 2222 Area =.025 b Area =.95 Area =.025 a

©2003 Thomson/South-Western 52 Hypothesis Testing on  2 One tail test H o :  2 =  o H a :  2 <  o reject H o if  2* <  , n H o :  2 =  o H a :  2 >  o reject H o if  2* >  , n Two-tailed test H o :  2 =  o H a :  2 ≠  o 2 2 Test statistic:  2 = (n - 1)s 2  2 o

©2003 Thomson/South-Western 53 Chi-Square Distribution Figure 8.26 2222 Area = p value  2 curve with 14 df

©2003 Thomson/South-Western 54 Chi-Square Distribution Figure 8.27