Testing Hypotheses About Proportions

Slides:



Advertisements
Similar presentations
Copyright © 2010 Pearson Education, Inc. Slide
Advertisements

Statistics Hypothesis Testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Testing Hypotheses About Proportions
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 20 Testing Hypotheses About Proportions.
Chapter 20: Testing Hypotheses About Proportions
Hypotheses tests for proportions
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.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Testing Hypotheses About Proportions Chapter 20. Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called.
Objective: To test claims about inferences for proportions, under specific conditions.
Hypothesis Tests Hypothesis Tests One Sample Proportion.
Confidence Intervals and Hypothesis Testing - II
Chapter 20: Testing Hypotheses about Proportions
Fundamentals of Hypothesis Testing: One-Sample Tests
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
Section 9.1 Introduction to Statistical Tests 9.1 / 1 Hypothesis testing is used to make decisions concerning the value of a parameter.
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.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Week 8 Fundamentals of Hypothesis Testing: One-Sample Tests
Confidence Intervals and Hypothesis tests with Proportions.
Hypothesis Tests with Proportions Chapter 10 Notes: Page 169.
Hypothesis Tests with Proportions Chapter 10. Write down the first number that you think of for the following... Pick a two-digit number between 10 and.
Significance Tests: THE BASICS Could it happen by chance alone?
Copyright © 2010 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 19, Slide 1 Chapter 20 Testing Hypotheses about Proportions.
Chapter 21: More About Tests “The wise man proportions his belief to the evidence.” -David Hume 1748.
Chapter 11 Testing Hypotheses about Proportions © 2010 Pearson Education 1.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Chapter 20 Testing hypotheses about proportions
Hypotheses tests for means
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.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 20 Testing Hypotheses About Proportions.
Copyright © 2012 Pearson Education. Chapter 13 Testing Hypotheses.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Testing Hypothesis About Proportions
Chapter 20 Testing Hypothesis about proportions
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.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
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.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Slide 21-1 Copyright © 2004 Pearson Education, Inc.
AP Statistics Unit 5 Addie Lunn, Taylor Lyon, Caroline Resetar.
Copyright © 2010 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
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.
6.2 Large Sample Significance Tests for a Mean “The reason students have trouble understanding hypothesis testing may be that they are trying to think.”
Uncertainty and confidence Although the sample mean,, is a unique number for any particular sample, if you pick a different sample you will probably get.
Today: Hypothesis testing p-value Example: Paul the Octopus In 2008, Paul the Octopus predicted 8 World Cup games, and predicted them all correctly Is.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
Chapter 20 Testing Hypotheses About Proportions. confidence intervals and hypothesis tests go hand in hand:  A confidence interval shows us the range.
AP Statistics Testing Hypothesis About Proportions Chapter 20.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
Hypothesis Tests for 1-Proportion Presentation 9.
Copyright © 2009 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
Statistics 20 Testing Hypothesis and Proportions.
Module 10 Hypothesis Tests for One Population Mean
Testing Hypotheses About Proportions
AP Statistics Testing Hypothesis About Proportions
Testing Hypotheses about Proportions
Testing Hypotheses About Proportions
WARM – UP A local newspaper conducts a poll to predict the outcome of a Senate race. After conducting a random sample of 1200 voters, they find 52% support.
Hypothesis Tests for 1-Sample Proportion
Testing Hypotheses about Proportions
Testing Hypotheses About Proportions
Testing Hypotheses About Proportions
Testing Hypotheses About Proportions
Presentation transcript:

Testing Hypotheses About Proportions Chapter 20 Testing Hypotheses About Proportions

Example Census data for a certain county show that 19% of the adult residents are Hispanics. Suppose 72 people are called for jury duty and only 9 of them are Hispanic. Does this apparent underrepresentation of Hispanics call into question the fairness of the jury selection system?

A Trial as a Hypothesis Test Think about the logic of jury trials: To prove someone is guilty, we start by assuming they are innocent. We retain that hypothesis until the facts make it unlikely beyond a reasonable doubt. Then, and only then, we reject the hypothesis of innocence and declare the person guilty. The same logic is used in hypotheses testing: We begin by assuming that a hypothesis is true. Next we consider whether the data are consistent with the hypothesis. If they are, all we can do is retain the hypothesis we started with. If they are not, then like a jury, we ask whether they are unlikely beyond a reasonable doubt.

Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called the null hypothesis, denoted by H0, which specifies a population model parameter of interest and proposes a value for that parameter. For example, H0: p = 0.19, as in the example. We usually write down the null hypothesis in the form H0: parameter = hypothesized value. The alternative hypothesis, which we denote by HA, contains the values of the parameter that we consider plausible when we reject the null hypothesis. We want to compare our data to what we would expect given that H0 is true. We then ask how likely it is to get results like we did if the null hypothesis were true.

P-Values The statistical twist is that we can quantify our level of doubt. We can use the model proposed by our hypothesis to calculate the probability that the observed statistic value occur if the null hypothesis is correct. This probability is called a P-value. If the P-value is low enough, we’ll “reject the null hypothesis,” since what we observed would be very unlikely were the null model true.

What to Do with an “Innocent” Defendant If the evidence is not strong enough to reject the presumption of innocent, the jury returns with a verdict of “not guilty.” The jury does not say that the defendant is innocent. All it says is that there is not enough evidence to convict, to reject innocence. The defendant may, in fact, be innocent, but the jury has no way to be sure. Said statistically, we will fail to reject the null hypothesis. We never declare the null hypothesis to be true, because we simply do not know whether it’s true or not. Sometimes in this case we say that the null hypothesis has been retained.

The Reasoning of Hypothesis Testing There are four basic parts to a hypothesis test: Hypotheses Model Mechanics Conclusion

The Reasoning of Hypothesis Testing (cont.) Hypotheses The null hypothesis: To perform a hypothesis test, we must first translate our question of interest into a statement about model parameters. H0: parameter = hypothesized value. The alternative hypothesis: HA contains the values of the parameter we consider plausible if we reject the null. There are three possible alternative hypotheses: HA: parameter < hypothesized value HA: parameter ≠ hypothesized value HA: parameter > hypothesized value

The Reasoning of Hypothesis Testing (cont.) Model To plan a statistical hypothesis test, specify the model you will use to test the null hypothesis and the parameter of interest. All models require assumptions, so state the assumptions and check any corresponding conditions. Your plan should end with a statement like Because the conditions are satisfied, I can model the sampling distribution of the proportion with a Normal model. Watch out, though. It might be the case that your model step ends with “Because the conditions are not satisfied, I can’t proceed with the test.” If that’s the case, stop and reconsider.

The Reasoning of Hypothesis Testing (cont.) Model Each test we discuss in the book has a name that you should include in your report. The test about proportions is called a one-proportion z-test. The conditions for the one-proportion z-test are the same as for the one proportion z-interval. We test the hypothesis H0: p = p0 using the statistic where When the conditions are met and the null hypothesis is true, this statistic follows the standard Normal model, so we can use that model to obtain a P-value.

The Reasoning of Hypothesis Testing (cont.) Mechanics We place the actual calculation of our test statistic from the data. Different tests will have different formulas and different test statistics. Usually, the mechanics are handled by a statistics program or calculator, but it’s good to know the formulas. The ultimate goal of the calculation is to obtain a P-value. The P-value is the probability that the observed statistic value could occur if the null model were correct. If the P-value is small enough, we’ll reject the null hypothesis. Note: The P-value is a conditional probability—it’s the probability that the observed results could have happened if the null hypothesis is true.

The Reasoning of Hypothesis Testing (cont.) Conclusion The conclusion in a hypothesis test is always a statement about the null hypothesis. The conclusion must state either that we reject or that we fail to reject the null hypothesis. And, as always, the conclusion should be stated in context.

Alternative Hypothesis HA: parameter ≠ value is known as a two-sided alternative because we are equally interested in deviations on either side of the null hypothesis value. For two-sided alternatives, the P-value is the probability of deviating in either direction from the null hypothesis value.

Alternative Hypothesis (cont.) The other two alternative hypotheses ( < or > ) are called one-sided alternatives. A one-sided alternative focuses on deviations from the null hypothesis value in only one direction. Thus, the P-value for one-sided alternatives is the probability of deviating only in the direction of the alternative away from the null hypothesis value.

P-Values and Decisions: How small should the P-value be in order for you to reject the null hypothesis? It turns out that our decision criterion is context-dependent. When we’re screening for a disease and want to be sure we treat all those who are sick, we may be willing to reject the null hypothesis of no disease with a fairly large P-value. A longstanding hypothesis, believed by many to be true, needs stronger evidence (and a correspondingly small P-value) to reject it. Another factor in choosing a P-value is the importance of the issue being tested.

P-Values and Decisions (cont.) Your conclusion about any null hypothesis should be accompanied by the P-value of the test. If possible, it should also include a confidence interval for the parameter of interest. Don’t just declare the null hypothesis rejected or not rejected. Report the P-value to show the strength of the evidence against the hypothesis. This will let each reader decide whether or not to reject the null hypothesis.

Group Exercises An insurance company checks police record on 590 accidents selected at random and notes that teenagers were at the wheel in 88 of them. Construct the 95% confidence interval for the percentage of all auto accidents that involve teenager drivers. According to June 2004 Gallup poll, 28% of Americans said there have been times in the last year when they haven’t been able to afford medical care. Is this proportion higher for black Americans than for all Americans? In a random sample of 801 black Americans, 38% reported that there had been times in the last year when they had not afford medical care. Test an appropriate hypothesis and state your conclusion.

Homework Assignment Page 527 - 530 Problem # 1, 3, 7, 21, 23, 25, 29.