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
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 21 More About Tests and Intervals.
Hypotheses tests for proportions
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
ONE-PROPORTION Z-TESTS CHAPTER 20 PART 3. 4 Steps : 1)State the hypotheses 2)Check conditions and model (Normal model) 3)Mechanics (Find z-score and P-value)
Testing Hypotheses About Proportions Chapter 20. Hypotheses Hypotheses are working models that we adopt temporarily. Our starting hypothesis is called.
AP Statistics: Chapter 20
Objective: To test claims about inferences for proportions, under specific conditions.
Chapter 20: Testing Hypotheses about Proportions
March  There is a maximum of one obtuse angle in a triangle, but can you prove it?  To prove something like this, we mathematicians must do a.
Testing Hypotheses About Proportions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
TESTING HYPOTHESES ABOUT PROPORTIONS CHAPTER 20. ESSENTIAL CONCEPTS Hypothesis testing involves proposing a model, then determining if the data we observe.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
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 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.
Testing Hypothesis About Proportions
Chapter 20 Testing Hypothesis about proportions
Chapter 21: More About Test & Intervals
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Slide 21-1 Copyright © 2004 Pearson Education, Inc.
Copyright © 2010 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
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 for 1-Proportion Presentation 9.
Copyright © 2009 Pearson Education, Inc. Chapter 20 Testing Hypotheses About Proportions.
Statistics 20 Testing Hypothesis and Proportions.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 21 More About Tests and Intervals.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Module 10 Hypothesis Tests for One Population Mean
Testing Hypotheses About Proportions
Chapter 24 Comparing Means.
Chapter 23 Comparing Means.
AP Statistics Testing Hypothesis About Proportions
Chapter 9: Testing a Claim
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.
CHAPTER 9 Testing a Claim
Chapter 9: Testing a Claim
Hypothesis Tests for 1-Sample Proportion
More about Tests and Intervals
Testing Hypotheses about Proportions
CHAPTER 9 Testing a Claim
Chapter 23 Comparing Means.
Testing Hypotheses About Proportions
Daniela Stan Raicu School of CTI, DePaul University
CHAPTER 9 Testing a Claim
Significance Tests: The Basics
Testing Hypotheses About Proportions
CHAPTER 9 Testing a Claim
Chapter 9: Testing a Claim
Chapter 24 Comparing Means Copyright © 2009 Pearson Education, Inc.
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
Stats: Modeling the World
Testing Hypotheses About Proportions
CHAPTER 9 Testing a Claim
STA 291 Spring 2008 Lecture 17 Dustin Lueker.
Presentation transcript:

Testing Hypotheses about Proportions Chapter 20 Testing Hypotheses about Proportions

Hypotheses A hypothesis proposes a model for the world. Then we look at the data. If the data are consistent with that model, we have no reason to disbelieve the hypothesis. But if the facts are inconsistent with the model, we need to make a choice as to whether they are inconsistent enough to disbelieve the model.

Hypotheses (cont.) 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.

Hypotheses (cont.) The same logic used in jury trials is used in statistical tests of hypotheses: We begin by assuming a hypothesis is true. Then we consider whether the data are consistent with the hypothesis. If they are, 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 (cont.) We can quantify our level of doubt. We can use the model proposed by our hypothesis to calculate the probability that the event we’ve witnessed could happen. That’s just the probability we’re looking for—it quantifies exactly how surprised we are to see our results. This probability is called a P-value.

Hypotheses (cont.) When the data are consistent, the P-value is high and we are unable to reject the null hypothesis. We can’t claim to have proved it; instead we “fail to reject the null hypothesis.” If the P-value is low enough, we’ll “reject the null hypothesis.”

The Reasoning of Hypothesis Testing There are four basic parts to a hypothesis test: Hypotheses Model Mechanics Conclusion Let’s look at these parts in detail…

The Reasoning of Hypothesis Testing (cont.) Hypotheses The null hypothesis: We must first translate our question of interest into a statement about model parameters. In general, we have H0: parameter = hypothesized value. The alternative hypothesis: The alternative hypothesis, HA, contains the values of the parameter we accept if we reject the null.

Alternative Alternatives 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 First 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.

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.

Why is this a standard deviation and not a standard error? Because we haven’t estimated anything. Once we assume that the null hypothesis is true, it gives us a value for the model parameter p. With proportions, if we know p then we also automatically know its standard deviation. And because we find the standard deviation from the model parameter, this is a standard deviation and not a standard error. When we found a confidence interval for p, we could not assume that we knew its value, so we estimated the standard deviation from the sample value . - p.453  

The Reasoning of Hypothesis Testing (cont.) Mechanics Under “mechanics” we place the actual calculation of our test statistic from the data. The ultimate goal of the calculation is to obtain a P-value. The P-value is the probability that the observed statistic value (or an even more extreme value) could occur if the null model were correct. If the P-value is small enough, we’ll reject the null hypothesis.

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. The conclusion should always state a p-value And, as always, the conclusion should be stated in context.

Assignment p. 469 #1, 2

P-Values and Decisions: What to Tell About a Hypothesis Test 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.

EXAMPLE A 1996 report from the US Consumer Product Safety Commission claimed that at least 90% of all American homes have at least one smoke detector. A city wonders if a concerted effort would raise the local level above the 90% national rate. Building inspectors visit 400 randomly selected homes and find that 376 have smoke detectors. Is this strong evidence that the local rate is higher than the national rate?

EXAMPLE CONTINUED 1. State the hypotheses 2. Model

EXAMPLE CONTINUED 1. State the hypotheses 2. Model

EXAMPLE CONTINUED 1. State the hypotheses 2. Model – 1 prop z-test SRS 10% Condition Plausible IC All conditions are met, so we can approximate the sampling distribution with the normal model.

EXAMPLE CONTINUED 3. Mechanics

EXAMPLE CONTINUED 3. Mechanics

EXAMPLE CONTINUED 4. State the Conclusion Because our p-value of 0.004 is less than 0.05, we can reject the null hypothesis that says this city has the same rate of homes with at least one smoke detector as the national rate.

What Can Go Wrong? Hypothesis tests are so widely used—and so widely misused—that the issues involved are addressed in their own chapter (Chapter 21). There are a few issues that we can talk about already, though:

What Can Go Wrong? (cont.) Don’t base your null hypothesis on what you see in the data. Think about the situation you are investigating and develop your null hypothesis appropriately. Don’t base your alternative hypothesis on the data, either. Again, you need to Think about the situation.

What Can Go Wrong? (cont.) Don’t make your null hypothesis what you want to show to be true. You can reject the null hypothesis, but you can never “accept” or “prove” the null. Don’t forget to check the conditions. We need randomization, independence, and a sample that is large enough to justify the use of the Normal model.

Assignment p. 469 #3, 6, 9, 12, 13, 15