Chapter 22 Two-Sample Proportions Inference. Steps for doing a confidence interval: 1)State the parameter 2)Assumptions – 1) The samples are chosen randomly.

Slides:



Advertisements
Similar presentations
Chapter 12: Inference for Proportions BY: Lindsey Van Cleave.
Advertisements

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.
Ch. 21 Practice.
Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Significance Tests for Proportions Presentation 9.2.
Two-Sample Proportions Inference Notes: Page 211.
Inference for Two Proportions Chapter 22
1 Chapter 9 Inferences from Two Samples In this chapter we will deal with two samples from two populations. The general goal is to compare the parameters.
Confidence Intervals and Hypothesis Testing - II
Chapter 20: Testing Hypotheses about Proportions
Two-Sample Proportions Inference. Sampling Distributions for the difference in proportions When tossing pennies, the probability of the coin landing on.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
Inference for One-Sample Means
Two independent samples Difference of Means
Confidence Intervals and Hypothesis tests with Proportions.
Comparing Two Proportions
Hypothesis Testing for Proportions
Hypothesis Tests with Proportions Chapter 10 Notes: Page 169.
Tests About a Population Proportion
Inference for Proportions One Sample. Confidence Intervals One Sample Proportions.
Chapter 22: Comparing Two Proportions
Lesson Comparing Two Proportions. Knowledge Objectives Identify the mean and standard deviation of the sampling distribution of p-hat 1 – p-hat.
The Practice of Statistics Third Edition Chapter 13: Comparing Two Population Parameters Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Two-Sample Inference Procedures with Means. Of the following situations, decide which should be analyzed using one-sample matched pair procedure and which.
Chapter 20 Testing hypotheses about proportions
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
AP Statistics Chapter 20 Notes
Chapter 23 Inference for One- Sample Means. Steps for doing a confidence interval: 1)State the parameter 2)Conditions 1) The sample should be chosen randomly.
AP Statistics Chapter 22 Notes “Comparing Two Proportions”
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Large sample CI for μ Small sample CI for μ Large sample CI for p
Chapter 22: Comparing Two Proportions. Yet Another Standard Deviation (YASD) Standard deviation of the sampling distribution The variance of the sum or.
Chapter 10 Extra practice
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.
Inference with Proportions Review Mr. Hardin AP STATS 2015.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Inference on Proportions. Assumptions: SRS Normal distribution np > 10 & n(1-p) > 10 Population is at least 10n.
Confidence Intervals for Proportions Chapter 19. Rate your confidence Name my age within 10 years? within 5 years? within 1 year? Shooting a basketball.
Inference for Proportions Section Starter Do dogs who are house pets have higher cholesterol than dogs who live in a research clinic? A.
Two-Sample Proportions Inference. Sampling Distributions for the difference in proportions When tossing pennies, the probability of the coin landing.
Chapter 22 Comparing Two Proportions.  Comparisons between two percentages are much more common than questions about isolated percentages.  We often.
Hypothesis Tests Hypothesis Tests Large Sample 1- Proportion z-test.
The Practice of Statistics Third Edition Chapter 12: Significance Tests in Practice Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Warm Up 1. Write the four steps in writing a confidence interval and how to check conditions (step 2) for means. 2. Write the four steps involved in test.
Statistics 22 Comparing Two Proportions. Comparisons between two percentages are much more common than questions about isolated percentages. And they.
Two-Sample Inference Procedures with Means. Two independent samples Difference of Means.
Two-Sample Proportions Inference. Conditions TwoindependentTwo independent SRS’s (or randomly assigned treatments) Populations > 10n Both sampling dist.’s.
Two-Sample Proportions Inference
Two-Sample Proportions Inference
Two-Sample Inference Procedures with Means
Two-Sample Proportions Inference
Hypothesis Tests for 1-Sample Proportion
Two-Sample Proportions Inference
Hypothesis Tests One Sample Means
Two-Sample Hypothesis Test of Proportions
CHAPTER 12 Inference for Proportions
CHAPTER 12 Inference for Proportions
Two-Sample Proportions Inference
Comparing Two Proportions
Inference on Proportions
Comparing Two Proportions
Inference on Proportions Confidence Intervals and Hypothesis Test
Inference on Proportions
Two-Sample Inference Procedures with Means
Presentation transcript:

Chapter 22 Two-Sample Proportions Inference

Steps for doing a confidence interval: 1)State the parameter 2)Assumptions – 1) The samples are chosen randomly and were chosen independently of each other. OR Treatments were assigned randomly to individuals or objects (or vice-versa) 2) Both samples need to be large. n 1 p 1  10 and n 1 (1-p 1 )  10 and n 2 p 2  10 and n 2 (1-p 2 )  10 3) 10% rule – Both samples are less than 10% of the population. 3) Calculate the interval 4) Write a statement about the interval in the context of the problem.

Formula for confidence interval: Note: use p-hat when p is not known Standard error! Margin of error!

Example 1: At Community Hospital, the burn center is experimenting with a new plasma compress treatment. A random sample of 316 patients with minor burns received the plasma compress treatment. Of these patients, it was found that 259 had no visible scars after treatment. Another random sample of 419 patients with minor burns received no plasma compress treatment. For this group, it was found that 94 had no visible scars after treatment. What is a 95% confidence interval of the difference in proportion of people who had no visible scars between the plasma compress treatment & control group?

3) The samples should be less than 10% of the population. The population should be at least 7350 burn patients which I will assume. p 1 = the true proportion of patients who had no visible scars with the plasma compress treatment State the parameters Justify the confidence interval needed (state assumptions) 1) The treatments were assigned randomly to individuals which is stated in the problem. 2) Both samples should be large. Since the conditions are satisfied a CI for proportions is appropriate. p 2 = the true proportion of patients who had no visible scars without the plasma compress treatment p 1 - p 2 = the true difference in proportion of patients who had no visible scars between the two treatments So both samples are large. Since the conditions are met a CI for the difference of proportions is appropriate.

Calculate the confidence interval. 95% CI Explain the interval in the context of the problem. We are 95% confident that the true difference in proportion of people who had no visible scars between the plasma compress treatment & control group is between 53.7% and 65.4%

Steps for a hypothesis test for the difference of two proportions: 1)Define the parameter 2)Hypothesis statements 3)Assumptions 4)Calculations (Find the p-value) 5)Conclusion, in context

Hypotheses Statements Null hypothesis H 0 : p 1 = p 2 or p 1 - p 2 =0 Alternative hypothesis H a : p 1 > p 2 H a : p 1 < p 2 H a : p 1 ≠ p 2

Assumptions 1)The samples are chosen randomly and were chosen independently of each other. OR Treatments were assigned randomly to individuals or objects (or vice- versa) 2) Both samples need to be large. n 1 p 1  10 and n 1 (1-p 1 )  10 and n 2 p 2  10 and n 2 (1-p 2 )  10 3) 10% rule – Both samples are less than 10% of the population.

Formula for Hypothesis test: where

A forest in Oregon has an infestation of spruce moths. In an effort to control the moth, one area has been regularly sprayed from airplanes. In this area, a random sample of 495 spruce trees showed that 81 had been killed by moths. A second nearby area receives no treatment. In this area, a random sample of 518 spruce trees showed that 92 had been killed by the moth. Do these data indicate that the proportion of spruce trees killed by the moth is different for these areas?

Parameters and Hypotheses p 1 = the true proportion of trees killed by moths in the treated area Assumptions (Conditions) Since the conditions are met, a z-test for the difference of proportions is appropriate. p 2 = the true proportion of trees killed by moths in the untreated area p 1 – p 2 = the true difference in proportion of trees killed by moths in the two areas. 3) The samples should be less than 10% of the population. The population should be at least spruce trees which I will assume. 1) Both samples must be random which is stated in the problem. 2) Both samples should be large. So both samples are large. H 0 : p 1 = p 2 H a : p 1 ≠ p 2

Calculations

Since the p-value > , I fail to reject the null hypothesis at the.05 level. Conclusion: Decision: There is not sufficient evidence to suggest that the proportion of spruce trees killed by the moth is different for these areas

Using the Calculator to find a 2 proportion Z-interval 1)Go to STAT, curser over to TESTS, scroll down to B:2-PropZInt 2)Enter the observed numbers (sometimes you may have to multiply np for each x value.) 3)Specify the desired confidence level, and calculate the result. 4)Example: X1 =.28 * 506 (p-hat = 28% and n = 506) [Round whole] N1 = 506 X2 =.14 * 520 (p-hat of second proportion and n of second) [Round] N2 = 520 C-level =.95 (95% confidence level) Calculate Answer: (.09101,.18948) P1 =.281 P2 =.14 N1 = 506Now explain what you see. We are 95% confident that the N2 = 520(relate back to problem)…is between 9.1% and 18.9%.

Using the Calculator to find a 2 Proportion Z-Test 1)Go to STAT, curser to TESTS, select 6: 2-PropZTest 2)Enter the observed numbers and sample sizes for both groups. (You may have to enter data by using np here also.) 3)Remember to indicate which inequality your alternative hypothesis test is using, then calculate. 4)Example: X1 = 318 N1 = 811 X2 = 48 N2 = 184 P1 = ≠ p2 Calculate Answer: p1 ≠ p2We interpret the result and state a conclusion. z = 3.333We see a z-score of and the p-value of p = Such a small p-value indicates that the p1 =.3921observed difference is unlikely to be sampling p2 =.2609error.