BPS - 3rd Ed. Chapter 191 Comparing Two Proportions.

Slides:



Advertisements
Similar presentations
BPS - 5th Ed. Chapter 181 Two-Sample Problems. BPS - 5th Ed. Chapter 182 Two-Sample Problems u The goal of inference is to compare the responses to two.
Advertisements

Comparing Two Proportions
Small differences. Two Proportion z-Interval and z-Tests.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 21, Slide 1 Chapter 21 Comparing Two Proportions.
Sampling: Final and Initial Sample Size Determination
Comparing Two Proportions
Two Sample Hypothesis Testing for Proportions
© 2010 Pearson Prentice Hall. All rights reserved Hypothesis Testing Using a Single Sample.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
Chapter 11: Inference for Distributions
BPS - 3rd Ed. Chapter 131 Confidence intervals: the basics.
5-3 Inference on the Means of Two Populations, Variances Unknown
Find the mean number of points for the basketball team and the standard deviation. PlayerPointsSt. Dev. John51 Tim82 Ed124.
CHAPTER 21: Comparing Two Proportions
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
AP STATISTICS LESSON 11 – 2 (DAY 1) Comparing Two Means.
BPS - 3rd Ed. Chapter 141 Tests of Significance: The Basics.
Comparing Two Proportions
Population All members of a set which have a given characteristic. Population Data Data associated with a certain population. Population Parameter A measure.
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
1 Happiness comes not from material wealth but less desire.
Essential Statistics Chapter 131 Introduction to Inference.
INTRODUCTION TO INFERENCE BPS - 5th Ed. Chapter 14 1.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
Chapter 22: Comparing Two Proportions
BPS - 5th Ed. Chapter 191 Inference about a Population Proportion.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
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 19 Comparing Two Proportions. Outline Two-sample problems: proportions Two-sample problems: proportions The sampling distribution of a difference.
Large sample CI for μ Small sample CI for μ Large sample CI for p
BPS - 3rd Ed. Chapter 131 Confidence Intervals: The Basics.
BPS - 5th Ed. Chapter 141 Introduction to Inference.
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.
BPS - 3rd Ed. Chapter 161 Inference about a Population Mean.
AP Statistics Chapter 24 Comparing Means.
BPS - 3rd Ed. Chapter 141 Tests of significance: the basics.
Week121 Robustness of the two-sample procedures The two sample t-procedures are more robust against nonnormality than one-sample t-procedures. When the.
1 If we live with a deep sense of gratitude, our life will be greatly embellished.
Inference for Proportions Section Starter Do dogs who are house pets have higher cholesterol than dogs who live in a research clinic? A.
Chapter 22 Comparing Two Proportions.  Comparisons between two percentages are much more common than questions about isolated percentages.  We often.
Essential Statistics Chapter 171 Two-Sample Problems.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
Statistics 22 Comparing Two Proportions. Comparisons between two percentages are much more common than questions about isolated percentages. And they.
AP Statistics Chapter 24 Comparing Means. Objectives: Two-sample t methods Two-Sample t Interval for the Difference Between Means Two-Sample t Test for.
Essential Statistics Chapter 191 Comparing Two Proportions.
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.
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.
Inference: Conclusion with Confidence
Chapter 6 Inferences Based on a Single Sample: Estimation with Confidence Intervals Slides for Optional Sections Section 7.5 Finite Population Correction.
Chapter 4. Inference about Process Quality
STAT 312 Chapter 7 - Statistical Intervals Based on a Single Sample
Essential Statistics Inference about a Population Proportion
Basic Practice of Statistics - 3rd Edition
Comparing Two Proportions
Chapter 8: Inference for Proportions
Comparing Two Proportions
CHAPTER 17: Tests of Significance: The Basics
Elementary Statistics
CHAPTER 22: Inference about a Population Proportion
Inference on Proportions
Comparing Two Proportions
Essential Statistics Introduction to Inference
Basic Practice of Statistics - 3rd Edition Two-Sample Problems
Basic Practice of Statistics - 3rd Edition Introduction to Inference
Essential Statistics Two-Sample Problems - Two-sample t procedures -
Essential Statistics Inference about a Population Proportion
Presentation transcript:

BPS - 3rd Ed. Chapter 191 Comparing Two Proportions

BPS - 3rd Ed. Chapter 192 Two-Sample Problems u The goal of inference is to compare the responses to two treatments or to compare the characteristics of two populations. u We have a separate sample from each treatment or each population. u Each sample is separate. The units are not matched, and the samples can be of differing sizes.

BPS - 3rd Ed. Chapter 193 Case Study A study is performed to test of the reliability of products produced by two machines. Machine A produced 8 defective parts in a run of 140, while machine B produced 10 defective parts in a run of 200. This is an example of when to use the two-proportion z procedures. nDefects Machine A1408 Machine B20011 Machine Reliability

BPS - 3rd Ed. Chapter 194 Inference about the Difference p 1 – p 2 Simple Conditions u The difference in the population proportions is estimated by the difference in the sample proportions: u When both of the samples are large, the sampling distribution of this difference is approximately Normal with mean p 1 – p 2 and standard deviation

BPS - 3rd Ed. Chapter 195 Inference about the Difference p 1 – p 2 Sampling Distribution

BPS - 3rd Ed. Chapter 196 Since the population proportions p 1 and p 2 are unknown, the standard deviation of the difference in sample proportions will need to be estimated by substituting for p 1 and p 2 : Standard Error

BPS - 3rd Ed. Chapter 197

BPS - 3rd Ed. Chapter 198 Case Study: Reliability We are 90% confident that the difference in proportion of defectives for the two machines is between -3.97% and 4.39%. Since 0 is in this interval, it is unlikely that the two machines differ in reliability. Compute a 90% confidence interval for the difference in reliabilities (as measured by proportion of defectives) for the two machines. Confidence Interval

BPS - 3rd Ed. Chapter 199 u The standard confidence interval approach yields unstable or erratic inferences. u By adding four imaginary observations (one success and one failure to each sample), the inferences can be stabilized. u This leads to more accurate inference of the difference of the population proportions. Adjustment to Confidence Interval “Plus Four” Confidence Interval for p 1 – p 2

BPS - 3rd Ed. Chapter 1910 Adjustment to Confidence Interval “Plus Four” Confidence Interval for p 1 – p 2 u Add 4 imaginary observations, one success and one failure to each sample. u Compute the “plus four” proportions. u Use the “plus four” proportions in the formula.

BPS - 3rd Ed. Chapter 1911 Case Study: Reliability “Plus Four” 90% Confidence Interval We are 90% confident that the difference in proportion of defectives for the two machines is between -3.94% and 4.74%. Since 0 is in this interval, it is unlikely that the two machines differ in reliability. (This is more accurate.)

BPS - 3rd Ed. Chapter 1912 The Hypotheses for Testing Two Proportions u Null: H 0 : p 1 = p 2 u One sided alternatives H a : p 1 > p 2 H a : p 1 < p 2 u Two sided alternative H a : p 1  p 2

BPS - 3rd Ed. Chapter 1913 Pooled Sample Proportion u If H 0 is true (p 1 =p 2 ), then the two proportions are equal to some common value p. u Instead of estimating p 1 and p 2 separately, we will combine or pool the sample information to estimate p. u This combined or pooled estimate is called the pooled sample proportion, and we will use it in place of each of the sample proportions in the expression for the standard error SE. pooled sample proportion

BPS - 3rd Ed. Chapter 1914 Test Statistic for Two Proportions u Use the pooled sample proportion in place of each of the individual sample proportions in the expression for the standard error SE in the test statistic:

BPS - 3rd Ed. Chapter 1915 P-value for Testing Two Proportions u H a : p 1 > p 2 v P-value is the probability of getting a value as large or larger than the observed test statistic (z) value. u H a : p 1 < p 2 v P-value is the probability of getting a value as small or smaller than the observed test statistic (z) value. u H a : p 1 ≠ p 2 v P-value is two times the probability of getting a value as large or larger than the absolute value of the observed test statistic (z) value.

BPS - 3rd Ed. Chapter 1916

BPS - 3rd Ed. Chapter 1917 Case Study u A university financial aid office polled a simple random sample of undergraduate students to study their summer employment. u Not all students were employed the previous summer. Here are the results: u Is there evidence that the proportion of male students who had summer jobs differs from the proportion of female students who had summer jobs. Summer StatusMenWomen Employed Not Employed79139 Total Summer Jobs

BPS - 3rd Ed. Chapter 1918 u Null: The proportion of male students who had summer jobs is the same as the proportion of female students who had summer jobs. [H 0 : p 1 = p 2 ] u Alt: The proportion of male students who had summer jobs differs from the proportion of female students who had summer jobs. [H a : p 1 ≠ p 2 ] The Hypotheses Case Study: Summer Jobs

BPS - 3rd Ed. Chapter 1919 Case Study: Summer Jobs u n 1 = 797 and n 2 = 732 (both large, so test statistic follows a Normal distribution) u Pooled sample proportion: u standardized score (test statistic): Test Statistic

BPS - 3rd Ed. Chapter 1920 Case Study: Summer Jobs 1. Hypotheses:H 0 : p 1 = p 2 H a : p 1 ≠ p 2 2. Test Statistic: 3. P-value: P-value = 2P(Z > 5.07) = (using a computer) P-value = 2P(Z > 5.07) 3.49 (the largest z-value in the table)] 4. Conclusion: Since the P-value is smaller than  = 0.001, there is very strong evidence that the proportion of male students who had summer jobs differs from that of female students.