The process for setting up a hypothesis test: State the statistical model State your NULL HYPOTHESIS, H 0 State your ALTERNATE HYPOTHESIS, H 1 State the.

Slides:



Advertisements
Similar presentations
S2 Chapter 7: Hypothesis Testing Dr J Frost Last modified: 3 rd October 2014.
Advertisements

1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Lesson Objective Be able to used Cumulative Probability tables Understand the basic principles behind Hypothesis testeing.
Hypothesis Testing “Teach A Level Maths” Statistics 2 Hypothesis Testing © Christine Crisp.
Introduction to Hypothesis Testing
Introduction to Hypothesis Testing
Chapter 9 Hypothesis Testing 9.4 Testing a Hypothesis about a Population Proportion.
Chapter 10 Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
CHAPTER 2 Statistical Inference 2.1 Estimation  Confidence Interval Estimation for Mean and Proportion  Determining Sample Size 2.2 Hypothesis Testing:
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Hypothesis testing is used to make decisions concerning the value of a parameter.
Hypothesis Testing - An Example Hypothesis Testing situation Sid says that he has psychic powers and can read people’s thoughts. To test this claim, a.
Fundamentals of Hypothesis Testing: One-Sample Tests
HYPOTHESIS TESTING: A FORM OF STATISTICAL INFERENCE Mrs. Watkins AP Statistics Chapters 23,20,21.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Hypothesis (significance) Testing Using the Binomial Distribution.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Procedure for Hypothesis Testing 1. Establish the null hypothesis, H 0. 2.Establish.
Hypothesis Testing for Proportions
Inference for Proportions
© Nuffield Foundation 2011 Nuffield Free-Standing Mathematics Activity Rain or shine? Spreadsheet activity.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
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.
Ch. 9 examples.
10.1: Confidence Intervals Falls under the topic of “Inference.” Inference means we are attempting to answer the question, “How good is our answer?” Mathematically:
HYPOTHESIS TESTING. A hypothesis test is a procedure for deciding if a null hypothesis should be accepted or rejected in favour of an alternative hypothesis.
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.
Unit 8 Section 8-1 & : Steps in Hypothesis Testing- Traditional Method  Hypothesis Testing – a decision making process for evaluating a claim.
Advanced Math Topics Tests Concerning Means for Large Samples.
Exercise - 1 A package-filling process at a Cement company fills bags of cement to an average weight of µ but µ changes from time to time. The standard.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
C HAPTER 4  Hypothesis Testing -Test for one and two means -Test for one and two proportions.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Testing for the proportion of success
Today: Hypothesis testing. Example: Am I Cheating? If each of you pick a card from the four, and I make a guess of the card that you picked. What proportion.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
C HAPTER 2  Hypothesis Testing -Test for one means - Test for two means -Test for one and two proportions.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter Nine Hypothesis Testing.
Chapter 9 Hypothesis Testing
Section 8.2 Day 3.
Significance Test for the Difference of Two Proportions
Hypothesis Testing for Proportions
STA 291 Spring 2010 Lecture 18 Dustin Lueker.
Section 8.2 Day 4.
CHAPTER 9 Testing a Claim
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Chapter 9 Hypothesis Testing
Chapter 9: Hypothesis Testing
LESSON 20: HYPOTHESIS TESTING
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Hypothesis Tests for Proportions
Chapter 10 Analyzing the Association Between Categorical Variables
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
CHAPTER EIGHT TESTS OF HYPOTHESES
Lesson Objective Be able to used Cumulative Probability tables
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
Carrying Out Significance Tests
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
CHAPTER 9 Testing a Claim
Chapter 9 Hypothesis Testing: Single Population
CHAPTER 9 Testing a Claim
Section 11.1: Significance Tests: Basics
Section 8.2 Day 2.
Significance level = 6 is rolled ……….. times n = Glue here
Presentation transcript:

The process for setting up a hypothesis test: State the statistical model State your NULL HYPOTHESIS, H 0 State your ALTERNATE HYPOTHESIS, H 1 State the significance level Test your statistic against the significance level State your conclusion in context e.g. X ~ B(10, 0.2) or X ~ Po(4) e.g. H o : p = 0.2 or H 0 : λ = 4 e.g. H 1 : p > 0.2 or H 1 : λ ≠ 4 e.g. S.L. = 5% (one or two tailed) e.g. P(X > 5) e.g. Whether you accept H 0 or not and what this means in context

State your NULL HYPOTHESIS (H 0 ) H 0 : p = 0.25 Michelle said she was telepathic. She constructed a simple experiment to confirm this. She placed four different coloured discs in a bag, selected one, ensuring her friend could not see it, concentrated on the colour and then asked her friend to guess the colour. She repeated the process 20 times and her friend managed to guess correctly 9 times. Michelle felt this result indicated that she was telepathic. Would you agree? Test her claim at the 5% significance level.

State your ALTERNATE HYPOTHESIS (H 1 ) H 0 : p = 0.25 H 1 : p > 0.25 Michelle said she was telepathic. She constructed a simple experiment to confirm this. She placed four different coloured discs in a bag, selected one, ensuring her friend could not see it, concentrated on the colour and then asked her friend to guess the colour. She repeated the process 20 times and her friend managed to guess correctly 9 times. Michelle felt this result indicated that she was telepathic. Would you agree? Test her claim at the 5% significance level.

State your SIGNIFICANCE LEVEL H 0 : p = 0.25 H 1 : p > 0.25 S.L. : 5% (one tailed)

Michelle said she was telepathic. She constructed a simple experiment to confirm this. She placed four different coloured discs in a bag, selected one, ensuring her friend could not see it, concentrated on the colour and then asked her friend to guess the colour. She repeated the process 20 times and her friend managed to guess correctly 9 times. Michelle felt this result indicated that she was telepathic. Would you agree? Test her claim at the 5% significance level. State the statistical model H 0 : p = 0.25 H 1 : p > 0.25 S.L. : 5% (one tailed) X ~ B(20, 0.25)

Michelle said she was telepathic. She constructed a simple experiment to confirm this. She placed four different coloured discs in a bag, selected one, ensuring her friend could not see it, concentrated on the colour and then asked her friend to guess the colour. She repeated the process 20 times and her friend managed to guess correctly 9 times. Michelle felt this result indicated that she was telepathic. Would you agree? Test her claim at the 5% significance level. Test your statistic H 0 : p = 0.25 H 1 : p > 0.25 S.L. : 5% (one tailed) X ~ B(20, 0.25) P(X ≥ 9) = 1 – P(X ≤ 8) = 1 – = = 4.09%

Michelle said she was telepathic. She constructed a simple experiment to confirm this. She placed four different coloured discs in a bag, selected one, ensuring her friend could not see it, concentrated on the colour and then asked her friend to guess the colour. She repeated the process 20 times and her friend managed to guess correctly 9 times. Michelle felt this result indicated that she was telepathic. Would you agree? Test her claim at the 5% significance level. Make a conclusion in context H 0 : p = 0.25 H 1 : p > 0.25 S.L. : 5% (one tailed) X ~ B(20, 0.25) P(X ≥ 9) = 1 – P(X ≤ 8) = 1 – = = 4.09% 4.09% is below the 5% significance level Reject H 0 and accept H 1, p > 0.25 Evidence to suggest she may be telepathic

Every year a statistics teacher takes her class out to observe the traffic passing the school gates during a Tuesday lunch hour. Over the years she has established that the average number of lorries passing the gates in a lunch hour is 7.5. During the course of the last 12 months, a new bypass has been built and the number of lorries passing the school gates in this year’s experiment was 4. Test, at the 5% level, whether or not the mean number of lorries passing the school gates during a Tuesday lunch hour has reduced. State your NULL HYPOTHESIS (H 0 ) H 0 : λ = 7.5

Every year a statistics teacher takes her class out to observe the traffic passing the school gates during a Tuesday lunch hour. Over the years she has established that the average number of lorries passing the gates in a lunch hour is 7.5. During the course of the last 12 months, a new bypass has been built and the number of lorries passing the school gates in this year’s experiment was 4. Test, at the 5% level, whether or not the mean number of lorries passing the school gates during a Tuesday lunch hour has reduced. State your ALTERNATE HYPOTHESIS (H 1 ) H 0 : λ = 7.5 H 1 : λ < 7.5

Every year a statistics teacher takes her class out to observe the traffic passing the school gates during a Tuesday lunch hour. Over the years she has established that the average number of lorries passing the gates in a lunch hour is 7.5. During the course of the last 12 months, a new bypass has been built and the number of lorries passing the school gates in this year’s experiment was 4. Test, at the 5% level, whether or not the mean number of lorries passing the school gates during a Tuesday lunch hour has reduced. State the significance level H 0 : λ = 7.5 H 1 : λ < 7.5 S.L. : 5% (one tailed)

Every year a statistics teacher takes her class out to observe the traffic passing the school gates during a Tuesday lunch hour. Over the years she has established that the average number of lorries passing the gates in a lunch hour is 7.5. During the course of the last 12 months, a new bypass has been built and the number of lorries passing the school gates in this year’s experiment was 4. Test, at the 5% level, whether or not the mean number of lorries passing the school gates during a Tuesday lunch hour has reduced. State the statistical model H 0 : λ = 7.5 H 1 : λ < 7.5 S.L. : 5% (one tailed) X ~ Po(7.5)

Every year a statistics teacher takes her class out to observe the traffic passing the school gates during a Tuesday lunch hour. Over the years she has established that the average number of lorries passing the gates in a lunch hour is 7.5. During the course of the last 12 months, a new bypass has been built and the number of lorries passing the school gates in this year’s experiment was 4. Test, at the 5% level, whether or not the mean number of lorries passing the school gates during a Tuesday lunch hour has reduced. Test your statistic H 0 : λ = 7.5 H 1 : λ < 7.5 S.L. : 5% (one tailed) X ~ Po(7.5) P(X ≤ 4) = = 13.21%

Every year a statistics teacher takes her class out to observe the traffic passing the school gates during a Tuesday lunch hour. Over the years she has established that the average number of lorries passing the gates in a lunch hour is 7.5. During the course of the last 12 months, a new bypass has been built and the number of lorries passing the school gates in this year’s experiment was 4. Test, at the 5% level, whether or not the mean number of lorries passing the school gates during a Tuesday lunch hour has reduced. Make a conclusion H 0 : λ = 7.5 H 1 : λ < 7.5 S.L. : 5% (one tailed) X ~ Po(7.5) P(X ≤ 4) = = 13.21% 13.21% is above the 5% significance level Insufficient evidence to reject H 0 Mean number of lorries hasn’t reduced

In a sack containing a large number of beads ¼ are coloured gold and the remainder are of different colours. A group of children use some of the beads in a craft lesson and do not replace them. Afterwards the teacher wishes to know whether or not the proportion of gold beads left in the sack has changed. He selects a random sample of 20 beads and finds that 2 of them are coloured gold. Stating your hypotheses clearly test, at the 10% level of significance, whether or not there is evidence that the proportion of gold beads has changed. X ~ B(20, 0.25) S.L. : 5% each side H 0 : p = 0.25 H 1 : p ≠ % 5% 2 P(X ≤ 2) = = 9.13% 9.13% is above the 5% significance level Insufficient evidence to reject H 0 Proportion of gold beads hasn’t changed Two tailed test

In a sack containing a large number of beads ¼ are coloured gold and the remainder are of different colours. A group of children use some of the beads in a craft lesson and do not replace them. Afterwards the teacher wishes to know whether or not the proportion of gold beads left in the sack has changed. He selects a random sample of 20 beads and finds that 2 of them are coloured gold. Stating your hypotheses clearly test, at the 10% level of significance, whether or not there is evidence that the proportion of gold beads has changed. X ~ B(20, 0.25) S.L. : 5% each side H 0 : p = 0.25 H 1 : p ≠ % 5% CRITICAL REGION The region where H 0 would be rejected

X ~ B(20, 0.25) S.L. : 5% each side H 0 : p = 0.25 H 1 : p ≠ % 5% a b P(X ≤ a) = 0.05 P(X ≤ 1) = P(X ≤ 2) = P(X ≥ b) = 0.05 P(X ≤ b-1) = 0.95 P(X ≤ 7) = P(X ≤ 8) = CriticalRegion X ≤ 1 and X ≥ 9 ACTUAL significance level (1 – ) = or 6.52%

Past records show that 20% of customers who buy crisps from a large supermarket buy them in single packets. During a particular day a random sample of 25 customers who had bought crisps was taken and 2 of them had bought them in single packets. (a) Use these data to test, at the 5% level of significance, whether or not the percentage of customers who bought crisps in single packets that day was lower than usual. State your hypotheses clearly. At the same supermarket, the manager thinks that the probability of a customer buying a bumper pack of crisps is To test whether or not this hypothesis is true the manager decides to take a random sample of 300 customers. (b) Stating your hypotheses clearly, find the critical region to enable the manager to test whether or not there is evidence that the probability is different from The significance level should be 5%. (c) Write down the significance level of this test.

Past records show that 20% of customers who buy crisps from a large supermarket buy them in single packets. During a particular day a random sample of 25 customers who had bought crisps was taken and 2 of them had bought them in single packets. (a) Use these data to test, at the 5% level of significance, whether or not the percentage of customers who bought crisps in single packets that day was lower than usual. State your hypotheses clearly. S.L. : 5% (one tailed) X ~ B(25, 0.2) H 0 : p = 0.2 H 1 : p < 0.2 P(X ≤ 2) = = 9.82% 9.82% is above the 5% significance level Insufficient evidence to reject H 0 % of people who bought single packets of crisps has not dropped

At the same supermarket, the manager thinks that the probability of a customer buying a bumper pack of crisps is To test whether or not this hypothesis is true the manager decides to take a random sample of 300 customers. (b)Stating your hypotheses clearly, find the critical region to enable the manager to test whether or not there is evidence that the probability is different from The significance level should be 5%. X ~ B(300, 0.03) np = 9 Y ~ Po(9) S.L. = 2.5% each side H 0 : λ = 9 H 1 : λ ≠ % 2.5% a b P(Y ≤ a) = P(Y ≥ b) = P(Y ≤ 3) = P(Y ≤ 4) = P(Y ≤ b-1) = P(Y ≤ 14) = P(Y ≤ 15) = Critical Region Y ≤ 3 and Y ≥ 16

(c) Write down the significance level of this test % 2.5% a b P(Y ≤ a) = P(Y ≥ b) = P(Y ≤ 3) = P(Y ≤ 4) = P(Y ≤ b-1) = P(Y ≤ 14) = P(Y ≤ 15) = Critical Region X ≤ 3 and X ≥ 16 SIGNIFICANCE LEVEL = (1 – ) = = 4.32%

A standard treatment for a drug has a probability of success of 0.3. A doctor has done some research and has modified the drug and tested it on 20 patients. He wants to see whether the modified drug has changed the success rate. (a) Find the critical region where the significance level needs to be as close to 5% as possible. (b) What is the significance level? (c) 9 patients had success with the modified drug. At the 5% level of significance, does this give evidence that the drug has improved the success rate? (d) On a larger trial using 500 patients, 162 patients had success with the modified drug. Test at the 2.5% significance level as to whether there evidence to suggest the drug has improved the success rate?

A standard treatment for a drug has a probability of success of 0.3. A doctor has done some research and has modified the drug and tested it on 20 patients. He wants to see whether the modified drug has changed the success rate. (a) Find the critical region where the significance level needs to be as close to 5% as possible. X ~ B(20, 0.3) H 0 : p = 0.3 H 1 : p ≠ 0.3 S.L.: 2.5% each side P(X ≤ a) = P(X ≤ 2) = P(X ≤ b-1) = P(X ≤ 10) = Critical Region: X ≤ 2 and X ≥ 11 (b) What is the significance level? Significance Level = (1 – ) = = 5.26%

(c) 9 patients had success with the modified drug. At the 5% level of significance, does this give evidence that the drug has improved the success rate? Critical Region: X ≤ 2 and X ≥ 11 9 is OUTSIDE the critical region Insufficient evidence to reject H 0 Drug has not improved success rate (d) On a larger trial using 500 patients, 162 patients had success with the modified drug. Test at the 2.5% significance level as to whether there evidence to suggest the drug has improved the success rate? X ~ B(500, 0.3) np = 150 Y ~ N(150, 105) S.L. = 2.5% one tailed np(1 – p) = 105 P(X ≥ 162) ≈ P(Y > 161.5) 13.14% is greater than 2.5%, insufficient evidence to reject H 0. The drug has not improved the success rate H 0 : p = 0.3 H 1 : p > 0.3