Copyright © 2011 Pearson Education, Inc. Statistical Tests Chapter 16.

Slides:



Advertisements
Similar presentations
Tests of Hypotheses Based on a Single Sample
Advertisements

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.
STATISTICAL INFERENCE PART V
Tests of significance Confidence intervals are used when the goal of our analysis is to estimate an unknown parameter in the population. A second goal.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
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.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
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.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Statistics for Managers Using Microsoft® Excel 5th Edition
Hypothesis Testing: Two Sample Test for Means and Proportions
Review for Exam 2 Some important themes from Chapters 6-9 Chap. 6. Significance Tests Chap. 7: Comparing Two Groups Chap. 8: Contingency Tables (Categorical.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
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
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
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
More About Significance Tests
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
CHAPTER 16: Inference in Practice. Chapter 16 Concepts 2  Conditions for Inference in Practice  Cautions About Confidence Intervals  Cautions About.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
© 2003 Prentice-Hall, Inc.Chap 7-1 Business Statistics: A First Course (3 rd Edition) Chapter 7 Fundamentals of Hypothesis Testing: One-Sample Tests.
Significance Tests: THE BASICS Could it happen by chance alone?
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Copyright © 2011 Pearson Education, Inc. Comparison Chapter 18.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Testing of Hypothesis Fundamentals of Hypothesis.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Active Learning Lecture Slides For use with Classroom Response Systems Chapter 16 Statistical Tests.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 18 Inference for Counts.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 16 Statistical Tests.
CHAPTER 9 Testing a Claim
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Introduction to Inferece BPS chapter 14 © 2010 W.H. Freeman and Company.
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.
Statistics 101 Chapter 10 Section 2. How to run a significance test Step 1: Identify the population of interest and the parameter you want to draw conclusions.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
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 σ σ.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
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.
© Copyright McGraw-Hill 2004
Review of Statistics.  Estimation of the Population Mean  Hypothesis Testing  Confidence Intervals  Comparing Means from Different Populations  Scatterplots.
AP Statistics Chapter 11 Notes. Significance Test & Hypothesis Significance test: a formal procedure for comparing observed data with a hypothesis whose.
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.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 9 Testing a Claim 9.2 Tests About a Population.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
A.P. STATISTICS EXAM REVIEW TOPIC #2 Tests of Significance and Confidence Intervals for Means and Proportions Chapters
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.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Chapter Nine Hypothesis Testing.
Presentation transcript:

Copyright © 2011 Pearson Education, Inc. Statistical Tests Chapter 16

16.1 Concepts of Statistical Tests A manager is evaluating software to filter SPAM s (cost $15,000). To make it profitable, the software must reduce SPAM to less than 20%. Should the manager buy the software?  Use a statistical test to answer this question  Consider the plausibility of a specific claim (claims are called hypotheses) Copyright © 2011 Pearson Education, Inc. 3 of 40

16.1 Concepts of Statistical Tests Null and Alternative Hypotheses  Statistical hypothesis: claim about a parameter of a population.  Null hypothesis (H 0 ): specifies a default course of action, preserves the status quo.  Alternative hypothesis (H a ): contradicts the assertion of the null hypothesis. Copyright © 2011 Pearson Education, Inc. 4 of 40

16.1 Concepts of Statistical Tests SPAM Software Example Let p = that slips past the filter H 0 : p ≥ 0.20 H a : p < 0.20 These hypotheses lead to a one-sided test. Copyright © 2011 Pearson Education, Inc. 5 of 40

16.1 Concepts of Statistical Tests One- and Two-Sided Tests  One-sided test: the null hypothesis allows any value of a parameter larger (or smaller) than a specified value.  Two-sided test: the null hypothesis asserts a specific value for the population parameter. Copyright © 2011 Pearson Education, Inc. 6 of 40

16.1 Concepts of Statistical Tests Type I and II Errors  Reject H 0 incorrectly (buying software that will not be cost effective)  Retain H 0 incorrectly (not buying software that would have been cost effective) Copyright © 2011 Pearson Education, Inc. 7 of 40

16.1 Concepts of Statistical Tests Type I and II Errors indicates a correct decision Copyright © 2011 Pearson Education, Inc. 8 of 40

16.1 Concepts of Statistical Tests Other Tests  Visual inspection for association, normal quantile plots and control charts all use tests of hypotheses.  For example, the null hypothesis in a visual test for association is that there is no association between two variables shown in the scatterplot. Copyright © 2011 Pearson Education, Inc. 9 of 40

16.1 Concepts of Statistical Tests Sampling Distribution  Statistical tests rely on the sampling distribution of the statistic that estimates the parameter specified in the null and alternative hypotheses.  Key question: What is the chance of getting a sample that differs from H 0 by as much as this one if H 0 is true? Copyright © 2011 Pearson Education, Inc. 10 of 40

16.2 Testing the Proportion SPAM Software Example  Based on n = 100, =  Assuming H 0 is true, the sampling distribution of is approximately normal with mean p = 0.20 and SE( ) = 0.04 (note that the hypothesized value p 0 = 0.20 is used to calculate SE). Copyright © 2011 Pearson Education, Inc. 11 of 40

16.2 Testing the Proportion SPAM Software Example What is the chance of making a Type I error? Possible sampling distributions for. Chance of a Type I error shown in shaded area. Copyright © 2011 Pearson Education, Inc. 12 of 40

16.2 Testing the Proportion z–Test and p-Value  p-Value: the largest chance of a Type I error if H 0 is rejected based on the observed test statistic.  z-Test: test of H 0 based on a count of the standard errors separating H 0 from the test statistic. Copyright © 2011 Pearson Education, Inc. 13 of 40

16.2 Testing the Proportion z–Test for SPAM Software Example = Copyright © 2011 Pearson Education, Inc. 14 of 40

16.2 Testing the Proportion p–Value for SPAM Software Example Interpret the p-value as a weight of evidence against H 0 ; small values mean that H 0 is not plausible. Copyright © 2011 Pearson Education, Inc. 15 of 40

16.2 Testing the Proportion α-Value  α-Value: threshold that sets the maximum tolerance for a Type I error.  Statistically significant: data contradict the null hypothesis and lead us to reject H 0 (p-value < α).  The p-value in the SPAM example is less than the typical α of 0.05; should buy the software. Copyright © 2011 Pearson Education, Inc. 16 of 40

16.2 Testing the Proportion Type II Error  Power: probability that a test rejects H 0.  If a test has little power when H 0 is false, it is likely to miss meaningful deviations from the null hypothesis and produce a Type II error. Copyright © 2011 Pearson Education, Inc. 17 of 40

16.2 Testing the Proportion Summary Copyright © 2011 Pearson Education, Inc. 18 of 40

16.2 Testing the Proportion Checklist  SRS condition: the sample is a simple random sample from the relevant population.  Sample size condition (for proportion): both np 0 and n(1 - p 0 ) are larger than 10. Copyright © 2011 Pearson Education, Inc. 19 of 40

4M Example 16.1: DO ENOUGH HOUSEHOLDS WATCH? Motivation The Burger King ad featuring Coq Roq won critical acclaim. In a sample of 2,500 homes, MediaCheck found that only 6% saw the ad. An ad must be viewed by 5% or more of households to be effective. Based on these sample results, should the local sponsor run this ad? Copyright © 2011 Pearson Education, Inc. 20 of 40

4M Example 16.1: DO ENOUGH HOUSEHOLDS WATCH? Mehod Set up the null and alternative hypotheses. H 0 : p ≤ 0.05 H a : p > 0.05 Use α = Note that p is the population proportion who watch this ad. Both SRS and sample size conditions are met. Copyright © 2011 Pearson Education, Inc. 21 of 40

4M Example 16.1: DO ENOUGH HOUSEHOLDS WATCH? Mechanics Perform a one-sided z-test for a proportion. z = 2.3 with p-value of Reject H 0. Copyright © 2011 Pearson Education, Inc. 22 of 40

4M Example 16.1: DO ENOUGH HOUSEHOLDS WATCH? Message The results are statistically significant. We can conclude that more than 5% of households watch this ad. The Burger King Coq Roq ad is cost effective and should be run. Copyright © 2011 Pearson Education, Inc. 23 of 40

16.3 Testing the Mean Similar to Tests of Proportions  The hypothesis test of µ replaces with.  Unlike the test of proportions, σ is not specified. Use s from the sample as an estimate of σ to calculate the estimated standard error of. Copyright © 2011 Pearson Education, Inc. 24 of 40

16.3 Testing the Mean Example: Denver Rental Properties A firm is considering expanding into the Denver area. In order to cover costs, the firm needs rents in this area to average more than $500 per month. Are Denver rents high enough to justify the expansion? Copyright © 2011 Pearson Education, Inc. 25 of 40

16.3 Testing the Mean Null and Alternative Hypotheses  Let µ = mean monthly rent for all rental properties in the Denver area  Set up hypotheses as: H 0 : µ ≤ µ 0 = $500 H a : µ > µ 0 = $500 Copyright © 2011 Pearson Education, Inc. 26 of 40

16.3 Testing the Mean t - Statistic  Used in the t-test for µ (since s estimates σ)  The t-statistic, with n-1 df, is Copyright © 2011 Pearson Education, Inc. 27 of 40

16.3 Testing the Mean Example: Denver Rental Properties  The firm obtained rents for a sample of size n=45; the average rent was $647 with s = $299. t = with 44 df; p-value = Reject H 0 ; mean rent exceeds break-even value. Copyright © 2011 Pearson Education, Inc. 28 of 40

16.3 Testing the Mean Finding the p-Value in the t-Table t = is larger than any value in the row Copyright © 2011 Pearson Education, Inc. 29 of 40

16.3 Testing the Mean Summary Copyright © 2011 Pearson Education, Inc. 30 of 40

16.3 Testing the Mean Checklist  SRS condition: the sample is a simple random sample from the relevant population.  Sample size condition. Unless the population is normally distributed, a normal model can be used to approximate the sampling distribution of if n is larger than 10 times both the squared skewness and absolute value of kurtosis. Copyright © 2011 Pearson Education, Inc. 31 of 40

4M Example 16.2: COMPARING RETURNS ON INVESTMENTS Motivation Does stock in IBM return more, on average, than T-Bills? From 1980 through 2005, T- Bills returned 5% each month. Copyright © 2011 Pearson Education, Inc. 32 of 40

4M Example 16.2: COMPARING RETURNS ON INVESTMENTS Method Let µ = mean of all future monthly returns for IBM stock. Set up the hypotheses as H 0 : µ ≤ H a : µ > Sample consists of monthly returns on IBM for 312 months (January 1980 – December 2005) Copyright © 2011 Pearson Education, Inc. 33 of 40

4M Example 16.2: COMPARING RETURNS ON INVESTMENTS Mechanics Sample yields = with s = t = 1.22 with 311 df; p-value = Copyright © 2011 Pearson Education, Inc. 34 of 40

4M Example 16.2: COMPARING RETURNS ON INVESTMENTS Message Monthly IBM returns from 1980 through 2005 do not bring statistically significantly higher earnings than comparable investments in US Treasury Bills during this period. Copyright © 2011 Pearson Education, Inc. 35 of 40

16.4 Other Properties of Tests Significance versus Importance  Statistical significance does not mean that you have made an important or meaningful discovery.  The size of the sample affects the p-value of a test. With enough data, a trivial difference from H 0 leads to a statistically significant outcome. Copyright © 2011 Pearson Education, Inc. 36 of 40

16.4 Other Properties of Tests Confidence Interval or Test?  A confidence interval provides a range of parameter values that are compatible with the observed data.  A test provides a precise analysis of a specific hypothesized value for a parameter. Copyright © 2011 Pearson Education, Inc. 37 of 40

Best Practices  Pick the hypotheses before looking at the data.  Choose the null hypothesis on the basis of profitability.  Pick the α level first, taking into account both types of error.  Think about whether α = 0.05 is appropriate for each test. Copyright © 2011 Pearson Education, Inc. 38 of 40

Best Practices (Continued)  Make sure to have an SRS from the right population.  Use a one-sided test.  Report a p–value to summarize the outcome of a test. Copyright © 2011 Pearson Education, Inc. 39 of 40

Pitfalls  Do not confuse statistical significance with substantive importance.  Do not think that the p–value is the probability that the null hypothesis is true.  Avoid cluttering a test summary with jargon. Copyright © 2011 Pearson Education, Inc. 40 of 40