Errors in Hypothesis Tests. When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility that.

Slides:



Advertisements
Similar presentations
Power of a test. power The power of a test (against a specific alternative value) Is a tests ability to detect a false hypothesis Is the probability that.
Advertisements

 When we perform a hypothesis test, we make a decision to either Reject the Null Hypothesis or Fail to Reject the Null Hypothesis.  There is always the.
More About Type I and Type II Errors. O.J. Simpson trial: the situation O.J. is assumed innocent. Evidence collected: size 12 Bruno Magli bloody footprint,
CHAPTER 21 More About Tests: “What Can Go Wrong?”.
+ Chapter 10 Section 10.4 Part 2 – Inference as Decision.
SECTION 8.1 BASIC PRINCIPLES OF HYPOTHESIS TESTING Copyright ©2014 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Section 9.2: What is a Test of Significance?. Remember… H o is the Null Hypothesis ▫When you are using a mathematical statement, the null hypothesis uses.
Errors in Hypothesis Tests. When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility that.
Power of a test. power The power of a test (against a specific alternative value) Is the probability that the test will reject the null hypothesis when.
Power of a Test Notes: P 183 and on your own paper.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Errors in Hypothesis Tests. When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility that.
Using Inference to Make Decisions
Errors in Hypothesis Tests. When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility that.
AP STATS: PROJECT Take 5-10 minutes to brainstorm ideas for your final project. Proposals will be due on Friday (rough drafts will be peer edited on Thursday).
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.
Errors & Power. 2 Results of Significant Test 1. P-value < alpha 2. P-value > alpha Reject H o & conclude H a in context Fail to reject H o & cannot conclude.
 When we perform a hypothesis test, we make a decision to either Reject the Null Hypothesis or Fail to Reject the Null Hypothesis.  There is always the.
Hypothesis Testing – A Primer. Null and Alternative Hypotheses in Inferential Statistics Null hypothesis: The default position that there is no relationship.
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.
Errors in Hypothesis Tests Notes: P When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility.
Power of a Hypothesis test. H 0 True H 0 False Reject Fail to reject Type I Correct Type II Power   Suppose H 0 is true – what if we decide to fail.
Errors in Hypothesis Tests. When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility that.
Type I and Type II Error AP Stat Review, April 18, 2009.
© 2001 Prentice-Hall, Inc.Chap 9-1 BA 201 Lecture 14 Fundamentals of Hypothesis Testing.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
Goals… Define what is meant by a Type I error. Define what is meant by a Type II error. Define what is meant by the power of a test. Identify the relationship.
Introduction to Inference Tests of Significance Errors in the justice system Actual truth Jury decision GuiltyNot guilty Guilty Not guilty Correct decision.
Section 10.5 Types of Errors HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All rights.
Inference as Design Target Goal: I can calculate and interpret a type I and type II error. 9.1c h.w: pg 547: 15, 19, 21.
Power of a test. power The power of a test (against a specific alternative value) Is In practice, we carry out the test in hope of showing that the null.
Type I and II Errors Power.  Better Batteries a) What conclusion can you make for the significance level α = 0.05? b) What conclusion can you make for.
HYPOTHESIS TESTING E. Çiğdem Kaspar, Ph.D, Assist. Prof. Yeditepe University, Faculty of Medicine Biostatistics.
Chapter 21 More About Hypothesis Tests Using a Single Sample.
 In a Hypothesis test there are two possible mistakes Null Hypothesis TrueFalse Result of Hypothesis Test Reject Fail to Reject Correct Type I Error.
Chapter 10 Lesson 10.2 Hypotheses and Test Procedures 10.2: Errors in Hypothesis Testing.
Lesson 2: Section 9.1 (part 2).  Interpret a Type I Error and a Type II Error in context, and give the consequences of each.  Understand the relationship.
MSE 600 Descriptive Statistics Chapter 11 & 12 in 6 th Edition (may be another chapter in 7 th 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.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
INTRODUCTION TO TESTING OF HYPOTHESIS INTRODUCTION TO TESTING OF HYPOTHESIS SHWETA MOGRE.
Errors in Hypothesis Tests
Warm Up #’s 12, 14, and 16 on p. 552 Then answer the following question; In a jury trial, what two errors could a jury make?
Section Testing a Proportion
Errors in Hypothesis Tests
Power of a test.
Chapter 9: Testing a Claim
Power of a test.
Power of a test.
Errors in Hypothesis Tests
Errors in Hypothesis Tests
Errors in Hypothesis Tests
A Closer Look at Testing
P-value Approach for Test Conclusion
Using Inference to Make Decisions
Significance Tests: The Basics
Introduction to Inference
Errors in Hypothesis Tests
Errors In Hypothesis tests
Another Example Consider a very popular computer game played by millions of people all over the world. The average score of the game is known to be
Introduction to Inference
Errors in Hypothesis Tests
More About Tests Notes from
Power of a test.
Power of a test.
Power of a test.
Errors in Hypothesis Tests
Power of a test.
Errors in Hypothesis Tests
Power Problems.
Presentation transcript:

Errors in Hypothesis Tests

When you perform a hypothesis test you make a decision: When you make one of these decisions, there is a possibility that you could be wrong! That you made an error! reject H 0 or fail to reject H 0

There are two decisions that we make; reject or fail to reject. Each could possibly be a wrong decision; therefore, there are two types of errors.

Type I error When you reject the null hypothesis that is really true i.e. Reject when you should have failed to reject The probability of a type I error is 

Type II error When you fail to reject the null hypothesis when it is false i.e. fail to reject when you should have rejected The probability of a type II error is 

The probability of correctly rejecting a false null hypothesis. Power is the probability that the test will do what it is supposed to do i.e. reject the null hypothesis when in fact it should be rejected. Power Power = 1 – β

H 0 TrueH 0 False Reject Fail to reject Type I error Correct Type II error Suppose H 0 is true & we fail to reject it, what type of decision was made? Suppose H 0 is false & we reject it, what type of decision was made? Suppose H 0 is true & we reject it, what type of decision was made? Suppose H 0 is false & we fail to reject it, what type of decision was made?   POWER

Facts: Every time you make a decision, you have potentially made an error.  &  are inversely related 00  aa  Fail to reject H 0 Reject H 0 As  decreases,  increases As  increases,  decreases

Facts continued: The seriousness of the error types is determined by the specific situations. –Depending upon the situation type I or type II may be the more serious. DO NOTWe often DO NOT know if an error is made in real life. –Except for cases like Firestone tires Drugs like: Phen-phen & Vioxx Someone made an error with these products

Let’s look at a jury trial. a)State the hypotheses H 0 = the defendant is found not guilty H a = the defendant is found guilty b) What type of error is committed when a guilty person is found not guilty? Type II c) What type of error is committed when an innocent person is found guilty? Type I d) Which of the two type of errors do you believe our justice system considers to be the more serious mistake? Type I – an innocent person is judged guilty This is why we have the appeals process. e) State the power in context of the problem? The probability that we find a guilty person guilty.

Lay’s Chip Company decides to accept a truck load of potatoes based upon the result obtained from a sample of potatoes from the truck load. a)State the null and alternative hypotheses in words. H 0 = potatoes are good (we keep them) H a = potatoes are not good (we send them back) b) Identify a Type I error in context of the problem. We determined the potatoes were bad when they were actually good and we sent them back The supplier could lose money. c) Explain a consequence of the Type I error.

Lay’s Chip Company decides to accept a truck load of potatoes based upon the result obtained form a sample of potatoes from the truck load. d) Identify a Type II error in context of the problem. We failed to identify bad potatoes and kept them a)State the null and alternative hypotheses in words. H 0 = potatoes are good (we keep them) H a = potatoes are not good (we send them back) By keeping bad potatoes we could create a bad product e) Explain a consequence of the Type II error.

Lay’s Chip Company decides to accept a truck load of potatoes based upon the result obtained form a sample of potatoes from the truck load. a)State the null and alternative hypotheses in words. H 0 = potatoes are good (we keep them) H a = potatoes are not good (we send them back) Type II – keeping the bad potatoes f) Which consequence do you consider the more serious error (if you were the company)? g) State the power in context of the problem? The probability that we correctly identified bad potatoes as bad an sent them back.

A doctor is considering a new medication to help fight infections. However, the medication has the possibility of being highly toxic to the patient. You will test the medication to determine toxicity. What are the hypotheses? What are the Type I & II errors? Which is more serious? H 0 : medicine is not toxic H a : medicine is toxic Type I: say medicine is toxic when it really isn’t Type II : say medicine isn’t toxic when it really is Most would consider a type II error more serious since people could be harmed.