Two-Sample Proportions Inference. Sampling Distributions for the difference in proportions When tossing pennies, the probability of the coin landing on.

Slides:



Advertisements
Similar presentations
Inference on Proportions. What are the steps for performing a confidence interval? 1.Assumptions 2.Calculations 3.Conclusion.
Advertisements

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)
Two-Sample Inference Procedures with Means. Remember: We will be intereste d in the differen ce of means, so we will use this to find standard error.
12.1 Inference for A Population Proportion.  Calculate and analyze a one proportion z-test in order to generalize about an unknown population proportion.
Comparing Two Proportions
5-1 Introduction 5-2 Inference on the Means of Two Populations, Variances Known Assumptions.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
Chapter 11: Inference for Distributions
5-3 Inference on the Means of Two Populations, Variances Unknown
Two-Sample Proportions Inference Notes: Page 211.
Inference for Two Proportions Chapter 22
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
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.
CHAPTER 21: Comparing Two Proportions
Two independent samples Difference of Means
Two-Sample Inference Procedures with Means. Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
8.2 - Estimating a Population Proportion
Comparing Two Population Means
Confidence Intervals and Hypothesis tests with Proportions.
Chapter 10 Comparing Two Means Target Goal: I can use two-sample t procedures to compare two means. 10.2a h.w: pg. 626: 29 – 32, pg. 652: 35, 37, 57.
Chapter 10 Inferences from Two Samples
Inference on Proportions
Inference for Proportions One Sample. Confidence Intervals One Sample Proportions.
Two-Sample Inference Procedures with Means. Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches.
Biostatistics Class 6 Hypothesis Testing: One-Sample Inference 2/29/2000.
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Chapter 22 Two-Sample Proportions Inference. Steps for doing a confidence interval: 1)State the parameter 2)Assumptions – 1) The samples are chosen randomly.
Two-Sample Inference Procedures with Means. Remember: We will be interested in the difference of means, so we will use this to find standard error.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
12.1 Inference for A Population Proportion.  Calculate and analyze a one proportion z-test in order to generalize about an unknown population proportion.
What is a Test of Significance?. Statistical hypotheses – statements about population parameters Examples Mean weight of adult males is greater than 160.
Inference on Proportions. Assumptions: SRS Normal distribution np > 10 & n(1-p) > 10 Population is at least 10n.
Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches. We also have a population of adult women.
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.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Chapter 9 Lecture 3 Section: 9.3. We will now consider methods for using sample data from two independent samples to test hypotheses made about two population.
Sampling Distributions of Proportions. Toss a penny 20 times and record the number of heads. Calculate the proportion of heads & mark it on the dot plot.
Comparing Two Proportions Chapter 21. In a two-sample problem, we want to compare two populations or the responses to two treatments based on two independent.
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 Inference Procedures with Means. Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to.
Two-Sample Inference Procedures with Means. Two-Sample Procedures with Means two differentGoal: Compare two different populations/treatments INDEPENDENT.
Class Six Turn In: Chapter 15: 30, 32, 38, 44, 48, 50 Chapter 17: 28, 38, 44 For Class Seven: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 Read.
Two-Sample Proportions Inference
Two-Sample Inference Procedures with Means
Two-Sample Proportions Inference
One-Sample Inference for Proportions
Two-Sample Proportions Inference
Chapter 8: Inference for Proportions
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
Two-Sample Proportions Inference
Independent Samples: Comparing Means
Two-Sample Hypothesis Test with Means
Two-Sample Hypothesis Test of Proportions
Two-Sample Proportions Inference
Two-Sample Inference Procedures with Means
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:

Two-Sample Proportions Inference

Sampling Distributions for the difference in proportions When tossing pennies, the probability of the coin landing on heads is 0.5. However, when spinning the coin, the probability of the coin landing on heads is 0.4. Let’s investigate. Pairs of students will be given pennies and assigned to either Looking at the sampling distribution of the difference in sample proportions: What is the mean of the difference in sample proportions (flip - spin)? What is the standard deviation of the difference in sample proportions (flip - spin)? Can the sampling distribution of difference in sample proportions (flip - spin) be approximated by a normal distribution? Yes, since n 1 p 1 =12.5, n 1 (1-p 1 )=12.5, n 2 p 2 =10, n 2 (1-p 2 )=15 – so all are at least 5)

Assumptions: TwoindependentTwo, independent SRS’s from populations Populations at least 10n Normal approximation for both

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 the shape & standard error of the sampling distribution of the difference in the proportions of people with visible scars between the two groups? Since n 1 p 1 =259, n 1 (1-p 1 )=57, n 2 p 2 =94, n 2 (1-p 2 )=325 and all > 5, then the distribution of difference in proportions is approximately normal.

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?

Assumptions: Have 2 independent SRS of burn patients Both distributions are approximately normal since n 1 p 1 =259, n 1 (1-p 1 )=57, n 2 p 2 =94, n 2 (1-p 2 )=325 and all > 5 Population of burn patients is at least Since these are all burn patients, we can add = 735. If not the same – you MUST list separately. We are 95% confident that the true the difference in proportion of people who had no visible scars between the plasma compress treatment & control group is between 53.7% and 65.4%

Example 2: Suppose that researchers want to estimate the difference in proportions of people who are against the death penalty in Texas & in California. If the two sample sizes are the same, what size sample is needed to be within 2% of the true difference at 90% confidence? Since both n’s are the same size, you have common denominators – so add! n = 3383

Example 3: Researchers comparing the effectiveness of two pain medications randomly selected a group of patients who had been complaining of a certain kind of joint pain. They randomly divided these people into two groups, and then administered the painkillers. Of the 112 people in the group who received medication A, 84 said this pain reliever was effective. Of the 108 people in the other group, 66 reported that pain reliever B was effective. (BVD, p. 435) a) Construct separate 95% confidence intervals for the proportion of people who reported that the pain reliever was effective. Based on these intervals how do the proportions of people who reported pain relieve with medication A or medication B compare? b) Construct a 95% confidence interval for the difference in the proportions of people who may find these medications effective. CI A = (.67,.83) CI B =(.52,.70) Since the intervals overlap, it appears that there is no difference in the proportion of people who reported pain relieve between the two medicines. CI = (0.017, 0.261) Since zero is not in the interval, there is a difference in the proportion of people who reported pain relieve between the two medicines. SO – which is correct?

Hypothesis statements: H 0 : p 1 = p 2 H a : p 1 > p 2 H a : p 1 < p 2 H a : p 1 ≠ p 2 Be sure to define both p 1 & p 2 !

Since we assume that the population proportions are equal in the null hypothesis, the variances are equal. Therefore, we pool the variances!

Formula for Hypothesis test: p 1 = p 2 So... p 1 – p 2 =0

Example 4: 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?

Assumptions: Have 2 independent SRS of spruce trees Both distributions are approximately normal since n 1 p 1 =81, n 1 (1-p 1 )=414, n 2 p 2 =92, n 2 (1-p 2 )=426 and all > 5 Population of spruce trees is at least 10,130. H 0 : p 1 =p 2 where p 1 is the true proportion of trees killed by moths H a : p 1 ≠p 2 in the treated area p 2 is the true proportion of trees killed by moths in the untreated area P-value =  = 0.05 Since p-value > , I fail to reject H 0. There is not sufficient evidence to suggest that the proportion of spruce trees killed by the moth is different for these areas