Lesson 13 - 2 Comparing Two Proportions. Knowledge Objectives Identify the mean and standard deviation of the sampling distribution of p-hat 1 – p-hat.

Slides:



Advertisements
Similar presentations
Lesson Tests about a Population Parameter.
Advertisements

Objective: To test claims about inferences for two proportions, under specific conditions Chapter 22.
Lesson Tests about a Population Mean. Knowledge Objectives Define the one-sample t statistic.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Two Sample Hypothesis Testing for Proportions
Lecture Slides Elementary Statistics Twelfth Edition
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
Fundamentals of Hypothesis Testing: One-Sample Tests
Claims about a Population Mean when σ is Known Objective: test a claim.
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.
Lesson Carrying Out Significance Tests. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Lesson Comparing Two Means.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Lesson 11 - R Review of Testing a Claim. Objectives Explain the logic of significance testing. List and explain the differences between a null hypothesis.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Lesson Confidence Intervals: The Basics. Knowledge Objectives List the six basic steps in the reasoning of statistical estimation. Distinguish.
LESSON Tests about a Population Parameter.
Significance Tests: THE BASICS Could it happen by chance alone?
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Lesson Testing Claims about a Population Mean Assuming the Population Standard Deviation is Known.
Chapter 22: Comparing Two Proportions
The Practice of Statistics Third Edition Chapter 13: Comparing Two Population Parameters Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Lesson Significance Tests: The Basics. Vocabulary Hypothesis – a statement or claim regarding a characteristic of one or more populations Hypothesis.
Chapter 9 Inferences from Two Samples
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Comparing Three or More Means ANOVA (One-Way Analysis of Variance)
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.
Lesson Comparing Two Proportions. Inference Toolbox Review Step 1: Hypothesis –Identify population of interest and parameter –State H 0 and H a.
Section 10.1 Confidence Intervals
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
Lesson Testing Claims about a Population Proportion.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 9-1 Review and Preview.
Lesson Inference about Two Means - Dependent Samples.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
Section A Confidence Interval for the Difference of Two Proportions Objectives: 1.To find the mean and standard error of the sampling distribution.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
Section 6-3 Estimating a Population Mean: σ Known.
Lesson 10 - R Review of Chapter 10 Confidence Intervals.
Lesson Testing Claims about a Population Mean in Practice.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
Lesson Estimating a Population Proportion.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Chapter 22 Comparing Two Proportions.  Comparisons between two percentages are much more common than questions about isolated percentages.  We often.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
10.1 – Estimating with Confidence. Recall: The Law of Large Numbers says the sample mean from a large SRS will be close to the unknown population mean.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Example: In a recent poll, 70% of 1501 randomly selected adults said they believed.
Chapter 22: Comparing Two Proportions AP Statistics.
Lesson 12 - R Review of Chapter 12 Significance Tests in Practice.
Lesson Testing the Significance of the Least Squares Regression Model.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Confidence Intervals about a Population Proportion
Review of Testing a Claim
Inference about Two Means - Independent Samples
Confidence Intervals: The Basics
Review of Chapter 12 Significance Tests in Practice
Comparing Two Populations or Treatments
Review of Chapter 10 Confidence Intervals
Introduction to Inference
Elementary Statistics
Lesson Comparing Two Means.
Confidence Intervals: The Basics
Confidence Intervals: The Basics
Click the mouse button or press the Space Bar to display the answers.
Click the mouse button or press the Space Bar to display the answers.
Click the mouse button or press the Space Bar to display the answers.
Review of Chapter 10 Comparing Two Population Parameters
Click the mouse button or press the Space Bar to display the answers.
Carrying Out Significance Tests
Presentation transcript:

Lesson Comparing Two Proportions

Knowledge Objectives Identify the mean and standard deviation of the sampling distribution of p-hat 1 – p-hat 2. List the conditions under which the sampling distribution of p-hat 1 – p-hat 2 is approximately Normal. Identify the standard error of p-hat 1 – p-hat 2 when constructing a confidence interval for the difference between two population proportions. Identify the three conditions under which it is appropriate to construct a confidence interval for the difference between two population proportions.

Knowledge Objectives Explain why, in a significance test for the difference between two proportions, it is reasonable to combine (pool) your sample estimates to make a single estimate of the difference between the proportions. Explain how the standard error of p-hat 1 – p-hat 2 differs between constructing a confidence interval for p-hat 1 – p-hat 2 and performing a hypothesis test for H 0 : p 1 – p 2 = 0. List the three conditions that need to be satisfied in order to do a significance test for the difference between two proportions.

Construction Objectives Construct a confidence interval for the difference between two population proportions using the four- step Inference Toolbox for confidence intervals Conduct a significance test for the difference between two proportions using the Inference Toolbox

Vocabulary Statistical Inference –

Inference Toolbox Review Step 1: Hypothesis –Identify population of interest and parameter –State H 0 and H a Step 2: Conditions –Check appropriate conditions Step 3: Calculations –State test or test statistic –Use calculator to calculate test statistic and p-value Step 4: Interpretation –Interpret the p-value (fail-to-reject or reject) –Don’t forget 3 C’s: conclusion, connection and context

Difference in Two Proportions Testing a claim regarding the difference of two proportions requires that they both are approximately Normal

Requirements Testing a claim regarding the confidence interval of the difference of two proportions SRS - Samples are independently obtained using SRS (simple random sampling) Normality: n 1 p 1 ≥ 5 and n 1 (1-p 1 ) ≥ 5 n 2 p 2 ≥ 5 and n 2 (1-p 2 ) ≥ 5 (note the change from what we are used to) Independence: n 1 ≤ 0.10N 1 and n 2 ≤ 0.10N 2 ;

Confidence Intervals

Lower Bound: Upper Bound: p 1 and p 2 are the sample proportions of the two samples Note: the same requirements hold as for the hypothesis testing (p 1 – p 2 ) – z α/2 · (p 1 – p 2 ) + z α/2 · p 1 (1 – p 1 ) p 2 (1 – p 2 ) n 1 n 2 p 1 (1 – p 1 ) p 2 (1 – p 2 ) n 1 n 2 Confidence Interval – Difference in Two Proportions

Using Your TI Calculator Press STAT –Tab over to TESTS –Select 2-PropZInt and ENTER Entry x1, n1, x2, n2, C-level Highlight Calculate and ENTER –Read interval information off

Example 1 A study of the effect of pre-school had on later use of social services revealed the following data. Compute a 95% confidence interval on the difference between the control and Pre-school group proportions PopulationDescription Sample Size Social Service Proportion 1Control Preschool

Example 1 cont Conditions: SRS Normality Independence Calculations: Conclusion: PopulationDescription Sample Size Social Service Proportion 1Control Preschool Assumed CAUTION! n 1 p 1 = 49 > 5 n 1 (1-p 1 ) = 12 >5 n 2 p 2 = 38 > 5 n 2 (1-p 2 ) = 24 >5 Ni > 620 (kids that age) 2 proportion z-interval Using our calculator we get: (0.0337, ) The method used to generate this interval, (0.0337, ), will on average capture the true difference between population proportions 95% of the time. Since it does not include 0, then they are different. (p 1 – p 2 )  z α/2 · p 1 (1 – p 1 ) p 2 (1 – p 2 ) n 1 n 2

Classical and P-Value Approach – Two Proportions Test Statistic: zαzα -z α/2 z α/2 -z α Critical Region P-Value is the area highlighted |z 0 |-|z 0 | z0z0 z0z0 Reject null hypothesis, if P-value < α Left-TailedTwo-TailedRight-Tailed z 0 < - z α z 0 z α/2 z 0 > z α Remember to add the areas in the two-tailed! where x 1 + x 2 p = n 1 + n 2 p 1 – p 2 z 0 = p (1- p) n 1 n 2

Combined Sample Proportion Estimate Combined sample proportion is used because all probabilities are being calculated under the null hypothesis that the independent proportions are equal! x 1 + x 2 p = n 1 + n 2

Using Your Calculator Press STAT –Tab over to TESTS –Select 2-PropZTest and ENTER Entry x1, n1, x2, n2 Highlight test type (p1≠ p2, p1 p1) Highlight Calculate and ENTER –Read z-critical and p-value off screen other information is there to verify Classical: compare Z 0 with Z c (from table) P-value: compare p-value with α

Example 2 We have two independent samples. 55 out of a random sample of 100 students at one university are commuters. 80 out of another random sample of 200 students at different university are commuters. We wish to know of these two proportions are equal. We use a level of significance α =.05

Example 2 cont Parameter Hypothesis H 0 : H 1 : Requirements: SRS, Normality, Independence p 1 ≠ p 2 (difference in commuter rates) p 1 = p 2 (No difference in commuter rates) p 1 = 0.55 n 1 p 1 and n 1 (1-p 1 ) (55, 45) > 10 p 2 = 0.40 n 2 p 2 and n 2 (1-p 2 ) (80, 120) > 10 n 1 = 100 n total students n 2 = 200 n total students Random sample discussed above is assumed SRS p 1 and p 2 are the commuter rates (%) at the two universities

Example 2 cont Test Statistic: Critical Value: Conclusion: z c (0.05/2) = 1.96, α = 0.05 Since the p-value is less than  (.01 z c, we have sufficient evidence to reject H 0. So there is a difference in the proportions of students who commute between the two universities = 2.462, p = Pooled Est: p = = p 1 – p 2 z 0 = p (1- p) n 1 n 2

Sample Size for Estimating p 1 – p 2 The sample size required to obtain a (1 – α) * 100% confidence interval with a margin of error E is given by rounded up to the next integer. If a prior estimates of p i are unavailable, the sample required is z α/2 n = n 1 = n 2 = E 2 rounded up to the next integer, where p i is a prior estimate of p i.. The margin of error should always be expressed as a decimal when using either of these formulas. z α/2 n = n 1 = n 2 = p 1 (1 – p 1 ) + p 2 (1 – p 2 ) E 2

Example 3 A sports medicine researcher for a university wishes to estimate the difference between the proportion of male athletes and female athletes who consume the USDA’s recommended daily intake of calcium. What sample size should he use if he wants to estimate to be within 3% at a 95% confidence level? a)if he uses a 1994 study as a prior estimate that found 51.1% of males and 75.2% of females consumed the recommended amount b)if he does not use any prior estimates

Example 3a Using the formula below with p 1 =0.511, p 2 =0.752, E=0.03 and Z = 1.96 n = [(0.511)(0.489)+(0.752)(0.248)] (1.96/0.03)² = Round up to 1863 subjects in each group z α/2 n = n 1 = n 2 = p 1 (1 – p 1 ) + p 2 (1 – p 2 ) E 2

Example 3b Using the formula below with, E=0.03 and Z = 1.96 n = [(0.25)] (1.96/0.03)² = Round up to 2135 subjects in each group Prior estimates help make sizes required smaller z α/2 n = n 1 = n 2 = E 2

Summary and Homework Summary –We can compare proportions from two independent samples –We use a formula with the combined sample sizes and proportions for the standard error –The overall process, other than the formula for the standard error, are the general hypothesis test and confidence intervals process Homework –pg , and pg , 13.38