Testing Hypotheses Tuesday, October 28. Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-,

Slides:



Advertisements
Similar presentations
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Advertisements

Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. Testing Hypotheses About Proportions Chapter 11.
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
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.
Inference Sampling distributions 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.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. Testing Hypotheses About Proportions Chapter 11.
Significance Testing Chapter 13 Victor Katch Kinesiology.
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.
TESTING HYPOTHESES FOR A SINGLE SAMPLE
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses About Proportions Chapter 12.
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.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Statistical hypothesis testing – Inferential statistics I.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
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
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 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
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
Testing Hypotheses About Proportions
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
STT 315 This lecture is based on Chapter 6. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing.
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.
Statistical Inference Decision Making (Hypothesis Testing) Decision Making (Hypothesis Testing) A formal method for decision making in the presence of.
Chapter 10 Hypothesis Testing
Lecture 7 Introduction to Hypothesis Testing. Lecture Goals After completing this lecture, you should be able to: Formulate null and alternative hypotheses.
1 If we live with a deep sense of gratitude, our life will be greatly embellished.
Hypotheses tests for means
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.
CHAPTER 9 Testing a Claim
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.
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.
Chapter 221 What Is a Test of Significance?. Chapter 222 Thought Question 1 The defendant in a court case is either guilty or innocent. Which of these.
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 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.
Statistical Inference An introduction. Big picture Use a random sample to learn something about a larger population.
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.
CHAPTER 9 Testing a Claim
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.
Rejecting Chance – Testing Hypotheses in Research Thought Questions 1. Want to test a claim about the proportion of a population who have a certain trait.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Introduction Suppose that a pharmaceutical company is concerned that the mean potency  of an antibiotic meet the minimum government potency standards.
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.
BIOL 582 Lecture Set 2 Inferential Statistics, Hypotheses, and Resampling.
Section 9.1 First Day The idea of a significance test What is a p-value?
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Hypothesis Tests for 1-Proportion Presentation 9.
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 Testing A Claim 9.1 SIGNIFICANT TESTS: THE BASICS OUTCOME: I WILL STATE THE NULL AND ALTERNATIVE HYPOTHESES FOR A SIGNIFICANCE TEST 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.
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Testing Hypotheses Tuesday, October 28

Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-, right- or two- sided) Test statistic p-value Level of significance Rejection region Type I and II errors Power of a test

Introduction Examples of questions that can be answered by a hypothesis test are Is the proportion of people born in February equal to the proportion of days that February contains out of a year (i.e. 28/365)? Are the proportions of teenagers that favor the death penalty and adults that favor the death penalty equal?

Introduction There are five steps that should be followed when performing hypothesis tests: – Determine the null and alternative hypotheses – Verify necessary data conditions, and if they are met, summarize the data with the appropriate test statistic – Assuming the null hypothesis is true, find the p- value – Decide if the results are statistically significant based on the p-value – State your conclusion in the context of the situation

Forming Hypotheses Consider the following questions: – Does the majority of the population favor a new legal standard for the blood alcohol level that constitutes drunk driving? – Do female students study, on average, more than men do? – Will side effects be experienced by fewer than 20% of people who take some new medication? All of these questions can be answered with a “yes” or a “no”, and each makes a specific statement about a situation.

Forming Hypotheses For instance, each leads to two competing hypothesis statements: – Hypothesis 1: The proportion favoring the new blood alcohol statement is not a majority – Hypothesis 2: The proportion favoring the new blood alcohol statement is a majority Or – Hypothesis 1: On average, women do not study more than men do – Hypothesis 2: On average, women do study more than men do

Forming Hypotheses In statistical situations, these hypothesis statements are split into two categories: null hypotheses and alternative hypotheses The null hypothesis, represented by H 0, is a statement that nothing is happening. It varies from situation to situation, but it is generally thought of as the status quo, no relationship, no difference, etc. Most of the time, a researcher is trying to disprove or reject the null hypothesis.

Forming Hypotheses The alternative hypothesis, represented by H a, is a statement that something is happening. Usually, the researcher is trying to prove that the alternative hypothesis is true. It is typically a statement that goes against the status quo, or that says there is a relationship, or that there is a difference, etc.

Forming Hypotheses Examples of null hypotheses: – There is no such thing as ESP. – There is no difference in pulse rates for men and women. – There is no relationship between exercise intensity and the resulting aerobic benefit Examples of alternative hypotheses: – There is ESP – Men have a lower pulse rate than women do – Increasing exercise intensity increases aerobic benefit

Forming Hypotheses It may be easy to remember the logic of hypothesis testing and the assignment of null and alternative hypotheses as Innocent until proven guilty As in the U.S. Judicial system We assume the null hypothesis is true until we can conclusively say otherwise.

Forming Hypotheses Continuing with the pharmaceutical example, the appropriate hypotheses are: – At least 20% of people who take this new drug will experience side effects. – Less than 20% of people who take this new drug will experience side effects If we say p is the proportion of people taking the new drug who experience side effects, the null and alternative hypotheses can be rewritten as: – H 0 : p ≥.20 – H a : p <.20

Forming Hypotheses This brings us to another classification of hypotheses: one-sided or two-sided If we want to show that a proportion is less than or greater than some value, then the hypothesis test is one-sided If we want to show that a proportion is different from some value, then the hypothesis test is two-sided

Notation for Hypotheses Typically, the null hypothesis for proportions is written in one of three ways H 0 : p = null value H 0 : p ≤ null value H 0 : p ≥ null value You may notice that, in all three cases, there is always the possibility that the proportion is equal to the null value.

Notation for Hypotheses Similar to the null hypothesis, there are three ways to write the alternative hypotheses for tests about proportions H a : p ≠ null value H a : p > null value H a : p < null value In all three cases, there is no possibility that the proportion is equal to the null value.

Notation for Hypotheses In fact, the three ways to write the null and alternative hypotheses relate directly to each other – H 0 : p = null value & H a : p ≠ null value – H 0 : p ≤ null value & H a : p > null value – H 0 : p ≥ null value & H a : p < null value In each case, the null hypothesis and the alternative hypothesis state the exact opposite thing

Notation for Hypotheses Further still, each set of null and alternative hypotheses corresponds to either a one-sided, or a two-sided hypothesis test: – H 0 : p = null value & H a : p ≠ null value (two-sided) – H 0 : p ≤ null value & H a : p > null value (one-sided) – H 0 : p ≥ null value & H a : p < null value (one-sided) The sidedness of the test depends on how many sides of the null value the alternative hypothesis describes.

Logic of Hypothesis Testing Although it would be ideal if a statement could be made about whether the null hypothesis or the alternative hypothesis is true, that’s not exactly what hypothesis testing does Conclusions from hypothesis tests are based on the following question: If the null hypothesis is true about the population, what is the probability of observing the sample data that was collected?

Logic of Hypothesis Testing In fact, the correct technical interpretation of the p-value of a test is: – The probability that the data in the sample was collected, given that the null hypothesis is true This is why we typically compare the p-value to If the p-value is less than 0.05, then the corresponding interpretation is that there is a less than 5% chance that we observed our sample, or a sample with a test statistic more extreme, if the null hypothesis is true.

Logic of Hypothesis Testing Due to our logic of hypothesis testing and the interpretation of the p-value, we have to be careful when stating our conclusion for hypothesis tests The two possible conclusions should be written: – We fail to reject the null hypothesis. – We reject the null hypothesis in favor of the alternative hypothesis.

Reaching a Conclusion The process of reaching a conclusion about a hypothesis can be broken into three parts. Compute the appropriate test statistic Find the corresponding p-value for the test statistic Make a decision based on your selected level of significance (also called α level)

Computing a Test Statistic For the Big 5 parameters, the test statistics will be either t or z Each test statistic is made based on the null value. If the population parameter is equal to the null value, then the null hypothesis is true.

Computing a Test Statistic The generic format for find the test statistic for any of the Big 5 is as follows: Sometimes, the standard error depends on the null value. When this happens, the standard error is referred to as the null standard error

Incorrect Conclusions Sometimes, a sample that was randomly selected will produce an odd result. It may produce data that cause you to fail to reject the null hypothesis when the null hypothesis is actually not true. It may produce data that cause you to reject the null hypothesis when the null hypothesis is actually true Cases like these are errors

Incorrect Conclusions When the null hypothesis is actually true, but you reject it, this is called Type 1 Error, or a false positive. When the null hypothesis is actually not true, but you fail to reject it, this is called Type 2 Error, or a false negative.

Incorrect Conclusions The probability of making a Type 1 Error is actually the probability that you conclude significance when there is no significance. The probability that this happens is equal to the level of significance for your hypothesis test The level of significance is the value for the p- value at which you declare a test is statistically significant, typically 0.05.

Incorrect Conclusions The probability of a Type 2 Error is often of great interest to researchers Another way of viewing Type 2 Error is to think of it as the chance that you will not find significance if, in fact, the alternative hypothesis is actually true The probability of finding significance if the alternative hypothesis is true is called the power of a test, thus the probability of a Type 2 error is 1 – power.

Incorrect Conclusions The calculation for power is rather complicated, and it won’t be covered in this course, but there are three factors that effect power – The larger a sample size is, the higher the power will be – The larger the level of significance is, the higher the power will be – The farther the actual value for the population parameter falls from the null value, the higher the power will be

Review: If you understood today’s lecture, you should be able to solve 12.1, 12.5, 12.9, 12.17, 12.19, 12.23, 12.25, 12.27, 12.29, 12.31