Statistic for the day: Assignment: Read Chapter 22 Do exercises 1, 2, 3, 8, 16 Median age at first marriage yearMenWomen 190025.921.9 200026.825.1 These.

Slides:



Advertisements
Similar presentations
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
Advertisements

Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Inference Sampling distributions Hypothesis testing.
Hypothesis Testing I 2/8/12 More on bootstrapping Random chance
Objectives Use simulations and hypothesis testing to compare treatments from a randomized experiment.
Hypothesis Testing “Teach A Level Maths” Statistics 2 Hypothesis Testing © Christine Crisp.
Chapter 10: Hypothesis Testing
Introduction to Hypothesis Testing
Section 7.1 Hypothesis Testing: Hypothesis: Null Hypothesis (H 0 ): Alternative Hypothesis (H 1 ): a statistical analysis used to decide which of two competing.
QM Spring 2002 Business Statistics Introduction to Inference: Hypothesis Testing.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Hypothesis Tests for Means The context “Statistical significance” Hypothesis tests and confidence intervals The steps Hypothesis Test statistic Distribution.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
BCOR 1020 Business Statistics
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 8: Hypothesis Testing and Inferential Statistics What are inferential statistics, and how are they used to test a research hypothesis? What is.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. Rejecting Chance – Testing Hypotheses in Research Chapter 22.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Jan 21 Statistic for the day: The width of train tracks is 4 feet 8.5 inches. Why? Assignment: Read Chapter 9 Exercises from Chapter 8: 16, 18 These slides.
Hypothesis Testing A hypothesis is a conjecture about a population. Typically, these hypotheses will be stated in terms of a parameter such as  (mean)
Descriptive statistics Inferential statistics
Estimation and Hypothesis Testing. The Investment Decision What would you like to know? What will be the return on my investment? Not possible PDF for.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Tue, Oct 23, 2007.
Chapter 8 Hypothesis testing 1. ▪Along with estimation, hypothesis testing is one of the major fields of statistical inference ▪In estimation, we: –don’t.
Fundamentals of Hypothesis Testing: One-Sample Tests
STT 315 This lecture is based on Chapter 6. Acknowledgement: Author is thankful to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.2.
Let’s flip a coin. Making Data-Based Decisions We’re going to flip a coin 10 times. What results do you think we will get?
Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of times would result in heads half the time (i.e.,
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Section 10.3: Large-Sample Hypothesis Tests for a Population Proportion.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Introduction to the Practice of Statistics Fifth Edition Chapter 6: Introduction to Inference Copyright © 2005 by W. H. Freeman and Company David S. Moore.
Chapter 20 Testing Hypothesis about proportions
Statistical Inference An introduction. Big picture Use a random sample to learn something about a larger population.
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.
Fall 2002Biostat Statistical Inference - Confidence Intervals General (1 -  ) Confidence Intervals: a random interval that will include a fixed.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Rejecting Chance – Testing Hypotheses in Research Thought Questions 1. Want to test a claim about the proportion of a population who have a certain trait.
Welcome to MM570 Psychological Statistics
STA Lecture 221 !! DRAFT !! STA 291 Lecture 22 Chapter 11 Testing Hypothesis – Concepts of Hypothesis Testing.
Section 10.2: Tests of Significance Hypothesis Testing Null and Alternative Hypothesis P-value Statistically Significant.
Statistic for the day: A 1943 copper penny sold in 1996 for $82,500. Assignment: Read Chapter 21 Exercises p : 3, 5, 6, 11, 13 These slides were.
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.
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.
If we fail to reject the null when the null is false what type of error was made? Type II.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Lesson Runs Test for Randomness. Objectives Perform a runs test for randomness Runs tests are used to test whether it is reasonable to conclude.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 1 FINAL EXAMINATION STUDY MATERIAL III A ADDITIONAL READING MATERIAL – INTRO STATS 3 RD EDITION.
Chapter 9 Testing A Claim 9.1 SIGNIFICANT TESTS: THE BASICS OUTCOME: I WILL STATE THE NULL AND ALTERNATIVE HYPOTHESES FOR A SIGNIFICANCE TEST ABOUT A POPULATION.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Test of a Population Median. The Population Median (  ) The population median ( , P 50 ) is defined for population T as the value for which the following.
Chapter 10 One-Sample Test of Hypothesis. Example The Jamestown steel company manufactures and assembles desks and other office equipment at several plants.
What Is a Test of Significance?
Is this quarter fair?. Is this quarter fair? Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of.
Hypothesis Testing: Hypotheses
Is this quarter fair?. Is this quarter fair? Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of.
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.
Assignment: Read Chapter 23 Do exercises 1, 2, 5
Presentation transcript:

Statistic for the day: Assignment: Read Chapter 22 Do exercises 1, 2, 3, 8, 16 Median age at first marriage yearMenWomen These slides were created by Tom Hettmansperger and in some cases modified by David Hunter

State the alternative and null hypotheses. (Research Advocate vs the Skeptic) Collect and summarize data and compute the test statistic. Ascertain the p-value. (probability of supporting the Research Advocate when the Skeptic is correct) Decide whether the data supports the alternative hypothesis. Note: it is always a good idea to write out what the Type 1 error is for the problem you are considering. Summary

If the p-value is small, it is unlikely that we are supporting the Research Advocate (alt. hyp.) when the Skeptic (null hyp.) is correct. So let’s support the Research Advocate. If the p-value is large there is a good chance we are will make the error of supporting the Research Advocate when the Skeptic is correct. So let’s not support the Research Advocate. Keep in mind: p-value is the probability that, when we use our rule, we will support the Research Advocate when the Skeptic is correct. The reasoning:

Exercise 3 p383 text. A study was conducted to see if a calcium supplement relieves the symptoms of premenstrual syndrome (PMS). Women were randomly assigned a placebo or a calcium supplement and a measure of severity of PMS was recorded. PlaceboCalcium mean SD sample size The p-value is less than.0001 What is your decision? Calcium and PMS

Hypotheses for calcium study? Alternative (Research) Hypothesis: Calcium will reduce the severity of PMS. Null Hypothesis (Skeptic): There is no effect due to calcium.

The researchers concluded that calcium is effective. Which type of error could they have committed? Type 1 error: claim calcium is effective (Research Advocate) when it is not (Skeptic is correct). Type 2 error: claim calcium is not effective (Skeptic) when it is effective (Research Advocate is correct). Since the researchers supported the Research Advocate the only possible error is Type 1. But with small prob. P-value <.0001.

What would be the consequences of making a Type 1 error in this experiment? a Type 2 error? Type 1 error: claim calcium is effective (Research Advocate) when it is not (Skeptic is correct). Consequence: Perhaps market a product that is not helpful. Put a bogus drug on the market. Type 2 error: claim calcium is not effective (Skeptic) when it is effective (Research Advocate is correct). Consequence: Fail to market an effective drug. Note: we could not have committed a Type 2 error since the researchers supported the Research Advocate.

The computation of the p-value: PlaceboCalcium mean SD sample size SEM SD of the difference sqrt( ) =.045 Test Statistic = ( )/.045 = 3.78 From the normal table, the proportion BEYOND 3.78 is less than So p-value less than.0001.

You have just become the new owner of Zeno’s. Your first task is to hire a new bartender. You would like to hire someone with experience, someone who can distinguish among beers. You decide to hire on the basis of the ability to discriminate between Bud and Yuengling. Hiring a bartender

For example: A test consists in picking Yuengling from 3 Buds and 1 Yuengling which have been randomly ordered. You give the prospective bartender 5 tests and record the number of successes and also the proportion of successes. The rule for hiring the person will entail that the person get at least a certain number of successes. Suppose the person gets 2 out of 5 correct. Proportion = 2/5 =.4 What sort of a proportion would you expect if the person was guessing? 1/4 or.25

Cast the problem of hiring a bartender as a hypothesis testing problem. Null Hypothesis (Skeptic): The person is guessing Alternative Hypothesis (Research Advocate): The person can discriminate between beers. Type 1 error:Hire a bartender who can not discriminate. p-value = Probability of committing a Type 1 error. = Probability of hiring a bogus bartender

We want the probability of hiring a bogus bartender to be small. Recall our test: 4 beers: 3 Buds and 1 Yuengling Person must pick the Yuenging. Gave the test 5 times and the person got 2 out of 5 correct or.4. If the p-value is.22. What is your decision? Support the Skeptic and do not hire the person. Probability of a Type 1 error is too big. If the person is guessing, there is a 22% chance they will get at least 2 out of 5 correct.

How to compute the p-value. We want to know how far 2/5 =.4 is from.25 (guessing). Assuming the Skeptic is correct the SD of the sample proportion is: Test statistic: ( )/.194 =.77 Look up.77 in normal table: proportion below.77 is.78 So the proportion BEYOND.77 is =.22 And p-value is.22.

Suppose the person gets 4 out of 5 correct. Proportion.8 The p-value is less than.005. Decision? Hire the person. p-value = probability of hiring a person when the person is guessing. p-value is small so it is unlikely that we are hiring a bogus bartender.

The calculation of the p-value: How far is.8 from.25 when the Skeptic is correct? The test statistic: Look up 2.84 in the normal table. The proportion below 2.84 is more than.995. So the proportion BEYOND 2.84 is less than.005. This is the p-value.

In the case of the person who got 2 out of 5 correct with a p-value of.22, we decided not to hire the person. In the case of the person who got 4 out of 5 correct with a p-value less than.005, we decided to hire them In the first case is it possible to commit a Type 1 error? NO. Type 1 error = hire a bogus bartender. In the first case is it possible to commit a Type 2 error? YES. Type 2 error = do not hire a good bartender. In the second case is it possible to commit a Type 1 error? YES.

You have a suspicious coin. You flip this coin 100 times and observe 60 heads. Set up a statistical hypothesis test to determine whether this is convincing evidence that the coin is weighted unfairly to come up heads.