BCOR 1020 Business Statistics

Slides:



Advertisements
Similar presentations
Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
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)
INFERENCE: SIGNIFICANCE TESTS ABOUT HYPOTHESES Chapter 9.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Significance Testing Chapter 13 Victor Katch Kinesiology.
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
BCOR 1020 Business Statistics
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
8-2 Basics of Hypothesis Testing
Inferences About Process Quality
BCOR 1020 Business Statistics Lecture 18 – March 20, 2008.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. A PowerPoint Presentation Package to Accompany Applied Statistics.
Overview of Statistical Hypothesis Testing: The z-Test
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Lecture Slides Elementary Statistics Twelfth Edition
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Presented by Mohammad Adil Khan
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
Prepared by Lloyd R. Jaisingh
Adapted by Peter Au, George Brown College McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Overview Basics of Hypothesis Testing
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Slide Slide 1 Chapter 8 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing 8-3 Testing a Claim about a Proportion 8-4 Testing a Claim About.
LECTURE 19 THURSDAY, 14 April STA 291 Spring
Week 7 October Three Mini-Lectures QMM 510 Fall 2014.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
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 
Copyright © 2010, 2007, 2004 Pearson Education, Inc Section 8-2 Basics of Hypothesis Testing.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Lecture 18 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
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 σ σ.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
One-Sample Hypothesis Tests Chapter99 Logic of Hypothesis Testing Statistical Hypothesis Testing Testing a Mean: Known Population Variance Testing a Mean:
Introduction Suppose that a pharmaceutical company is concerned that the mean potency  of an antibiotic meet the minimum government potency standards.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. One-Sample Hypothesis Testing Chapter99 Logic of Hypothesis Testing Statistical Hypothesis.
© 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
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.
Chapter 8: Introduction to Hypothesis Testing. Hypothesis Testing A hypothesis test is a statistical method that uses sample data to evaluate a hypothesis.
Hypothesis Testing Chapter 10 MDH Ch10 Lecture 1 9th ed. v Spring 2015 EGR Slide 1.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
Hypothesis Testing Chapter Hypothesis Testing  Developing Null and Alternative Hypotheses  Type I and Type II Errors  One-Tailed Tests About.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin One Sample Tests of Hypothesis Chapter 10.
Introduction to Inference
Introduction to Inference
Presentation transcript:

BCOR 1020 Business Statistics Lecture 19 – April 1, 2008

Overview Chapter 9 – Hypothesis Testing Logic of Hypothesis Testing Testing a Proportion (p)

Chapter 9 – Logic of Hypothesis Testing What is a statistical test of a hypothesis? Hypotheses are a pair of mutually exclusive, collectively exhaustive statements about the world. One statement or the other must be true, but they cannot both be true. We make a statement (hypothesis) about some parameter of interest. This statement may be true or false. We use an appropriate statistic to test our hypothesis. Based on the sampling distribution of our statistic, we can determine the error associated with our conclusion.

Chapter 9 – Logic of Hypothesis Testing 5 Components of a Hypothesis Test: Level of Significance, a – maximum probability of a Type I Error Usually 5% Null Hypothesis, H0 – Statement about the value of the parameter being tested Always in a form that includes an equality Alternative Hypothesis, H1 – Statement about the possible range of values of the parameter if H0 is false Usually the conclusion we are trying to reach (we will discuss.) Always in the form of a strict inequality

Chapter 9 – Logic of Hypothesis Testing 5 Components of a Hypothesis Test: Test Statistic and the Sampling Distribution of the Test statistic under the assumption that H0 is true (the equality in H0) Z and T statistics for now Decision Criteria – do we reject H0 or do we “accept” H0? P-value of the test or Comparing the Test statistic to critical regions of its distribution under H0.

Chapter 9 – Logic of Hypothesis Testing Error in a Hypothesis Test: Type I error: Rejecting the null hypothesis when it is true. a = P(Type I Error) = P(Reject H0 | H0 is True) Type II error: Failure to reject the null hypothesis when it is false. b = P(Type II Error) = P(Fail to Reject H0 | H0 is False)

Chapter 9 – Logic of Hypothesis Testing General Approach to Hypothesis Testing: Select acceptable error levels a (always chosen before conducting the test) b (often computed after the test has been conducted) Select Null and Alternative Hypotheses Based on the problem objectives A statistical hypothesis is a statement about the value of a population parameter q. A hypothesis test is a decision between two competing mutually exclusive and collectively exhaustive hypotheses about the value of q.

Chapter 9 – Logic of Hypothesis Testing The Direction of the Hypothesis Test: indicated by H1: > indicates a right-tailed test < indicates a left-tailed test ≠ indicates a two-tailed test

Chapter 9 – Logic of Hypothesis Testing When to use a One- or Two-Sided Test: A two-sided hypothesis test (i.e., q ≠ q0) is used when direction (< or >) is of no interest to the decision maker A one-sided hypothesis test is used when - the consequences of rejecting H0 are asymmetric, or - where one tail of the distribution is of special importance to the researcher. Rejection in a two-sided test guarantees rejection in a one-sided test, other things being equal.

Chapter 9 – Logic of Hypothesis Testing General Approach to Hypothesis Testing: Define an appropriate test statistic and its distribution under the null hypothesis This will vary depending on what parameter we are testing a hypothesis about and the assumptions we use. Define your decision criteria How do you decide whether to reject or “accept” H0?

Chapter 9 – Logic of Hypothesis Testing Decision Rule: A test statistic shows how far the sample estimate is from its expected value, in terms of its own standard error. The decision rule uses the known sampling distribution of the test statistic to establish the critical value that divides the sampling distribution into two regions. Reject H0 if the test statistic lies in the rejection region.

Chapter 9 – Logic of Hypothesis Testing Decision Rule for Two-Tailed Test: Reject H0 if the test statistic < left-tail critical value or if the test statistic > right-tail critical value.

Chapter 9 – Logic of Hypothesis Testing Decision Rule for Left-Tailed Test: Reject H0 if the test statistic < left-tail critical value. Decision Rule for Right-Tailed Test: Reject H0 if the test statistic > right-tail critical value.

Chapter 9 – Logic of Hypothesis Testing Decision Rule: a, the probability of a Type I error, is the level of significance (i.e., the probability that the test statistic falls in the rejection region even though H0 is true). a = P(reject H0 | H0 is true) A Type I error is sometimes referred to as a false positive. For example, if we choose a = .05, we expect to commit a Type I error about 5 times in 100.

Chapter 9 – Logic of Hypothesis Testing Decision Rule: A small a is desirable, other things being equal. Chosen in advance, common choices for a are .10, .05, .025, .01 and .005 (i.e., 10%, 5%, 2.5%, 1% and .5%). The a risk is the area under the tail(s) of the sampling distribution. In a two-sided test, the a risk is split with a/2 in each tail since there are two ways to reject H0.

Chapter 9 – Logic of Hypothesis Testing Decision Rule: b, the probability of a type II error, is the probability that the test statistic falls in the acceptance region even though H0 is false. b = P(fail to reject H0 | H0 is false) b cannot be chosen in advance because it depends on a and the sample size. A small b is desirable, other things being equal.

Chapter 9 – Logic of Hypothesis Testing Power of a Test: The power of a test is the probability that a false hypothesis will be rejected. Power = 1 – b A low b risk means high power. Larger samples lead to increased power. Power = P(reject H0 | H0 is false) = 1 – b

Chapter 9 – Logic of Hypothesis Testing Relationship Between a and b: Both a small a and a small b are desirable. For a given type of test and fixed sample size, there is a trade-off between a and b. The larger critical value needed to reduce a risk makes it harder to reject H0, thereby increasing b risk. Both a and b can be reduced simultaneously only by increasing the sample size.

Chapter 9 – Logic of Hypothesis Testing Choice of a: The choice of a should precede the calculation of the test statistic. Significance versus Importance: The standard error of most sample estimators approaches 0 as sample size increases. In this case, no matter how small, q – q0 will be significant if the sample size is large enough. Therefore, expect significant effects even when an effect is too slight to have any practical importance.

Chapter 9 –Testing a Proportion Recall our motivating example for the discussion of confidence intervals: Suppose your business is planning on bringing a new product to market. There is a business case to proceed only if the cost of production is less than $10 per unit and At least 20% of your target market is willing to pay $25 per unit to purchase this product. How do you determine whether or not to proceed? You will likely conduct experiments/surveys to estimate these variables and make appropriate inferences

Chapter 9 –Testing a Proportion Motivating Example (continued) : The percentage of your target market that is willing to pay $25 per unit to purchase this product can be modeled as the probability of a “success” for a binomial variable. You can conduct survey research on your target market. If 200 people are surveyed and 44 say they would pay $25 to purchase this product, what can you conclude? We will test an appropriate hypothesis to determine whether the proportion of our target market that is willing to pay $25 per unit exceeds 20% (as required by the business case). (Overhead)

Chapter 9 –Testing a Proportion To Test a Hypothesis on a Proportion, p : Select your level of significance, a. Usually we use a = 0.05 (or 5%). Select your null and alternative hypotheses based on the problem statement. Choose from… H0: p > p0 H1: p < p0 (ii) H0: p < p0 H1: p > p0 (iii) H0: p = p0 H1: p p0 where p0 is the null hypothesized value of p (based on the problem statement). * Since we are controlling a, the conclusion we want to test is in H1.

Chapter 9 –Testing a Proportion To Test a Hypothesis on a Proportion, p : Define the test statistic and its distribution under the null hypothesis: Start with the point estimate of p, p = X/n Recall that for a large enough n {np > 10 and n(1 – p) > 10}, p is approximately normal with and – If the null hypothesis is true, particularly if p = p0, p is approximately normal with and – Based on this, we define the following test statistic which has an approximate standard normal distribution under H0…

Chapter 9 –Testing a Proportion To Test a Hypothesis on a Proportion, p : Define the decision criteria We will compare our test statistic to critical values (based on a) of its distribution under H0. If the test statistic is more extreme than the critical value of the null distribution, we reject H0 in favor of H1. Our comparison and depends on which of the three alternative hypotheses we are considering.

Chapter 9 –Testing a Proportion To Test a Hypothesis on a Proportion, p : Define the decision criteria (continued) For the hypothesis test H0: p > p0 vs. H1: p < p0, we will reject H0 in favor of H1 if Z* < – Za. (ii) For the hypothesis test H0: p < p0 vs. H1: p > p0, we will reject H0 in favor of H1 if Z* > Za. (iii) For the hypothesis test H0: p = p0 vs. H1: p p0, we will reject H0 in favor of H1 if |Z*| > Za/2. If we decide to reject H0 in favor of H1, then we say that there is statistically significant evidence that H0 is false and H1 is true. The probability that this conclusion is wrong is no greater than a. If we decide not to reject H0 in favor of H1, then we say that H0 is plausible (but we do not know the probability that this statement is wrong – yet).

Chapter 9 –Testing a Proportion To Test a Hypothesis on a Proportion, p : Form Hypotheses Collect data Conduct test Report results Repeat and refine as necessary Back to our motivating example…

Chapter 9 –Testing a Proportion Example: We will test an appropriate hypothesis to determine whether the proportion of our target market that is willing to pay $25 per unit exceeds 20% (as required by the business case). If 200 people are surveyed and 44 say they would pay $25 to purchase this product, what can you conclude? Our point estimate, p = X/n = 44/200 =0.22 exceeds 20%. Does this mean we can conclude that the population proportion exceeds 20%? No! We must conduct the appropriate hypothesis test.

Chapter 9 –Testing a Proportion Example (continued): We will choose the level of significance, a = 0.05. If we reject H0, the probability that we have made an error (i.e. that H0 is true) will be no greater than 5%. We must choose the appropriate null and alternative hypotheses. Recall that the conclusion we are hoping to test should be in the alternative. Since we want to determine whether p exceeds 20%, we want to test… (ii) H0: p < p0 H1: p > p0

Chapter 9 –Testing a Proportion Example (continued): We calculate our test statistic for the test of the proportion… N(0,1) if H0 is true. We define our rejection criteria and make a decision based on the data. For the hypothesis test H0: p < p0 vs. H1: p > p0, we will reject H0 in favor of H1 if Z* > Za. Since we chose a = 0.05, Za = Z.05 = 1.645. Since Z* = 0.71 is not greater than Z.05 = 1.645, we will fail to reject H0 in favor of H1.

Chapter 9 –Testing a Proportion Example (continued): We state the conclusion of our hypothesis test in clear language. Since Z* = 0.71 is not greater than Z.05 = 1.645, we will fail to reject H0 in favor of H1. (This is probably not clear to someone who is not a statistician.) “Based on the data in our study, there is not statistically significant evidence that the proportion of our target market that is willing to pay $25 per unit exceeds 20%.”

Chapter 9 –Testing a Proportion Calculating the p-value of the test: The p-value of the test is the exact probability of a type I error based on the data collected for the test. It is a measure of the plausibility of H0. P-value = P(Reject H0 | H0 is True) based on our data. Formula depends on which pair of hypotheses we are testing… For the hypothesis test H0: p > p0 vs. H1: p < p0, (ii) For the hypothesis test H0: p < p0 vs. H1: p > p0, (iii) For the hypothesis test H0: p = p0 vs. H1: p p0,

Chapter 9 –Testing a Proportion Example: Let’s calculate the p-value of the test in our example… We found Z* = 0.71 Since we were testing H0: p < p0 vs. H1: p > p0, Interpretation: If we were to reject H0 based on the observed data, there is a 28% chance we would be making a type I error. Since this is larger than a = 5%, we will not reject H0. Area = 0.2839 -0.71