Hypothesis (significance) Testing Using the Binomial Distribution.

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

1 Hypothesis Testing William P. Wattles, Ph.D. Psychology 302.
Chapter 10.  Real life problems are usually different than just estimation of population statistics.  We try on the basis of experimental evidence Whether.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 9 Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and.
Business Statistics - QBM117
1/55 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 10 Hypothesis Testing.
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 8 Introduction to Hypothesis Testing.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 8: Significantly significant.
Chapter 9 Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
Section 7-2 Hypothesis Testing for the Mean (n  30)
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Chapter 10 Hypothesis Testing
Overview Definition Hypothesis
Confidence Intervals and Hypothesis Testing - II
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Binomial and Related Distributions 學生 : 黃柏舜 學號 : 授課老師 : 蔡章仁.
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
The Probability of a Type II Error and the Power of the Test
Chapter 2 -Test for one and two means
Chapter 10 Hypothesis Testing
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
Individual values of X Frequency How many individuals   Distribution of a population.
1 If we live with a deep sense of gratitude, our life will be greatly embellished.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
IE241: Introduction to Hypothesis Testing. We said before that estimation of parameters was one of the two major areas of statistics. Now let’s turn to.
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.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Fundamentals of Hypothesis Testing: One-Sample Tests Statistics.
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.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Introduction Suppose that a pharmaceutical company is concerned that the mean potency  of an antibiotic meet the minimum government potency standards.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
© Copyright McGraw-Hill 2004
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
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.
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.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 8 th Edition Chapter 9 Hypothesis Testing: Single.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Copyright © 2009 Pearson Education, Inc. 9.2 Hypothesis Tests for Population Means LEARNING GOAL Understand and interpret one- and two-tailed hypothesis.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Chapter Nine Hypothesis Testing.
Hypothesis Testing for Proportions
Lecture Nine - Twelve Tests of Significance.
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Hypothesis Testing for Proportions
Hypothesis Testing: Hypotheses
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
CONCEPTS OF HYPOTHESIS TESTING
Copyright © Cengage Learning. All rights reserved.
Chapter 9 Hypothesis Testing: Single Population
Section 11.1: Significance Tests: Basics
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.
Significance level = 6 is rolled ……….. times n = Glue here
Presentation transcript:

Hypothesis (significance) Testing Using the Binomial Distribution

Hypothesis the idea: We use random samples to estimate population parameters – If we assume that our random sample comes from a particular background distribution we can test to see if the result is likely or unlikely, given that distribution If the test result is very unlikely we may decide that the data does not come from our background Distribution If the test result is likely we will decide that the data comes from our background distribution We determine how likely through our significance level

We can answer questions like this - Is a dice fair ? (comparing our sample result against the expected result) -Does a new drug give better results than an old drug ? (by comparing our sample result against expected result) -Can you taste the difference between Coke and Pepsi? (by comparing our sample result against expected result) IN all the questions this week we will assume a population from the Binomial Distribution and we will compare our OBSERVED data VS EXPECTED Data to draw a conclusion

The binomial Distribution — 2 possible outcomes — Probability of Success Failure does not change during Trials — There are a fixed number of trials — Trials are Independent Plan of action We will learn through a question You should have understood how to use Binomial tables yesterday if nothing else!!

Question A six sided dice is thrown 20 times and the number of sixes recorded. Only 2 sixes come up. Is the dice loaded? – The number of sixes is our Discrete Random Variable (X) – It follows a Binomial because You either get a six or you do not – The probability of getting a six does not change for each dice roll X~B(20,p) we can assume that for a proper dice p = 1/6 Now we set up a test to see if our sample fits a X~B(30,1/6) model

We always write the process formally!! Step 1 – state Null Hypothesis Ho : P(6)=1/6 (probability of getting a six is unbiased~ B(20,1/6) Step 2- state Alternative Hypothesis H 1 : P(6)<1/6 (probability of getting six is less than 1/6 – biased) Step 3- Decide on a significance level to test at Given at 5% usually Step 4 – From Tables ->Find the CRITICAL VALUE of P(X≤Xc) that CUTS OFF ≤ 5% This is find P(X≤xc) ≤ 0.05 i.e. The lower tail of the distribution - The Critical Value is Xc Step 5 – Is our Observed value < The critical value If so Accept H1, otherwise Accept Ho

This is X-B(20,1/6) r P(X = r)P(X <= r)P(X >= r) These are the outcomes we observed 2 If Ho is true E(X) = np = 20x1/6 = 3.33 We would expect to get around 3 sixes From Tables Xc = 0 P(X≤0) = P(X ≤1) = Choose nearest result to 0.05 and ≤ 0.05

So Xc the critical value The Observed value This is the expected value (μ) given X~B(20,1/6) Conclusion The observed value is greater than the critical value so do not reject Ho (The observed value is not significantly different from the expected value) P(X≤ 1) is >5% so getting a result of 1 six is not unusual enough to reject Ho WE SAY THERE IS NOT SUFFICIENT EVIDENCE TO SAY THE DICE IS BIASED One tailed test looking at the lower end of the tail

Example II A drug for curing headaches has been found to be 75% effective from research A new drug has been tested on 20 people and 18 have reported that their headaches have been cured. The drug company state in their TV advert that their new drug is better than the old one. Are they justified in saying this? The drugs could be said to fit a Binomial X~B(20,p) For the old drug P=0.75, For the new drug the claim is P>0.75 Step 1 – State the NULL Hypothesis Ho: P=0.75 (Nothing has changed new drug same as old) Step 2 – State the Alternative Hypothesis Ho: P>0.75 (New drug has improved cure rate)

This is another one tailed test But it looks at the other end of the distribution Ho: P=0.75 (Nothing has changed new drug same as old) Ho: P>0.75 (New drug has improved cure rate) Step 3 – State the significance level (given as 5% here = 0.05) Step 4- From tables find the critical value (cuts off 5% of the tail of the distribution) That is P(X≥Xc) < 0.05 We rearrange this because our tables only give P(X≤r) P(X≥Xc)= P(X≤Xc-1) so P(X≤Xc-1) < 0.05 Therefore P(X ≤Xc-1) > 0.95 From Tables P(X ≤ 17) = P(X ≤ 18) = (  This one) So Xc-1 = 18 Xc = 19 (This is our Critical Value) r P(X = r)P(X <= r)P(X >= r)

Xc = Critical Value ≤ 1 % Observed value E(X) | X~B(20,.75)Expected value given Ho Conclusion : So we Have No evidence to Reject Ho There is not enough evidence to say that the new drug is better

Binomial Hypothesis testing One tailed tests These are one tailed tests because H1 is P p1 Write your answers formally....You MUST 1- Write down the Null Hypothesis and Alternative Hypothesis 2- You should state the underlying Distribution on which Ho is based 3- Ho always represents No change ; H1 always Change 4- The question will give you the Significance level otherwise assume 5% 5 – Calculate the Critical Value either P(X ≤ Xc) < 0.05 for left tail OR P(X ≥ Xc) < 0.05 for Right tail 6- If the Observed value is Not in the Critical region Accept Ho 7 – Write your conclusions clearly in English

Your Turn Question Mrs De Silva is running for President. She claims to have 60% of the population voting for her. She is suspected of overestimating her level of support. You want to test this, so you take a random sample of 20 people and find that only 9 will vote for Mrs De Silva. Test at the 5% level that she has overestimated her support.