Chapter 9 Hypothesis Testing.

Slides:



Advertisements
Similar presentations
Chapter 7 Hypothesis Testing
Advertisements

Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Hypothesis Testing 7.
7 Chapter Hypothesis Testing with One Sample
Chapter 8 Hypothesis Testing
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Section 9.1 ~ Fundamentals of Hypothesis Testing Introduction to Probability and Statistics Ms. Young.
Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.
Hypothesis Testing After 2 hours of frustration trying to fill out an IRS form, you are skeptical about the IRS claim that the form takes 15 minutes on.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
8-2 Basics of Hypothesis Testing
STATISTICS ELEMENTARY MARIO F. TRIOLA Chapter 7 Hypothesis Testing
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
Fundamentals of Hypothesis Testing: One-Sample Tests
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Section 9.2 ~ Hypothesis Tests for Population Means Introduction to Probability and Statistics Ms. Young.
Chapter 10 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.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
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.
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.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
Slide Slide 1 Hypothesis Testing 8-1 Overview 8-2 Basics of Hypothesis Testing Chapter 8.
Chapter Hypothesis Testing with One Sample 1 of 35 7  2012 Pearson Education, Inc. All rights reserved.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Copyright © 2014 Pearson Education. All rights reserved Fundamentals of Hypothesis Testing LEARNING GOAL Understand the goal of hypothesis testing.
Lecture Slides Elementary Statistics Twelfth Edition
Ch06 Hypothesis Testing.
Chapter 9 -Hypothesis Testing
Statistics for Managers Using Microsoft® Excel 5th Edition
Hypothesis Tests l Chapter 7 l 7.1 Developing Null and Alternative
9.3 Hypothesis Tests for Population Proportions
9.1 Fundamentals of Hypothesis Testing
Review of Testing a Claim
One-Sample Tests of Hypothesis
Hypothesis Testing: One Sample Cases
Chapter 7 Hypothesis Testing with One Sample.
Hypothesis Testing A hypothesis is a conjecture about a population.
FINAL EXAMINATION STUDY MATERIAL III
Unit 5: Hypothesis Testing
Review and Preview and Basics of Hypothesis Testing
Statistics Chapter 7 Review.
Chapter 9 Hypothesis Testing: Single Population
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Chapter 5 STATISTICS (PART 3).
Hypothesis Tests for 1-Sample Proportion
Hypothesis Testing: Hypotheses
Overview and Basics of Hypothesis Testing
Tests of significance: The basics
Chapter 7 Hypothesis Testing with One Sample.
Hypothesis Tests for a Population Mean in Practice
Elementary Statistics: Picturing The World
Chapter 9 Hypothesis Testing.
LESSON 20: HYPOTHESIS TESTING
Daniela Stan Raicu School of CTI, DePaul University
P-values P-value (or probability value)
Business Statistics, 5th ed. by Ken Black
Testing Hypotheses about a Population Proportion
Introduction to Hypothesis Testing
One-Sample Tests of Hypothesis
Click the mouse button or press the Space Bar to display the answers.
Chapter 9 Hypothesis Testing: Single Population
Chapter 9 Hypothesis Testing: Single Population
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Chapter 9 Hypothesis Testing

GED111/CDS111 Statistics in Modern Society Hypothesis Testing A hypothesis is a claim about a population parameter, such as a population proportion, P, H0, gives a specific value for a population parameter. When testing a claim about a population mean or population proportion, we (usually) write the null hypotheses in the form H0 : population parameter = claimed value GED111/CDS111 Statistics in Modern Society

Hypothesis Testing (cont.) The alternative hypothesis, or Ha, is a statement that the population parameter has a value that somehow differs from the value claimed in the null hypothesis. There are always 2 possible outcomes of a hypothesis test: Reject the null hypothesis, which lends support to the alternative hypothesis Do not reject the null hypothesis, note that this does not prove that the null hypothesis is true GED111/CDS111 Statistics in Modern Society

Formulating Hypotheses The manufacturer of a new fuel-conserving car advertises that the car averages 38 miles per gallon on the highway. A consumer group claims that the true mean is less than 38 miles/gal. H0 : µ = 38 miles per gallon Ha : µ < 38 miles per gallon GED111/CDS111 Statistics in Modern Society

Statistical Significance Rare Event Rule If, under a given assumption (such as the null hypothesis), the probability of a particular event at least as extreme as the observed event is very small (such as 0.05 or less), we conclude that the assumption is probably not correct. GED111/CDS111 Statistics in Modern Society

GED111/CDS111 Statistics in Modern Society p-value The p-value for a hypothesis test of a claim about a population parameter is the probability of selecting a sample at least as extreme as the observed sample, assuming that the null hypothesis is true. GED111/CDS111 Statistics in Modern Society

Example : Significance and Birth Weight A county health official believes that the mean birth weight of male babies at a local hospital is greater than the national average of 3.39 kg. A random sample of 145 male babies born at that hospital has a mean birth weight of 3.61kg, a calculation shows that the probability of selecting a sample with a mean birth weight of 3.61kg or more is 0.032. Formulate the null and alternative hypotheses What is the P-value for this sample? Is the difference between the population mean (3.39kg) and the observed mean (3.61kg) significant at the 0.05 level? GED111/CDS111 Statistics in Modern Society

Example : Significance and Birth Weight (cont.) The null hypothesis is the claim that the mean birth weight of all male babies born at this hospital is the national average of 3.39kg ; H0 : µ = 3.39kg The alternative hypothesis (formulated before the sample is selected) is the claim of the health official; Ha : µ>3.39kg The p-value is 0.032; it is the probability of randomly selecting a sample with a mean of at least 3.61 kg (assumption that the population mean is really 3.39kg GED111/CDS111 Statistics in Modern Society

Example : Significance and Birth Weight (cont.) Because the p-value is less than 0.05, the difference is significant at the 0.05 level. Based on the sample, there is sufficient evident to reject the null hypothesis, thereby supporting the alternative hypothesis that the mean weight for all male babies born at the hospital is greater than 3.39kg. GED111/CDS111 Statistics in Modern Society

Legal Analogies of Hypothesis Testing In courts of law, the fundamental principle is that a defendant is presumed innocent until proven guilty. H0 : the defendant is innocent Ha : the defendant is guilty A defendant is found guilty or NOT guilty, but they are never found to be innocent. A verdict of not guilty means the evidence is not sufficient to establish guilt, but it does not prove innocence. GED111/CDS111 Statistics in Modern Society

Medical Analogies of Hypothesis Testing A physician generally starts with the assumption of normal health (no disease) and then looks for evidence that a disease is actually present. H0 : the disease is absent. Ha : the disease is present The aim of a physician is to collect enough evidence (the sample data) to reject the null hypothesis and conclude that disease is present. GED111/CDS111 Statistics in Modern Society

GED111/CDS111 Statistics in Modern Society Exercise Q13 p378 Q15-18 p379 GED111/CDS111 Statistics in Modern Society

Setting Up hypothesis Tests Forms of the Null and Alternative Hypotheses The null hypothesis gives a specific value for a population parameter. Thus, it has the form that includes equality H0 : population parameter = claimed value The alternative hypothesis has one of the following forms (left-tailed) Ha : population parameter < claimed value (right-tailed) Ha : population parameter > claimed value (two-tailed) Ha : population parameter ≠ claimed value The hypotheses should be formulated before sample data are analyzed, and one should never test a hypothesis using the same data that suggested the hypothesis. GED111/CDS111 Statistics in Modern Society

Hypothesis Test Requirements The claimed value of the population parameter. This value may be either a population mean, µ, or a population proportion, p. The sample mean x, or the sample proportion, p. The sample size, n. In the case of a population mean, we also need the population standard deviation, σ, but for large samples we can approximate it by the sample standard deviation, s. _ ^ GED111/CDS111 Statistics in Modern Society

Hypothesis Test Requirements (cont.) We use the above information to determine the probability of observing the sample statistics found in the study (p-value), assuming the null hypothesis is true. Based on this probability, we decide whether to reject the null hypothesis. GED111/CDS111 Statistics in Modern Society

GED111/CDS111 Statistics in Modern Society Example : Mean Rental Car Mileage pp370-371 (1st ed.) Example : Pre-Election Polls pp371-372(1st ed.) Exercise : Q5-14 pp372-373(1st ed.) GED111/CDS111 Statistics in Modern Society

Stating the Results : p-values Significance levels and standard scores (normal distribution) allow us to make a yes/no decision about rejecting the null hypothesis. However, it is common practice to be more specific about the strength of the evidence for rejecting the null hypothesis. p-value is used to state the significance of the sample (observed) data. GED111/CDS111 Statistics in Modern Society

Interpretation of p-values Less than 0.01 Test is highly statistically significant and offers strong evidence against H0 0.01 to 0.05 Test is statistically significant and offers moderate evidence against H0 Greater than 0.05 Test is not statistically significant and does not offer sufficient evidence against H0 GED111/CDS111 Statistics in Modern Society

Statistical Significance and Practical Significance Consider a weight lost program that guarantees weight loss after 2 days in the program. Suppose a random sample of thousands of people in the program has a mean weight loss of 0.37 pound after 2 days and this mean weight loss proves to be significant at the 0.05 significant level (in another word, the null hypothesis of no weight loss is rejected). Despite this statistical significance, the mean weight loss of 0.37 pound is so small that it has virtually no practical significance. GED111/CDS111 Statistics in Modern Society

Statistical Significance and Practical Significance (cont.) Consider a large company in which the employees claim they are underpaid compared to the national average for workers in the same position. Suppose a sample of 50 employees has a mean monthly salary of US$2,500, compare to a national mean salary of US$2,950. A significance test give a p-value of 0.072, which is not significant at the 0.05 level. Because of factors such as large variation and a small sample, the difference of US$450 might not be statistically significant, but it could have practical significance for the employees. GED111/CDS111 Statistics in Modern Society

GED111/CDS111 Statistics in Modern Society Two-tailed Test Ha : µ ≠ claimed value Consider a drug company that seeks to be sure that its 500mg aspirin tablets really contain 500mg of aspirin. If the tablets contain less than 500mg, consumers are not getting the advertised dose. If the tablets contain more than 500mg, consumers are getting too much of the drug. Null hypothesis : the population mean of the aspirin content is 500mg; H0 : µ = 500mg Alternative hypothesis : the population mean content is either less than or greater than 500mg; Ha : µ ≠ 500mg GED111/CDS111 Statistics in Modern Society

Errors in Hypothesis Testing Type I H0 is wrongly rejected Type II Wrongly fail to reject H0 Significance level is the probability of making a type I error. GED111/CDS111 Statistics in Modern Society

Errors in Hypothesis Testing Decision Table for H0 and Ha Reality H0 True Ha True Decision Reject H0 Type I error Correct Decision Do not reject H0 Type II error GED111/CDS111 Statistics in Modern Society

GED111/CDS111 Statistics in Modern Society Exercise Q5-7 p390(1st ed.) GED111/CDS111 Statistics in Modern Society

Hypothesis Testing for Proportion Formulate H0 in the form p = claimed value. Formulate Ha in the form p< claimed value (left-tail), p>claimed value (right-tailed), or p≠claimed value (two-tailed). Identify the relevant sample statistics : the sample size, n, and the sample proportion, p. Determine the outcome of the test either by comparing the standard score with the critical value or by computing a p-value. If the p-value is less than or equal to 0.05, then the test is significant at the 0.05 level; there is sufficient evidence to reject H0. If the p-value is greater than 0.05, H0 cannot be reject. ^ GED111/CDS111 Statistics in Modern Society

GED111/CDS111 Statistics in Modern Society Exercise Chapter Review Exercise Q1 p401 GED111/CDS111 Statistics in Modern Society

GED111/CDS111 Statistics in Modern Society Focus on Agriculture Are Genetically Modified Foods Safe? Pp406-408 GED111/CDS111 Statistics in Modern Society