Hypothesis Testing Two Proportions

Slides:



Advertisements
Similar presentations
Comparing Two Proportions
Advertisements

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 22 Comparing Two Proportions.
Objective: To test claims about inferences for two proportions, under specific conditions Chapter 22.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 21, Slide 1 Chapter 21 Comparing Two Proportions.
Comparing Two Proportions
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
The t Tests Independent Samples.
Hypothesis Testing II The Two-Sample Case.
Ch 10 Comparing Two Proportions Target Goal: I can determine the significance of a two sample proportion. 10.1b h.w: pg 623: 15, 17, 21, 23.
Statistics Pooled Examples.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Comparing Two Proportions
Chapter 22: Comparing Two Proportions
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Hypotheses tests for means
STT 315 Ashwini Maurya Acknowledgement: Author is indebted to Dr. Ashok Sinha, Dr. Jennifer Kaplan and Dr. Parthanil Roy for allowing him to use/edit many.
Chapter 22: Comparing Two Proportions. Yet Another Standard Deviation (YASD) Standard deviation of the sampling distribution The variance of the sum or.
Copyright © 2010 Pearson Education, Inc. Slide Beware: Lots of hidden slides!
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Chapter 21: More About Test & Intervals
Slide 21-1 Copyright © 2004 Pearson Education, Inc.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.1 Categorical Response: Comparing Two Proportions.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Chapter 22 Comparing Two Proportions.  Comparisons between two percentages are much more common than questions about isolated percentages.  We often.
Chapter 22 Comparing Two Proportions. Comparing 2 Proportions How do the two groups differ? Did a treatment work better than the placebo control? Are.
T tests comparing two means t tests comparing two means.
AP STATISTICS COMPARING TWO PROPORTIONS Chapter 22.
Copyright © 2009 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Statistics 22 Comparing Two Proportions. Comparisons between two percentages are much more common than questions about isolated percentages. And they.
Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a goodness-of-fit.
Comparing Counts Chi Square Tests Independence.
Section 8.2 Day 3.
Comparing Two Proportions
Comparing Two Proportions
Unit 5 – Chapters 10 and 12 What happens if we don’t know the values of population parameters like and ? Can we estimate their values somehow?
AP Statistics Comparing Two Proportions
Chapter 21 More About Tests.
Testing Hypotheses About Proportions
Comparing Two Proportions
Chapters 20, 21 Hypothesis Testing-- Determining if a Result is Different from Expected.
Confidence Intervals for Proportions
Section 8.2 Day 4.
CHAPTER 11 Inference for Distributions of Categorical Data
Comparing Two Proportions
Hypothesis Tests for 1-Sample Proportion
AP STATISTICS REVIEW INFERENCE
More about Tests and Intervals
Comparing Two Proportions
Chapter 9 Hypothesis Testing.
Unit 6 - Comparing Two Populations or Groups
Testing Hypotheses about Proportions
Hypothesis Testing (Cont.)
Comparing Two Proportions
Testing Hypotheses About Proportions
CHAPTER 11 Inference for Distributions of Categorical Data
Hypothesis tests for the difference between two proportions
One-Way Analysis of Variance
CHAPTER 11 Inference for Distributions of Categorical Data
Testing Hypotheses About Proportions
Hypothesis Tests for a Standard Deviation
Chapter 24 Comparing Means Copyright © 2009 Pearson Education, Inc.
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Testing Hypotheses About Proportions
Presentation transcript:

Hypothesis Testing Two Proportions

Comparing Two Proportions Comparisons between two percentages are much more common than questions about isolated percentages. And they are more interesting. We often want to know how two groups differ, whether a treatment is better than a placebo control, or whether this year’s results are better than last year’s.

Another Ruler In order to examine the difference between two proportions, we need another ruler—the standard deviation of the sampling distribution model for the difference between two proportions. Recall that standard deviations don’t add, but variances do. In fact, the variance of the sum or difference of two independent random variables is the sum of their individual variances.

The Standard Deviation of the Difference Between Two Proportions Proportions observed in independent random samples are independent. Thus, we can add their variances. So… The standard deviation of the difference between two sample proportions is Thus, the standard error is

Assumptions and Conditions Independence Assumptions: Randomization Condition: The data in each group should be drawn independently and at random from a homogeneous population or generated by a randomized comparative experiment. The 10% Condition: If the data are sampled without replacement, the sample should not exceed 10% of the population. Independent Groups Assumption: The two groups we’re comparing must be independent of each other.

Assumptions and Conditions (cont.) Sample Size Condition: Each of the groups must be big enough… Success/Failure Condition: Both groups are big enough that at least 10 successes and at least 10 failures have been observed in each. CONDITIONS ARE EXACTLY THE SAME AS A ONE PROPORTION TEST! You just have to check them for each sample.

The Sampling Distribution We already know that for large enough samples, each of our proportions has an approximately Normal sampling distribution. The same is true of their difference.

The Sampling Distribution (cont.) Provided that the sampled values are independent, the samples are independent, and the samples sizes are large enough, the sampling distribution of is modeled by a Normal model with Mean: Standard deviation:

Everyone into the Pool ALWAYS POOL DATA ON MINITAB!!!! The typical hypothesis test for the difference in two proportions is the one of no difference. In symbols, H0: p1 – p2 = 0. Since we are hypothesizing that there is no difference between the two proportions, that means that the standard deviations for each proportion are the same. Since this is the case, we combine (pool) the counts to get one overall proportion. ALWAYS POOL DATA ON MINITAB!!!!

Suppose the Acme Drug Company develops a new drug, designed to prevent colds. The company states that the drug is equally effective for men and women. To test this claim, they choose a simple random sample of 100 women and 200 men from a population of 100,000 volunteers. At the end of the study, 38% of the women caught a cold; and 51% of the men caught a cold. Based on these findings, can we reject the company's claim that the drug is equally effective for men and women?

Understanding our Conclusions P-value: The probability we would observe a statistic this extreme given the null hypothesis is true. Small p-values (less than 5%) we REJECT the null hypothesis. Larger p-values (greater than 5%) we FAIL TO REJECT the null hypothesis.

Right or Wrong? If we reject or fail to reject does it mean we made the right decision? Nobody’s perfect. Even with lots of evidence we can still make the wrong decision.

Making Errors Here’s some shocking news for you: nobody’s perfect. Even with lots of evidence we can still make the wrong decision. When we perform a hypothesis test, we can make mistakes in two ways: The null hypothesis is true, but we mistakenly reject it. (Type I error) The null hypothesis is false, but we fail to reject it. (Type II error)

Making Errors (cont.) Which type of error is more serious depends on the situation at hand. In other words, the gravity of the error is context dependent. Here’s an illustration of the four situations in a hypothesis test:

Examples Ho: There is no difference in the new medicine. Ha: The new medicine works better. A company is going to spend millions of dollars to mass produce this new drug if they feel it works better.

Examples Ho: You won’t win the lottery. Ha: You will win the lottery. If you don’t think you will win you won’t buy a ticket, if you think you win you will buy a $2 ticket.