Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.1 Chapter 9 Introduction to Hypothesis Testing.

Slides:



Advertisements
Similar presentations
Is it statistically significant?
Advertisements

Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Introduction to Hypothesis Testing
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Introduction to 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.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 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.
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.
Ch. 9 Fundamental of Hypothesis Testing
Chapter 8 Introduction to Hypothesis Testing
BCOR 1020 Business Statistics
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
Type II Error, Power and Sample Size Calculations
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
1 Economics 173 Business Statistics Lectures 3 & 4 Summer, 2001 Professor J. Petry.
Chapter 10 Hypothesis Testing
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
Introduction to Hypothesis Testing
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Business Statistics,
Introduction to Biostatistics and Bioinformatics
Fundamentals of Hypothesis Testing: One-Sample Tests
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Statistics for Business and Economics
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Chapter 10 Hypothesis Testing
Chapter 4 Introduction to Hypothesis Testing Introduction to Hypothesis Testing.
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:
Chapter 8 Introduction to Hypothesis Testing
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
Significance testing and confidence intervals Col Naila Azam.
Copyright © 2009 Cengage Learning Chapter 11 Introduction to Hypothesis Testing.
Chapter 20 Testing hypotheses about proportions
Lecture 16 Dustin Lueker.  Charlie claims that the average commute of his coworkers is 15 miles. Stu believes it is greater than that so he decides to.
1 Chapter 8 Hypothesis Testing 8.2 Basics of Hypothesis Testing 8.3 Testing about a Proportion p 8.4 Testing about a Mean µ (σ known) 8.5 Testing about.
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.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 11 Introduction to Hypothesis Testing Sir Naseer Shahzada.
Chapter 20 Testing Hypothesis about proportions
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 σ σ.
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.
1 Hypothesis Testing A criminal trial is an example of hypothesis testing. In a trial a jury must decide between two hypotheses. The null hypothesis is.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
HYPOTHESIS TESTING E. Çiğdem Kaspar, Ph.D, Assist. Prof. Yeditepe University, Faculty of Medicine Biostatistics.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
Chapter Nine Hypothesis Testing.
Keller: Stats for Mgmt & Econ, 7th Ed
Keller: Stats for Mgmt & Econ, 7th Ed Hypothesis Testing
Introduction to Hypothesis Testing
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Nonstatistical Hypothesis Testing… A criminal trial is an example of hypothesis testing without the statistics. In a trial a jury must decide between two hypotheses. The null hypothesis is H 0 : The defendant is innocent The alternative hypothesis or research hypothesis is H A : The defendant is guilty The jury does not know which hypothesis is true. They must make a decision on the basis of evidence presented.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Nonstatistical Hypothesis Testing… In the language of statistics convicting the defendant is called rejecting the null hypothesis in favor of the alternative hypothesis. That is, the jury is saying that there is enough evidence to conclude that the defendant is guilty (i.e., there is enough evidence to support the alternative hypothesis). If the jury acquits it is stating that there is not enough evidence to support the alternative hypothesis. Notice that the jury is not saying that the defendant is innocent, only that there is not enough evidence to support the alternative hypothesis. That is why we never say that we accept the null hypothesis.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Nonstatistical Hypothesis Testing… There are two possible errors. A Type I error occurs when we reject a true null hypothesis. That is, a Type I error occurs when the jury convicts an innocent person. We would want the probability of this type of error [maybe – beyond a reasonable doubt] to be very small for a criminal trial where a conviction results in the death penalty. P(Type I error) =  [usually 0.05 or 0.01]

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Nonstatistical Hypothesis Testing… A Type II error occurs when we fail to reject a false null hypothesis. That occurs when a guilty defendant is acquitted. In practice, this type of error is by far the most serious mistake we normally make. For example, if we test the hypothesis that the amount of medication in a heart pill is equal to a value which will cure your heart problem and “accept the null hypothesis that the amount is ok”. Later on we find out that the average amount is WAY too large and people die from “too much medication” [I wish we had rejected the hypothesis and threw the pills in the trash can], it’s too late because we shipped the pills to the public.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Nonstatistical Hypothesis Testing… The probability of a Type I error is denoted as α (Greek letter alpha). The probability of a type II error is β (Greek letter beta). The two probabilities are inversely related. Decreasing one increases the other, for a fixed sample size. In other words, you can’t have  and β both real small for any old sample size. You may have to take a much larger sample size, or in the court example, you need much more evidence.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Types of Errors… A Type I error occurs when we reject a true null hypothesis (i.e. Reject H 0 when it is TRUE) A Type II error occurs when we fail to reject a false null hypothesis (i.e. Do NOT reject H 0 when it is FALSE) H0H0 TF Reject I II

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Nonstatistical Hypothesis Testing… The critical concepts are theses: There are two hypotheses, the null and the alternative hypotheses. The procedure begins with the assumption that the null hypothesis is true. The goal is to determine whether there is enough evidence to infer that the alternative hypothesis is true, or the null is not likely to be true. There are two possible decisions: Conclude that there is enough evidence to support the alternative hypothesis. Reject the null. Conclude that there is not enough evidence to support the alternative hypothesis. Fail to reject the null.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Concepts of Hypothesis Testing (1)… The two hypotheses are called the null hypothesis and the other the alternative or research hypothesis. The usual notation is: H 0 : — the null hypothesis H A : — the alternative hypothesis The null hypothesis (H 0 ) will always state that the parameter equals the value specified in the alternative hypothesis (H A ) pronounced H “nought”

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Concepts of Hypothesis Testing… Consider the average or mean demand for computers during assembly lead time. Rather than estimate the mean demand, our operations manager wants to know whether the mean is different from 350 units. In other words, someone is claiming that the mean time is 350 units and we want to check this claim out to see if it appears reasonable. We can rephrase this request into a test of the hypothesis: H 0 : = 350 units Thus, our research hypothesis becomes: H A : ≠ 350 units This will be a two-sided test. The standard deviation σ is to be 75, the sample size n is 25, and the sample mean is

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Concepts of Hypothesis Testing… If we’re trying to decide whether the mean is not equal to 350, a large value of (600), then would provide enough evidence. If is close to 350 (say, 355) we could not say that this provides a great deal of evidence to infer that the population mean is different than 350.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Concepts of Hypothesis Testing The two possible decisions that can be made:  Conclude that there is enough evidence to support the alternative hypothesis (also stated as: reject the null hypothesis in favor of the alternative)  Conclude that there is not enough evidence to support the alternative hypothesis (also stated as: failing to reject the null hypothesis in favor of the alternative) NOTE: we do not say that we accept the null hypothesis.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Concepts of Hypothesis Testing… The testing procedure begins with the assumption that the null hypothesis is true. Thus, until we have further statistical evidence, we will assume: H 0 : = 350 units (assumed to be TRUE) The next step will be to determine the sampling distribution of the sample mean assuming the true mean is 350. is normal with 350

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Is the Sample Mean in the “Guts” of the Sampling Distribution??

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Is the sample mean located in the “Guts” of the sampling distribution? Is in the guts of the sampling distribution? It depends on what you define as the “guts” of the sampling distribution. If we define the guts as the center 95% of the distribution [this means  = 0.05], then the critical values that define the guts will be 1.96 standard deviations from x-bar on either side of the mean of the sampling distribution [350], or Upper bound = *15 = = units Lower bound = 350 – 1.96*15 = 350 – 29.4 = units Method # 1: The Unstandardized Test Statistic Approach

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Unstandardized Test Statistic Approach The sample mean is located in the 95% region, so we fail to reject the null hypotheses. This is a two-sided test, so we have one of two possible regions of rejection.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Is the Z-score of the sample mean located within the guts of the sampling distribution or is it located in the reject region outside of the “guts”? We defined the “guts” of the sampling distribution to be the center 95% [  = 0.05]. The remaining 5% is split up into the two tails. If the Z-Score for the sample mean is greater than 1.96, we know that will be in the reject region on the right side or… If the Z-Score for the sample mean is less than -1.97, we know that will be in the reject region on the left side. Is this Z-Score in the guts of the sampling distribution? Method # 2: The Standardized Test Statistic Approach

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Standardized Test Statistic Approach The z-score is in the 95% region, so we fail to reject the null hypotheses.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Is the p-value higher or lower than the alpha level? The p-value approach is generally used with a calculator. Will the “Rejection Region” “capture” the sample mean? For this example, since is to the right of the mean, calculate P( > ) = P(Z > 1.344) = Since this is a two tailed test, you must double this area for the p- value. p-value = 2*(0.0901) = Since we defined the guts as the center 95% [  = 0.05], the reject region is the other 5%. Since our sample mean,, is in the 18.02% region, it cannot be in our 5% rejection region [  = 0.05]. Method # 3: The p-value approach

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc The p-value approach “The p-value is low, so let it go (we fail to reject the null hypotheses)”

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc The P-value approach When referring to the p-value… “When it’s low, let it go. We reject the null hypotheses. When it’s high, let it fly, so we fail to reject the null hypotheses.”

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Statistical Conclusions: Unstandardized Test Statistic: Since LCV (320.6) < (370.16) < UCV (379.4), we reject the null hypothesis at a 5% level of significance. Standardized Test Statistic: Since -Z  /2 (-1.96) < Z(1.344) < Z  /2 (1.96), we fail to reject the null hypothesis at a 5% level of significance. P-value: Since p-value (0.1802) > 0.05 [  ], we fail to reject the hull hypothesis at a 5% level of significance.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example… A department store manager determines that a new billing system will be cost-effective only if the mean monthly account is more than $170. A random sample of 400 monthly accounts is drawn, for which the sample mean is $178. The accounts are approximately normally distributed with a standard deviation of $65. Can we conclude that the new system will be cost-effective?

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example… The system will be cost effective if the mean account balance for all customers is greater than $170. We express this belief as our research hypothesis:

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example… The Rejection Region The rejection region is a range of values such that if the test statistic falls into that range, we decide to reject the null hypothesis in favor of the alternative hypothesis. is the critical value of to reject H 0.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example…

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example… The Big Picture… = =178 Reject H 0 in favor of

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Interpreting the p-value… The smaller the p-value, the more statistical evidence exists to support the alternative hypothesis. If the p-value is less than 1%, there is overwhelming evidence that supports the alternative hypothesis. If the p-value is between 1% and 5%, there is a strong evidence that supports the alternative hypothesis. If the p-value is between 5% and 10% there is a weak evidence that supports the alternative hypothesis. If the p-value exceeds 10%, there is no evidence that supports the alternative hypothesis. We observe a p-value of.0069, hence there is overwhelming evidence to support H A : > $170.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Interpreting the p-value… Overwhelming Evidence (Highly Significant) Strong Evidence (Significant) Weak Evidence (Not Significant) No Evidence (Not Significant) p=.0069

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Conclusions of a Test of Hypothesis… If we reject the null hypothesis, we conclude that there is enough evidence to infer that the alternative hypothesis is true. If we fail to reject the null hypothesis, we conclude that there is not enough statistical evidence to infer that the alternative hypothesis is true. This does not mean that we have proven that the null hypothesis is true! Keep in mind that committing a Type I error OR a Type II error can be VERY bad depending on the problem.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc One tail test with rejection region on right

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc One tail test with rejection region on left The rejection region will be in the left tail.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Two tail test with rejection region in both tails The rejection region is split equally between the two tails.

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example… Students work

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example… The rejection region is set up so we can reject the null hypothesis when the test statistic is large or when it is small. That is, we set up a two-tail rejection region. The total area in the rejection region must sum to, so we divide  by 2. stat is “small”stat is “large”

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example… At a 5% significance level (i.e. =.05), we have /2 =.025. Thus, z.025 = 1.96 and our rejection region is: z 1.96 z -z.025 +z.025 0

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Example2… AT&T study reported that = Using our standardized test statistic: We find that: Since z = 1.19 is not greater than 1.96, nor less than –1.96 we cannot reject the null hypothesis in favor of H A. That is “there is insufficient evidence to infer that there is a difference between the bills of AT&T and the competitor.”

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Summary of One- and Two-Tail Tests… One-Tail Test (left tail) Two-Tail TestOne-Tail Test (right tail)