 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.

Slides:



Advertisements
Similar presentations
Type I and II Errors What are type I and II errors and what do they mean?
Advertisements

Introduction to Hypothesis Testing
Hypothesis Testing 7.
 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.
CHAPTER 21 More About Tests: “What Can Go Wrong?”.
+ Chapter 10 Section 10.4 Part 2 – Inference as Decision.
AP Statistics – Chapter 9 Test Review
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
Hypothesis Testing: Type II Error and Power.
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.
Overview of Statistical Hypothesis Testing: The z-Test
Hypothesis testing is used to make decisions concerning the value of a parameter.
Hypothesis Testing.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Chapter 8 Hypothesis Testing : An Introduction.
Hypothesis Testing (Statistical Significance). Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample.
Using Inference to Make Decisions
I ’ ve got the Power! Hypothesis Tests When we perform a hypothesis test, we make a decision to either Reject the Null Hypothesis or Fail to Reject the.
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.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
AP STATISTICS LESSON 10 – 4 ( DAY 1 ) INFERENCE AS DECISION.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
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.
Chapter 9 Tests of Hypothesis Single Sample Tests The Beginnings – concepts and techniques Chapter 9A.
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.
Statistical Inference Statistical Inference involves estimating a population parameter (mean) from a sample that is taken from the population. Inference.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Education 793 Class Notes Decisions, Error and Power Presentation 8.
1 Where we are going : a graphic: Hypothesis Testing. 1 2 Paired 2 or more Means Variances Proportions Categories Slopes Ho: / CI Samples Ho: / CI Ho:
Math 4030 – 9a Introduction to Hypothesis Testing
Section 9.1(re-visited)  Making Sense of Statistical Significance  Inference as Decision.
+ 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.
STA Lecture 221 !! DRAFT !! STA 291 Lecture 22 Chapter 11 Testing Hypothesis – Concepts of Hypothesis Testing.
Introduction to Hypothesis Testing
Introduction to Inference Tests of Significance Errors in the justice system Actual truth Jury decision GuiltyNot guilty Guilty Not guilty Correct decision.
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.
WARM – UP Are twin births on the rise in the United States? In % of all births produced twins. In 2009 Data from an SRS of 469 mothers in a large.
1 Section 8.2 Basics of Hypothesis Testing Objective For a population parameter (p, µ, σ) we wish to test whether a predicted value is close to the actual.
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.
Power of a Test. Remember: Type I error – Reject the H 0 when you shouldn’t have. Type II error - Fail to reject the H o when you should have.
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.
Chapter 21 More About Hypothesis Tests Using a Single Sample.
More about tests and intervals CHAPTER 21. Do not state your claim as the null hypothesis, instead make what you’re trying to prove the alternative. The.
+ Testing a Claim Significance Tests: The Basics.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Introduction to Inference Tests of Significance Proof
Making Sense of Statistical Significance Inference as Decision
Introduction to Inference
Type I & Type II Errors And Power
Power of a test.
Power of a test.
CONCEPTS OF HYPOTHESIS TESTING
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Using Inference to Make Decisions
Introduction to Inference
Power of a Test.
Section 10.3 Making Sense of Statistical Significance
Errors In Hypothesis tests
Introduction to Inference
Power of a test.
Power of a test.
  Pick a card….
Homework: pg. 727 & ) A. Ho: p=0.75, Ha:p>0.75
Power of a test.
Power Problems.
Inference as Decision Section 10.4.
Power and Error What is it?.
Name:.
Presentation transcript:

 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 possibility that we made an incorrect decision.  We can make an incorrect decision in two ways:

1. If we reject the null when in fact the null is true, this is a Type I error 2. If we fail to reject the null when in fact the null is false, this is a Type II error.

 A Type I error is the mistake of rejecting the null hypothesis when it is true.  In testing for a medical disease, the null hypothesis is usually the assumption that a person is healthy. A Type I error is a false positive; a healthy person is diagnosed with the disease.  The probability of rejecting the null hypothesis when it is true is equal to the alpha-level of the test.  If alpha =.05, in the long-run, we will incorrectly reject the null hypothesis when it is really true about 5% of the time.

 A type II error is made when we fail to reject the null hypothesis when it is false and the alternative is true. Prob(Type II Error) =  In medical testing for a disease, this would be equivalent to a person who has the disease being diagnosed as disease free. This is called a false negative.  Our ability to detect a false hypothesis is called the power of the test. The Power of a Test is the probability that it correctly rejects a false null hypothesis. Power = 1 - Prob (Type II Error) or

Ex: Let, and. Describe both types of error and their consequences.

Time for a worksheet!

A new car had been released for which the manufacturer reports that the car gets 23mpg for city driving. A consumer group feels that the true mileage is lower and performs the following hypothesis test, using α =.05. Assumptions: The gas mileage in the sample of 30 cars comes from an SRS drawn from the population of all mileage and the standard deviation is known, δ = 1.2. Null and alternate hypothesis: What is a Type I error in the context of this problem? What is a Type II error in the context of this problem?

The Probability of Type I error is, ! The Probability of Type II error is, and is dependent upon the following

Ex: the mean salt content of a certain brand of potato chip is supposed to be 2 mg. The salt contents vary normally with standard deviation.1 mg. For each batch produced, an inspector takes a sample of 5 chips and measures the salt content. The entire batch is rejected if the mean salt content of the sample is significantly higher than 2mg, at the 5% significance level. The company has decided that having a mean salt content that is.05mg higher than believed is entirely unacceptable. Name the null and alternate hypothesis. Explain the meaning of a type I error in this problem. Find the probability of a type I error. Rule:

Suppose that a baseball player who has always been a.250 career hitter suddenly improves over one winter to the point where the probability of getting a hit during an at-bat is.333. He asks management to renegotiate his contract, since he is a more valuable player now. Management has no reason to believe that he is better than a.250 hitter. Suppose they decide to give the player 20 at-bats to show that his true batting average is greater than.250.

 H(o): p =.250 H(a): p >.250  If alpha is set at 0.05, and the player is given 20 at-bats to show that he has improved, what does his average need to be after those 20 at-bats in order to reject the null hypothesis?

If he is really a.333 hitter, how often will he have the necessary average of about.410 with n=20 at-bats, necessary to reject the null hypothesis?

Alpha = 0.05 Null Hypothesis p = Alternative Hypothesis The Truth p= Retain Null Type II Error Reject Null Power

The value is the power of the test to detect the change. In other words, approximately 22.5% of the time, we will be able to correctly reject the null hypothesis that the batter is a.250 hitter, in favor of the alternative hypothesis (if the player has a.333 batting average).

 A type II error is the probability of making the incorrect decision to fail to reject the null hypothesis when it is false. In this case the probability of a type II error is To calculate the probability of a Type II error, you need to state an alternative value, in this case p=0.333  Power = 1 - Prob(Type II Error) Power = 1 - beta

The is the probability of Ways to increase