© 2002 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First course 4th Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.

Slides:



Advertisements
Similar presentations
Chap 9-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Basic Business Statistics 12 th Edition Chapter 9 Fundamentals of Hypothesis.
Advertisements

Statistics for Business and Economics
© 2001 Prentice-Hall, Inc.Chap 9-1 BA 201 Lecture 15 Test for Population Mean Known.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
1 Business 90: Business Statistics Professor David Mease Sec 03, T R 7:30-8:45AM BBC 204 Lecture 24 = Start Chapter “Fundamentals of Hypothesis Testing:
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 9-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Chapter 8 Introduction to Hypothesis Testing
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 9-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
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.
9-1 Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall Statistics for Managers using Microsoft Excel 6 th Edition Chapter 9 Fundamentals.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
© 2004 Prentice-Hall, Inc.Chap 8-1 Basic Business Statistics (9 th Edition) Chapter 8 Confidence Interval Estimation.
Ch. 9 Fundamental of Hypothesis Testing
Chapter 8 Introduction to Hypothesis Testing
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
Chapter 10 Hypothesis Testing
Confidence Intervals and Hypothesis Testing - II
Statistics for Managers Using Microsoft Excel
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
© 2002 Prentice-Hall, Inc.Chap 7-1 Statistics for Managers using Excel 3 rd Edition Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
© 2003 Prentice-Hall, Inc.Chap 9-1 Fundamentals of Hypothesis Testing: One-Sample Tests IE 340/440 PROCESS IMPROVEMENT THROUGH PLANNED EXPERIMENTATION.
Chapter 8 Hypothesis Testing (假设检验)
Statistics for Managers Using Microsoft® Excel 7th Edition
Introduction to Biostatistics and Bioinformatics
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
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
6 - 1 © 2000 Prentice-Hall, Inc. A First Course in Business Statistics Inferences Based on a Single Sample: Tests of Hypothesis Chapter 6.
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
© 2003 Prentice-Hall, Inc.Chap 6-1 Business Statistics: A First Course (3 rd Edition) Chapter 6 Sampling Distributions and Confidence Interval Estimation.
Chapter 10 Hypothesis Testing
© 2003 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First Course (3 rd Edition) Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
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.
Statistical Methods 5.
8 - 1 © 2000 Prentice-Hall, Inc. Statistics for Business and Economics Inferences Based on a Single Sample: Tests of Hypothesis Chapter 8.
Statistical Inference
Testing of Hypothesis Fundamentals of Hypothesis.
Copyright ©2011 Pearson Education 9-1 Statistics for Managers using Microsoft Excel 6 th Global Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample.
Statistics for Managers 5th Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
© 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.
Chapter 8 Hypothesis Testing (假设检验)
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
© 2002 Prentice-Hall, Inc.Chap 8-1 Basic Business Statistics (8 th Edition) Chapter 8 Confidence Interval Estimation.
1 Lecture 5: Section B Class Web page URL: Data used in some examples can be found in:
1 of 53Visit UMT online at Prentice Hall 2003 Chapter 9, STAT125Basic Business Statistics STATISTICS FOR MANAGERS University of Management.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
ASHOK THAKKAR© 2002 Prentice-Hall, Inc.Chap 9-1 Basic Statistics Fundamentals of Hypothesis Testing: One-Sample, Two-Sample Tests PREPARED BY: ASHOK THAKKAR.
Chap 9-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Business Statistics: A First Course 6 th Edition Chapter 9 Fundamentals of.
Conceptual Foundations © 2008 Pearson Education Australia Lecture slides for this course are based on teaching materials provided/referred by: (1) Statistics.
Learning Objectives Describe the hypothesis testing process Distinguish the types of hypotheses Explain hypothesis testing errors Solve hypothesis testing.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests
Statistics for Managers Using Microsoft® Excel 5th Edition
Statistics for Managers using Excel 3rd Edition
Presentation transcript:

© 2002 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First course 4th Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests

© 2002 Prentice-Hall, Inc. Chap 7-2 Chapter Topics Hypothesis testing methodology Z test for the mean ( known) P-value approach to hypothesis testing Connection to confidence interval estimation One-tail tests T test for the mean ( unknown) Z test for the proportion Potential hypothesis-testing pitfalls and ethical considerations

© 2002 Prentice-Hall, Inc. Chap 7-3 What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The parameter must be identified before analysis I claim the mean GPA of this class is 3.5! © T/Maker Co.

© 2002 Prentice-Hall, Inc. Chap 7-4 The Null Hypothesis, H 0 States the assumption (numerical) to be tested e.g.: The average number of TV sets in U.S. Homes is at least three ( ) Is always about a population parameter ( ), not about a sample statistic ( )

© 2002 Prentice-Hall, Inc. Chap 7-5 The Null Hypothesis, H 0 Begins with the assumption that the null hypothesis is true Similar to the notion of innocent until proven guilty Refers to the status quo Always contains the “=” sign May or may not be rejected (continued)

© 2002 Prentice-Hall, Inc. Chap 7-6 The Alternative Hypothesis, H 1 Is the opposite of the null hypothesis e.g.: The average number of TV sets in U.S. homes is less than 3 ( ) Challenges the status quo Never contains the “=” sign May or may not be accepted Is generally the hypothesis that is believed (or needed to be proven) to be true by the researcher

© 2002 Prentice-Hall, Inc. Chap 7-7 Hypothesis Testing Process Identify the Population Assume the population mean age is 50. ( ) REJECT Take a Sample Null Hypothesis No, not likely!

© 2002 Prentice-Hall, Inc. Chap 7-8 Sampling Distribution of = 50 It is unlikely that we would get a sample mean of this value Therefore, we reject the null hypothesis that μ = 50. Reason for Rejecting H 0  20 If H 0 is true... if in fact this were the population mean.

© 2002 Prentice-Hall, Inc. Chap 7-9 Filling Process You are in charge of the filling process for the one pound jars of Cheese Whiz You take a random sample of 36 jars each hour to determine if the filling process is in control

© 2002 Prentice-Hall, Inc. Steps: State the Null Hypothesis (H 0 :   ) State its opposite, the Alternative Hypothesis (H 1 :   16) Hypotheses are mutually exclusive & exhaustive Sometimes it is easier to form the alternative hypothesis first. Identify the Problem

© 2002 Prentice-Hall, Inc. Chap 7-11 Decision Rule Accept H 0 if15.8 oz  X  oz Reject H 0 ifX 16.2 oz Assume a sample of 36 jars tested each hour Population standard deviation is.6 oz.

© 2002 Prentice-Hall, Inc. Chap 7-12 Possible Results States of Nature Correct Decision Type II Error (  Correct Decision Type I Error (  Do Not Reject H o Reject H 0 ACTIONSACTIONS H 0 is True  = 16 H 0 is False 

© 2002 Prentice-Hall, Inc. Chap 7-13 Type I Error X Reject H 0 Do Not Reject H Z  Z  n X      16   Z    16   

© 2002 Prentice-Hall, Inc. Chap 7-14 Z1Z1    15.9   Z2Z2    15.9   X Reject H 0 Do Not Reject H  0 Z = 

© 2002 Prentice-Hall, Inc.   Reduce probability of one error and the other one goes up.  &  Have an Inverse Relationship

© 2002 Prentice-Hall, Inc. True Value of Population Parameter Increases When Difference Between Hypothesized Parameter & True Value Decreases Significance Level  Increases When  Decreases Population Standard Deviation  Increases When   Increases Sample Size n Increases When n Decreases Factors Affecting Type II Error,       n

© 2002 Prentice-Hall, Inc. Chap 7-17 Hypothesis Testing: Steps 1. State H 0 and H 1 2. Choose  - level of significance 3. Use Information in Steps 1 and 2 to Design a Decision Rule 4. Collect Data 5. Compare Sample Data to Decision Rule and State Conclusion.

© 2002 Prentice-Hall, Inc. Chap 7-18 Setting Up H 0 and H 1 H 0 must contain the equality (=) Either H 0 or H 1 must precisely represent what is being tested H 0 and H 1 must be mutually exhaustive (must cover all possible outcomes)

© 2002 Prentice-Hall, Inc. Chap 7-19 Level of Significance, Defines unlikely values of sample statistic if null hypothesis is true Called rejection region of the sampling distribution Is designated by, (level of significance) Typical values are.01,.05,.10 Is selected by the researcher at the beginning Provides the critical value(s) of the test

© 2002 Prentice-Hall, Inc. Chap 7-20 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

© 2002 Prentice-Hall, Inc. Chap 7-21 Example: One Tail Test Q. Does an average box of cereal contain more than 368 grams of cereal? A random sample of 25 boxes showed = The company has specified  to be 15 grams. Test at the  0.05 level. 368 gm. H 0 :  368 H 1 :  > 368

© 2002 Prentice-Hall, Inc. Chap 7-22 Finding Critical Value: One Tail Z Z Standardized Cumulative Normal Distribution Table (Portion) What is Z given  = 0.05?  =.05 Critical Value =

© 2002 Prentice-Hall, Inc. Chap 7-23 Example Solution: One Tail Test  = 0.5 n = 25 Critical Value: Test Statistic: Decision: Conclusion: Do Not Reject at  =.05 No evidence that true mean is more than 368 Z Reject H 0 :  368 H 1 :  >

© 2002 Prentice-Hall, Inc. Chap 7-24 p -Value Solution Z P-Value =.0668 Z Value of Sample Statistic From Z Table: Lookup 1.50 to Obtain.9332 Use the alternative hypothesis to find the direction of the rejection region p-Value is P(Z  1.50) =

© 2002 Prentice-Hall, Inc. Chap 7-25 p -Value Solution (continued) Z Reject (p-Value = )  (  = 0.05) Do Not Reject. p Value =  = 0.05 Test Statistic 1.50 is in the Do Not Reject Region 1.645

© 2002 Prentice-Hall, Inc. Chap 7-26 Example: Two-Tail Test Q. Does an average box of cereal contain 368 grams of cereal? A random sample of 25 boxes showed = The company has specified  to be 15 grams. Test at the  0.05 level. 368 gm. H 0 :  368 H 1 :  368

© 2002 Prentice-Hall, Inc. Chap 7-27  = 0.05 n = 25 Critical Value: ±1.96 Example Solution: Two-Tail Test Test Statistic: Decision: Conclusion: Do Not Reject at  =.05 No Evidence that True Mean is Not 368 Z Reject H 0 :  368 H 1 : 

© 2002 Prentice-Hall, Inc. Chap 7-28 p-Value Solution (p Value = )  (  = 0.05) Do Not Reject Z Reject  = p Value = 2 x Test Statistic 1.50 is in the Do Not Reject Region Reject

© 2002 Prentice-Hall, Inc. Chap 7-29 Connection to Confidence Intervals

© 2002 Prentice-Hall, Inc. Chap 7-30 t Test: Unknown Assumption Population is normally distributed If not normal, requires a large sample T test statistic with n-1 degrees of freedom

© 2002 Prentice-Hall, Inc. Chap 7-31 Example: One-Tail t Test Does an average box of cereal contain more than 368 grams of cereal? A random sample of 36 boxes showed X = 372.5, and  s  15. Test at the  0.01 level. 368 gm. H 0 :  368 H 1 :  368  is not given

© 2002 Prentice-Hall, Inc. Chap 7-32 Example Solution: One-Tail  = 0.01 n = 36, df = 35 Critical Value: Test Statistic: Decision: Conclusion: Do Not Reject at  =.01 No evidence that true mean is more than 368 t Reject H 0 :  368 H 1 : 

© 2002 Prentice-Hall, Inc. Chap 7-33 p -Value Solution t 35 Reject (p Value is between.025 and.05)  (  = 0.01). Do Not Reject. p Value = [.025,.05]  = 0.01 Test Statistic 1.80 is in the Do Not Reject Region

© 2002 Prentice-Hall, Inc. Chap 7-34 PHStat | one-sample tests | t test for the mean, sigma known … Example in excel spreadsheet t Test: Unknown in PHStat

© 2002 Prentice-Hall, Inc. Chap 7-35 Involves categorical variables Fraction or % of population in a category If two categorical outcomes, binomial distribution Either possesses or doesn’t possess the characteristic Sample proportion ( p ) Proportions

© 2002 Prentice-Hall, Inc. Chap 7-36 Example: Z Test for Proportion Problem: AstraZeneca claims that less than 5% of patients taking Nexium experience an upset stomach. Approach: To test this claim, a random sample of 500 patients were interviewed. 15 of the patients experienced stomach pain. Solution: Test at the  =.05 significance level.

© 2002 Prentice-Hall, Inc. Chap 7-37  =.05 n = 500 p = 15/500 =.03 Z Test for Proportion: Solution H 0 :  .05 H 1 :  .05 Critical Value:  Reject at Reject at  =.05 Decision: Conclusion: We do have sufficient evidence to support the claim that less than 5% of patients experience an upset stomach. Z0 Reject.05 Test Statistic: Z  p -   (1 -  ) n = (1 -.05) 500 = -2.05

© 2002 Prentice-Hall, Inc. Chap 7-38  =.05 n = 500 p = 15/500 =.03 Z Test for Proportion: Solution H 0 :  .05 H 1 :  .05 Critical Value:  Reject at Reject at  =.05 Decision: Conclusion: We do have sufficient evidence to support the claim that less than 5% of patients experience an upset stomach. Z0 Reject Ho.05 Test Statistic: Z  p -   (1 -  ) n = (1 -.05) 500 = -2.05

© 2002 Prentice-Hall, Inc. Chap 7-39 Z Test for Proportion in PHStat PHStat | one-sample tests | z test for the proportion … Example in excel spreadsheet

© 2002 Prentice-Hall, Inc. Chap 7-40 Controlling  and  A bank wishes to open a new branch if average monthly income is at least 4,000. It does not want to open the branch if average monthly income is less than or equal to 3,800. Assume that  If the bank wants:   What sample size should be used? What should the Decision Rule be?

© 2002 Prentice-Hall, Inc. Chap 7-41 H 0 :   4,00  H 1 :  ≤ 3,800 n = 99 Do not Reject H 0 if X c  $   Reject H 0 if X c < $3, = X c - 3, n = X c - 4, n 3,800 4,000 XZXZ XZXZ X c X c Do not reject H o Do not reject H 0 Reject H 0 reject H 0.05 = .01 = 

© 2002 Prentice-Hall, Inc. Chap 7-42 Potential Pitfalls and Ethical Considerations Randomize data collection method to reduce selection biases Do not manipulate the treatment of human subjects without informed consent Do not employ “data snooping” to choose between one-tail and two-tail test, or to determine the level of significance

© 2002 Prentice-Hall, Inc. Chap 7-43 Potential Pitfalls and Ethical Considerations Do not practice “data cleansing” to hide observations that do not support a stated hypothesis Report all pertinent findings (continued)

© 2002 Prentice-Hall, Inc. Chap 7-44 Chapter Summary Addressed hypothesis testing methodology Performed Z Test for the mean ( Known) Discussed p –Value approach to hypothesis testing Made connection to confidence interval estimation

© 2002 Prentice-Hall, Inc. Chap 7-45 Chapter Summary Performed one-tail and two-tail tests Performed t test for the mean ( unknown) Performed Z test for the proportion Discussed potential pitfalls and ethical considerations (continued)