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.

Slides:



Advertisements
Similar presentations
Anthony Greene1 Simple Hypothesis Testing Detecting Statistical Differences In The Simplest Case:  and  are both known I The Logic of Hypothesis Testing:
Advertisements

Chapter 9 Hypothesis Testing Understandable Statistics Ninth Edition
+ Chapter 10 Section 10.4 Part 2 – Inference as Decision.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Hypothesis Testing: Type II Error and Power.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 21 – April 8, 2008.
IENG 486 Statistical Quality & Process Control
BCOR 1020 Business Statistics
Section 7-2 Hypothesis Testing for the Mean (n  30)
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Hypothesis Testing – Introduction
Confidence Intervals and Hypothesis Testing - II
Presented by Mohammad Adil Khan
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Hypothesis Testing.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Tests of significance & hypothesis testing Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Means Tests Hypothesis Testing Assumptions Testing (Normality)
The Probability of a Type II Error and the Power of the Test
Overview Basics of Hypothesis Testing
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Hypothesis Testing with ONE Sample
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Section 7.1 Introduction to Hypothesis Testing Larson/Farber 4th ed.
AP STATISTICS LESSON 10 – 4 ( DAY 1 ) INFERENCE AS DECISION.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
 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.
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution.
Correct decisions –The null hypothesis is true and it is accepted –The null hypothesis is false and it is rejected Incorrect decisions –Type I Error The.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Chapter 9: Power I can make really good decisions. Chapter 9: Power Target Goal: I can make really good decisions. 9.1d h.w: pg 548: 23, 25.
Type I and Type II Errors. An analogy may help us to understand two types of errors we can make with inference. Consider the judicial system in the US.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Logic and Vocabulary of Hypothesis Tests Chapter 13.
Chapter Seven Hypothesis Testing with ONE Sample.
Section 9.1(re-visited)  Making Sense of Statistical Significance  Inference as Decision.
Tests with Fixed Significance Level Target Goal: I can reject or fail to reject the null hypothesis at different significant levels. I can determine how.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Hypothesis Testing.
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.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Chapter Ten McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. One-Sample Tests of Hypothesis.
Chapter 7 Hypothesis Testing with One Sample Let’s begin…
Level of Significance Level of significance Your maximum allowable probability of making a type I error. – Denoted by , the lowercase Greek letter alpha.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Chapter Making Sense of Statistical Significance & Inference as Decision.
SWBAT: -Determine whether to use a one or two tailed test and calculate the necessary p-value -Make and interpret a decision based on the results of a.
Chapter 9: Hypothesis Tests for One Population Mean 9.5 P-Values.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
9.3 Hypothesis Tests for Population Proportions
Making Sense of Statistical Significance Inference as Decision
Hypothesis Testing for Proportions
Review and Preview and Basics of Hypothesis Testing
Hypothesis Testing – Introduction
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
CONCEPTS OF HYPOTHESIS TESTING
P-value Approach for Test Conclusion
AP Statistics: Chapter 21
Section 10.3 Making Sense of Statistical Significance
Power Section 9.7.
Power of a test.
  Pick a card….
Homework: pg. 727 & ) A. Ho: p=0.75, Ha:p>0.75
Inference as Decision Section 10.4.
Statistical Test A test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to.
Name:.
Presentation transcript:

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

We use the results of a significance test to make a decision. We measure evidence by the P-value, which is the probability computed under the assumption that H o is true. Then we either reject the null hypothesis in favor of the alternative hypothesis, or we accept the null hypothesis. This is called acceptance sampling. (Hand draw curve with detail as a class.)

Reject H 0 00 p value Accept H 0 (Fail to Reject H 0 )

We hope that our decision will be correct, but it is possible that we make the wrong decision. There are two ways to make a wrong decision: Reading is fun!

We can reject the null hypothesis when in fact it is true. This is called a Type I Error. We can accept (fail to reject) the null hypothesis when in fact it is false (H a is true). This is called a Type II Error. Reading is fun!

We are interested in knowing the probability of making a Type I Error and the probability of making a Type II Error. Failing to reject H o means deciding that H o is true.

A Type I Error occurs if we reject the null hypothesis when it is in fact true. When do we reject the null hypothesis? When we assume that it is true and find that the statistic of interest falls in the rejection region. The probability that the statistic falls in the rejection region is the area of the shaded region, or α.

Therefore the probability of a Type I Error is equal to the significance level α of a fixed level test. (The probability that the test will reject the null hypothesis H 0 when in fact H 0 is true, is α.) Accept H 0 (Fail to Reject H 0 ) Reject H 0 00 

Ex : Are these Potato Chips too Salty? Inspector will reject entire batch if sample mean salt content differs from 2mg at the 5% significance level. H o : μ = 2 mean salt content is 2 mg H a : μ ≠ 2 mean salt content differs from 2mg

The company statistician computes the z statistic: and rejects H o if z 1.96 (based on two sided,.025 each tail, 5% sig level) [invnorm(.975) = 1.96] (2 tails:.025 each)

A Type I error is if we reject H o when in fact H o : μ = 2. The potato chip company decides to reject any batch with a mean salt content as far away from 2 as 2.05.

A Type II error is to accept H o when in fact μ = A Type II Error occurs if we accept (or fail to reject) the null hypothesis when it is in fact false. When do we accept (or fail to reject) the null hypothesis? When we assume that it is true and find that the statistic of interest falls outside the rejection region.

However, the probability that the statistic falls outside the rejection region is NOT the area of the unshaded region. Think about it… If the null hypothesis is in fact false, then the picture is NOT CORRECT… it is off center.

To calculate the probability of a Type II Error, we must find the probability that the statistic falls outside the rejection region (the unshaded area) given that the mean is some other specified value (shifted graph).

Rejection Region:  0   00 aa Acceptance Region:  0 :

Ex: Calculating Type II Error Step 1: Write the rule for accepting H o in terms of. The test accepts H o when ≤ ≤ Solve for x bar. Reading is fun! Now we need to find the Type II the endpoints with the alternative value!

Step 2: Find the probability of accepting H o assuming that the alternative is true. Take μ = 2.05 and standardize. P(Type II error) = Use table or, normcdf(-5.49,-1.58) = (note: this only captures the type II range)

Step 3: Interpret the results. The probability of tells us that this test will lead us to fail to reject H o : μ = 2 in about 6% of all batches of chips with μ = In other words, we will accept 6% of batches of potato chips so bad that their mean salt content is 2.05 mg.

Since we used α = 0.05, the probability of a Type I error is This means that we will reject 5% of all good batches of chips for which μ = 2.

Read I N G Is ?????