Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests

Slides:



Advertisements
Similar presentations
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Advertisements

Chap 9-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Basic Business Statistics 12 th Edition Chapter 9 Fundamentals of Hypothesis.
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.
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.
Chapter 10 Hypothesis Testing
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.
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
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
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.
Chapter 9 Hypothesis Testing: Single Population
Chapter 10 Hypothesis Testing
Fundamentals of Hypothesis Testing: One-Sample Tests İŞL 276.
© 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.
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.
Topic 8 Hypothesis Testing Mathematics & Statistics Statistics.
Copyright ©2011 Pearson Education 9-1 Statistics for Managers using Microsoft Excel 6 th Global Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample.
© 2002 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First course 4th Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Statistics for Managers 5th Edition Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
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.
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.
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.
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
Chapter 10 Hypothesis Testing
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 9 Hypothesis Testing: Single Population
Statistics for Managers using Excel 3rd Edition
Fundamentals of Hypothesis Testing: One-Sample Tests
Chapter 9 Hypothesis Testing: Single Population
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests

Goals of this note After completing this noe, you should be able to: Formulate null and alternative hypotheses for applications involving a single population mean or proportion Formulate a decision rule for testing a hypothesis Know how to use the p-value approaches to test the null hypothesis for both mean and proportion problems Know what Type I and Type II errors are

What is a Hypothesis? A hypothesis is a claim (assumption) about a population parameter: population mean population proportion The average number of TV sets in U.S. homes is equal to three ( ) A marketing company claims that it receives 8% responses from its mailing. ( p=.08 )

The Null Hypothesis, H0 States the assumption to be tested Example: The average number of TV sets in U.S. Homes is equal to three ( ) Is always about a population parameter, not about a sample statistic

The Null Hypothesis, H0 (continued) 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 “=” , “≤” or “” sign May or may not be rejected

The Alternative Hypothesis, H1 Is the opposite of the null hypothesis e.g.: The average number of TV sets in U.S. homes is not equal to 3 ( H1: μ ≠ 3 ) Challenges the status quo Never contains the “=” , “≤” or “” sign Is generally the hypothesis that is believed (or needs to be supported) by the researcher

Hypothesis Testing We assume the null hypothesis is true If the null hypothesis is rejected we have proven the alternate hypothesis If the null hypothesis is not rejected we have proven nothing as the sample size may have been to small

Hypothesis Testing Process Claim: the population mean age is 50. (Null Hypothesis: Population H0: μ = 50 ) Now select a random sample X Is = 20 likely if μ = 50? Suppose the sample If not likely, REJECT mean age is 20: X = 20 Sample Null Hypothesis

Sampling Distribution of H0: μ = 50 H1: μ ¹ 50 There are two cutoff values (critical values), defining the regions of rejection /2 /2 X 50 Reject H0 Do not reject H0 Reject H0 20 Likely Sample Results Lower critical value Upper critical value

Level of Significance,  Defines the unlikely values of the sample statistic if the null hypothesis is true Defines rejection region of the sampling distribution Is designated by  , (level of significance) Typical values are .01, .05, or .10 Is the compliment of the confidence coefficient Is selected by the researcher before sampling Provides the critical value of the test

Level of Significance and the Rejection Region Represents critical value a a H0: μ = 3 H1: μ ≠ 3 /2 /2 Rejection region is shaded Two tailed test H0: μ ≤ 3 H1: μ > 3 a Upper tail test H0: μ ≥ 3 H1: μ < 3 a Lower tail test

Errors in Making Decisions Type I Error When a true null hypothesis is rejected The probability of a Type I Error is  Called level of significance of the test Set by researcher in advance Type II Error Failure to reject a false null hypothesis The probability of a Type II Error is β

Possible Jury Trial Outcomes Example Possible Jury Trial Outcomes The Truth Verdict Innocent Guilty Innocent No error Type II Error Guilty Type I Error No Error

Outcomes and Probabilities Possible Hypothesis Test Outcomes Actual Situation Decision H0 True H0 False Key: Outcome (Probability) Do Not No error (1 - ) Type II Error ( β ) Reject a H Reject Type I Error ( ) No Error ( 1 - β ) H a

Type I & II Error Relationship Type I and Type II errors can not happen at the same time Type I error can only occur if H0 is true Type II error can only occur if H0 is false If Type I error probability (  ) , then Type II error probability ( β )

p-Value Approach to Testing p-value: Probability of obtaining a test statistic more extreme ( ≤ or  ) than the observed sample value given H0 is true Also called observed level of significance

p-Value Approach to Testing (continued) Convert Sample Statistic (e.g. ) to Test Statistic (e.g. t statistic ) Obtain the p-value from a table or computer Compare the p-value with  If p-value <  , reject H0 If p-value   , do not reject H0 X

8 Steps in Hypothesis Testing 1. State the null hypothesis, H0 State the alternative hypotheses, H1 2. Choose the level of significance, α 3. Choose the sample size, n 4. Determine the appropriate test statistic to use 5. Collect the data 6. Compute the p-value for the test statistic from the sample result 7. Make the statistical decision: Reject H0 if the p-value is less than alpha 8. Express the conclusion in the context of the problem

Hypothesis Tests for the Mean  Known  Unknown

Hypothesis Testing Example Test the claim that the true mean # of TV sets in U.S. homes is equal to 3. 1. State the appropriate null and alternative hypotheses H0: μ = 3 H1: μ ≠ 3 (This is a two tailed test) 2. Specify the desired level of significance Suppose that  = .05 is chosen for this test 3. Choose a sample size Suppose a sample of size n = 100 is selected

Hypothesis Testing Example (continued) 4. Determine the appropriate Test σ is unknown so this is a t test 5. Collect the data Suppose the sample results are n = 100, = 2.84 s = 0.8 6. So the test statistic is: The p value for n=100, =.05, t=-2 is .048

Hypothesis Testing Example (continued) 7. Is the test statistic in the rejection region? Reject H0 if p is < alpha; otherwise do not reject H0 The p-value .048 is < alpha .05, we reject the null hypothesis

Hypothesis Testing Example (continued) 8. Express the conclusion in the context of the problem Since The p-value .048 is < alpha .05, we have rejected the null hypothesis Thereby proving the alternate hypothesis Conclusion: There is sufficient evidence that the mean number of TVs in U.S. homes is not equal to 3 If we had failed to reject the null hypothesis the conclusion would have been: There is not sufficient evidence to reject the claim that the mean number of TVs in U.S. home is 3

One Tail Tests In many cases, the alternative hypothesis focuses on a particular direction This is a lower tail test since the alternative hypothesis is focused on the lower tail below the mean of 3 H0: μ ≥ 3 H1: μ < 3 This is an upper tail test since the alternative hypothesis is focused on the upper tail above the mean of 3 H0: μ ≤ 3 H1: μ > 3

Lower Tail Tests a H0: μ ≥ 3 H1: μ < 3 There is only one critical value, since the rejection area is in only one tail a Reject H0 Do not reject H0 -t 3 Critical value

Upper Tail Tests H0: μ ≤ 3 H1: μ > 3 There is only one critical value, since the rejection area is in only one tail a Do not reject H0 Reject H0 t tα 3 Critical value

Assumptions of the One-Sample t Test The data is randomly selected The population is normally distributed or the sample size is over 30 and the population is not highly skewed

Hypothesis Tests for Proportions Involves categorical values Two possible outcomes “Success” (possesses a certain characteristic) “Failure” (does not possesses that characteristic) Fraction or proportion of the population in the “success” category is denoted by p

Proportions Sample proportion in the success category is denoted by ps (continued) Sample proportion in the success category is denoted by ps When both np and n(1-p) are at least 5, ps can be approximated by a normal distribution with mean and standard deviation

Hypothesis Tests for Proportions The sampling distribution of ps is approximately normal, so the test statistic is a Z value: Hypothesis Tests for p np  5 and n(1-p)  5 np < 5 or n(1-p) < 5 Not discussed in this chapter

Example: Z Test for Proportion A marketing company claims that it receives 8% responses from its mailing. To test this claim, a random sample of 500 were surveyed with 25 responses. Test at the  = .05 significance level. Check: n p = (500)(.08) = 40 n(1-p) = (500)(.92) = 460 

Z Test for Proportion: Solution Test Statistic: H0: p = .08 H1: p ¹ .08 a = .05 n = 500, ps = .05 Critical Values: ± 1.96 p-value for -2.47 is .0134 Decision: Reject H0 at  = .05 Reject Reject .025 .025 There is sufficient evidence to reject the company’s claim of 8% response rate. Conclusion: z -1.96 1.96 -2.47

Potential Pitfalls and Ethical Considerations Use randomly collected data to reduce selection biases Do not use human subjects without informed consent Choose the level of significance, α, before data collection Do not employ “data snooping” to choose between one-tail and two-tail test, or to determine the level of significance Do not practice “data cleansing” to hide observations that do not support a stated hypothesis Report all pertinent findings

Summary Addressed hypothesis testing methodology Discussed critical value and p–value approaches to hypothesis testing Discussed type 1 and Type2 errors Performed two tailed t test for the mean (σ unknown) Performed Z test for the proportion Discussed one-tail and two-tail tests Addressed pitfalls and ethical issues