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

Slides:



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

Copyright © 2011 Pearson Education, Inc. Statistical Tests Chapter 16.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
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.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
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.
© 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
Hypothesis Testing: Two Sample Test for Means and Proportions
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,
© 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.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
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.
More About Significance Tests
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.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
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.
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.
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.
CHAPTER 9 Testing a Claim
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
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.
Chapter 9: Testing a Claim Section 9.2 Tests About a Population Proportion.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
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 σ σ.
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.
© 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.
Lecture Slides Elementary Statistics Twelfth Edition
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 © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter Nine Hypothesis Testing.
Statistics for Managers Using Microsoft® Excel 5th Edition
Presentation transcript:

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

Copyright © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc Concepts of Statistical Tests Type I and II Errors indicates a correct decision

Copyright © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc Concepts of Statistical Tests For Example, in a Normal Quantile Plot H 0 : Data are a sample from a normally distributed population There is only a 5% chance of any point lying outside limits. Data are close enough to line; we do not reject H 0

Copyright © 2014, 2011 Pearson Education, Inc Concepts of Statistical Tests Test Statistic  Statistical tests rely on the sampling distribution of the test statistic that estimates the parameter specified in the null and alternative hypotheses.  Key question: What is the chance of getting a test statistic this far from H 0 if H 0 is true?

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example Apparent savings of licensing the software depends on the sample proportion.

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example  The analysis of profitability indicates the manager should reject H 0 and license the software only if is is small enough (less than a threshold).

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example α Level  The threshold for rejecting H 0 depends on manager’s willingness to take a chance on licensing software that won’t be profitable  Based on the probability of making a Type I error (designated as α – level of significance)

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example Sampling distributions (n=100) for different values of p. When p = 0.2, there are the most small values of ; therefore, α is set at 5% for this value of p (which is p 0 ).

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example z-Test Assuming p=0.2, find the threshold C such that the probability that a sample with falls below it is 0.05 (shaded area is called rejection region).

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example z-Test  P (Z < ) = 0.05  Based on n=100 and SE( ) = 0.04 (note that the hypothesized value p 0 = 0.20 is used to calculate SE), then C = 0.2 – (0.04) =

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion z–Test for SPAM Software Example (review of 100 s showed 12% spam) = -2

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example  z-Test: test of H 0 based on a count of the standard errors separating H 0 from the test statistic.  The observed sample proportion is 2 standard errors below p 0. Since z < the managers rejects H 0 ; the result is statistically significant.

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example  p-Value: the smallest α level at which H 0 can be rejected.  Statistical software commonly reports the p-value of a test.

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion SPAM Software Example The p-value is the area to the left of the observed statistic

Copyright © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc Testing the Proportion p–Value for SPAM Software Example  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 © 2014, 2011 Pearson Education, Inc Testing the Proportion Type II Error  Power: probability that a test can reject 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 © 2014, 2011 Pearson Education, Inc Testing the Proportion Type II Error Probability of a Type II error if p = 0.15.

Copyright © 2014, 2011 Pearson Education, Inc Testing the Proportion Summary

Copyright © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc. 27 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 © 2014, 2011 Pearson Education, Inc. 28 4M Example 16.1: DO ENOUGH HOUSEHOLDS WATCH? Method 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 © 2014, 2011 Pearson Education, Inc. 29 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 © 2014, 2011 Pearson Education, Inc. 30 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 © 2014, 2011 Pearson Education, Inc 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 © 2014, 2011 Pearson Education, Inc Testing the Mean Example: San Francisco Rental Properties A firm is considering expanding into an expensive area in downtown San Francisco. In order to cover costs, the firm needs rents in this area to average more than $1,500 per month. Are rents in San Francisco high enough to justify the expansion?

Copyright © 2014, 2011 Pearson Education, Inc Testing the Mean Null and Alternative Hypotheses  Let µ = mean monthly rent for all rental properties in the San Francisco area  Set up hypotheses as: H 0 : µ ≤ µ 0 = $1,500 H a : µ > µ 0 = $1,500

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

Copyright © 2014, 2011 Pearson Education, Inc Testing the Mean Example: San Francisco Rental Properties  Rents obtained for a sample of size n=115; the average rent was $1,657 with s = $581.

Copyright © 2014, 2011 Pearson Education, Inc Testing the Mean Example: San Francisco Rental Properties  Computing the t-statistic: t = with 114 df; p-value = Reject H 0 ; mean rent exceeds break-even value.

Copyright © 2014, 2011 Pearson Education, Inc Testing the Mean Finding the p-Value in the t-Table Use df = 100 (closest to 114 without going over) t = falls between and 3.174

Copyright © 2014, 2011 Pearson Education, Inc Testing the Mean Summary

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

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

Copyright © 2014, 2011 Pearson Education, Inc. 41 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 264 months (January 1990 – December 2011)

Copyright © 2014, 2011 Pearson Education, Inc. 42 4M Example 16.2: COMPARING RETURNS ON INVESTMENTS Mechanics Sample yields = with s = t = with 263 df; p-value =

Copyright © 2014, 2011 Pearson Education, Inc. 43 4M Example 16.2: COMPARING RETURNS ON INVESTMENTS Message Monthly IBM returns from 1990 through 2011 earned statistically significantly higher gains than comparable investments in U.S. Treasury Bills during this period (about 1.3% versus 0.3%).

Copyright © 2014, 2011 Pearson Education, Inc Significance vs 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 © 2014, 2011 Pearson Education, Inc 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.  Most people understand the implications of confidence intervals more readily than tests.

Copyright © 2014, 2011 Pearson Education, Inc. 46 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 © 2014, 2011 Pearson Education, Inc. 47 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 © 2014, 2011 Pearson Education, Inc. 48 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.