Introduction to Inference Tests of Significance Errors in the justice system Actual truth Jury decision GuiltyNot guilty Guilty Not guilty Correct decision.

Slides:



Advertisements
Similar presentations
7 Chapter Hypothesis Testing with One Sample
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.
CHAPTER 21 More About Tests: “What Can Go Wrong?”.
+ Chapter 10 Section 10.4 Part 2 – Inference as Decision.
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.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
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.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
Hypothesis testing is used to make decisions concerning the value of a parameter.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Section 10.2: Errors in Hypothesis Testing. Test Procedure – the method we use to determine whether H 0 should be rejected. Type 1 Error: the error of.
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.
Significance Toolbox 1) Identify the population of interest (What is the topic of discussion?) and parameter (mean, standard deviation, probability) you.
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.
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.
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 for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
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.
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.
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.
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.
Introduction Suppose that a pharmaceutical company is concerned that the mean potency  of an antibiotic meet the minimum government potency standards.
© 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.
Introduction to Hypothesis Testing
What is a Hypothesis? A hypothesis is a claim (assumption) about the population parameter Examples of parameters are population mean or proportion The.
Type I and Type II Errors Section Starter An agronomist examines the cellulose content of a variety of alfalfa hay. Suppose that the cellulose.
Statistical Techniques
Hypothesis Testing.  Hypothesis is a claim or statement about a property of a population.  Hypothesis Testing is to test the claim or statement  Example.
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.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
+ 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.
Introduction to Inference Tests of Significance Proof
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?
Introduction to Inference
Errors in Hypothesis Tests
Power of a test.
CHAPTER 9 Testing a Claim
Errors in Hypothesis Tests
Errors in Hypothesis Tests
Errors in Hypothesis Tests
Elementary Statistics: Picturing The World
CHAPTER 9 Testing a Claim
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Using Inference to Make Decisions
CHAPTER 9 Testing a Claim
Introduction to Inference
Power of a Test.
Errors in Hypothesis Tests
Introduction to Inference
Errors in Hypothesis Tests
Power of a test.
Errors in Hypothesis Tests
Chapter 9: Testing a Claim
  Pick a card….
CHAPTER 9 Testing a Claim
Homework: pg. 727 & ) A. Ho: p=0.75, Ha:p>0.75
Errors in Hypothesis Tests
Inference as Decision Section 10.4.
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Introduction to Inference Tests of Significance

Errors in the justice system Actual truth Jury decision GuiltyNot guilty Guilty Not guilty Correct decision Type I error Type II error

“No innocent man is jailed” justice system Actual truth Jury decision GuiltyNot guilty Guilty Not guilty Type I error Type II error smaller larger

“No guilty man goes free” justice system Actual truth Jury decision GuiltyNot guilty Guilty Not guilty Type I error Type II error smaller larger

Errors in the justice system Actual truth Jury decision GuiltyNot guilty Guilty Not guilty Correct decision Type I error Type II error (H a true)(H 0 true) (reject H 0 ) (fail to reject H 0 )

Type I and Type II example Water samples are taken from water used for cooling as it is being discharged from a power plant into a river. It has been determined that as long as the mean temperature of the discharged water is at most 150 o F, there will be no negative effects on the river's ecosystem. To investigate whether the plant is in compliance with regulations that prohibit a mean discharge water temperature above 150 o, 50 water samples will be taken at randomly selected times, and the temperature of each sample recorded. The resulting data will be used to test the hypotheses H o :  = 150 o versus H a :  > 150 o.

Type I and Type II example Type I error: We think the water temperature is greater than 150 o, but actually the temperature is equal to 150 o. Consequence: We falsely accuse the plant of producing water too hot and harming the environment when nothing wrongful was done.

Type I and Type II example Type II error: We think the water temperature is equal to 150 o, but actually the temperature is greater than 150 o. Consequence: We believe the plant’s water is a normal temperature, when actually they are harming the environment.

Type I and Type II errors If we believe H a when in fact H 0 is true, this is a type I error. If we believe H 0 when in fact H a is true, this is a type II error. Type I error: if we reject H 0 and it’s a mistake. Type II error: if we fail to reject H 0 and it’s a mistake. APPLET

Type I and Type II example A distributor of handheld calculators receives very large shipments of calculators from a manufacturer. It is too costly and time consuming to inspect all incoming calculators, so when each shipment arrives, a sample is selected for inspection. Information from the sample is then used to test Ho: p =.02 versus Ha: p <.02, where p is the true proportion of defective calculators in the shipment. If the null hypothesis is rejected, the distributor accepts the shipment of calculators. If the null hypothesis cannot be rejected, the entire shipment of calculators is returned to the manufacturer due to inferior quality. (A shipment is defined to be of inferior quality if it contains 2% or more defectives.)

Type I and Type II example Type I error: We think the proportion of defective calculators is less than 2%, but it’s actually 2% (or more). Consequence: Accept shipment that has too many defective calculators so potential loss in revenue.

Type I and Type II example Type II error: We think the proportion of defective calculators is 2%, but it’s actually less than 2%. Consequence: Return shipment thinking there are too many defective calculators, but the shipment is ok.

Type I and Type II example Distributor wants to avoid Type I error. Choose  =.01 Calculator manufacturer wants to avoid Type II error. Choose  =.10

Concept of Power Definition? Power is the capability of accomplishing something… The power of a test of significance is…

Power Example In a power generating plant, pressure in a certain line is supposed to maintain an average of 100 psi over any 4 - hour period. If the average pressure exceeds 103 psi for a 4 - hour period, serious complications can evolve. During a given 4 - hour period, thirty random measurements are to be taken. The standard deviation for these measurements is 4 psi (graph of data is reasonably normal), test H o :  = 100 psi versus the alternative “new” hypothesis  = 103 psi. Test at the alpha level of.01. Calculate a type II error and the power of this test. In context of the problem, explain what the power means.

Type I error and   is the probability that we think the mean pressure is above 100 psi, but actually the mean pressure is 100 psi (or less)

Type I error and 

Type II error and 

 is the probability that we think the mean pressure is 100 psi, but actually the pressure is greater than 100 psi.

Power?

For a sample size of 30, there is a.9495 probability that this test of significance will correctly detect if the pressure is above 100 psi.

Concept of Power The power of a test of significance is the probability that the null hypothesis will be correctly rejected. Because the true value of  is unknown, we cannot know what the power is for , but we are able to examine “what if” scenarios to provide important information. Power = 1 – 