Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.

Slides:



Advertisements
Similar presentations
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Advertisements

Two Sample Hypothesis Testing for Proportions
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Chapter 9: Inferences Involving One Population Student’s t, df = 5 Student’s t, df = 15 Student’s t, df = 25.
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Fundamentals of Hypothesis Testing: One-Sample Tests Basic Business Statistics.
Section 9.3 Testing a Proportion p. 2 Focus Points Identify the components needed for testing a proportion. Compute the sample test statistic. Find the.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 9 Hypothesis Testing.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 8-1 TUTORIAL 6 Chapter 10 Hypothesis Testing.
5-3 Inference on the Means of Two Populations, Variances Unknown
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 8 Tests of Hypotheses Based on a Single Sample.
Copyright © Cengage Learning. All rights reserved. 11 Applications of Chi-Square.
AM Recitation 2/10/11.
Math 227 Elementary Statistics
Confidence Intervals and Hypothesis Testing - II
CHAPTER 2 Statistical Inference 2.1 Estimation  Confidence Interval Estimation for Mean and Proportion  Determining Sample Size 2.2 Hypothesis Testing:
Statistical inference: confidence intervals and hypothesis testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap th Lesson Introduction to Hypothesis Testing.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Copyright © Cengage Learning. All rights reserved. 9 Inferences Involving One Population.
14 Elements of Nonparametric Statistics
Copyright © Cengage Learning. All rights reserved. 8 Introduction to Statistical Inferences.
Copyright © Cengage Learning. All rights reserved. 9 Inferences Involving One Population.
Chapter 9 Large-Sample Tests of Hypotheses
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Sections 6-1 and 6-2 Overview Estimating a Population Proportion.
14 Elements of Nonparametric Statistics
1 Introduction to Hypothesis Testing. 2 What is a Hypothesis? A hypothesis is a claim A hypothesis is a claim (assumption) about a population parameter:
Chapter 8 Introduction to Hypothesis Testing
CHAPTER 20: Inference About a Population Proportion ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
Copyright © Cengage Learning. All rights reserved. 14 Elements of Nonparametric Statistics.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
Agresti/Franklin Statistics, 1 of 122 Chapter 8 Statistical inference: Significance Tests About Hypotheses Learn …. To use an inferential method called.
Confidence intervals are one of the two most common types of statistical inference. Use a confidence interval when your goal is to estimate a population.
One-Sample Tests of Hypothesis Chapter 10 McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
Testing of Hypothesis Fundamentals of Hypothesis.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Copyright © Cengage Learning. All rights reserved. 14 Elements of Nonparametric Statistics.
Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.
Chapter 7 Inferences Based on a Single Sample: Tests of Hypotheses.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Chap 8-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 8 Introduction to Hypothesis.
Copyright © Cengage Learning. All rights reserved. 8 Introduction to Statistical Inferences.
© Copyright McGraw-Hill 2000
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
© Copyright McGraw-Hill 2004
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
4.1Introduction The field of statistical inference consist of those methods used to make decisions or to draw conclusions about a population. These methods.
C HAPTER 4  Hypothesis Testing -Test for one and two means -Test for one and two proportions.
Understanding Basic Statistics Fourth Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Nine Hypothesis Testing.
Copyright © Cengage Learning. All rights reserved. 9 Inferences Based on Two Samples.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter 9 Hypothesis Testing Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Chapter Nine Hypothesis Testing.
Chapter 4. Inference about Process Quality
Chapter 9: Inferences Involving One Population
Chapter 8 Hypothesis Testing with Two Samples.
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations

Copyright © Cengage Learning. All rights reserved Inferences Concerning the Difference between Proportions Using Two Independent Samples

3 We are often interested in making statistical comparisons between the proportions, percentages, or probabilities associated with two populations. These questions ask for such comparisons: Is the proportion of homeowners who favor a certain tax proposal different from the proportion of renters who favor it? Did a larger percentage of this semester’s class than of last semester’s class pass statistics?

4 Inferences Concerning the Difference between Proportions Using Two Independent Samples Is the probability of a Democratic candidate winning in New York greater than the probability of a Republican candidate winning in Texas? Do students’ opinions about the new code of conduct differ from those of the faculty? You have probably asked similar questions. Note These are the properties of a binomial experiment: 1. The observed probability is p = x  n, where x is the number of observed successes in n trials.

5 Inferences Concerning the Difference between Proportions Using Two Independent Samples 2. q = 1 – p. 3. p is the probability of success on an individual trial in a binomial probability experiment of n repeated independent trials. In this section, we will compare two population proportions by using the difference between the observed proportions, of two independent samples.

6 Inferences Concerning the Difference between Proportions Using Two Independent Samples The observed difference, belongs to a sampling distribution with the characteristics described in the following statement. If independent samples of sizes n 1 and n 2 are drawn randomly from large with p 1 = P 1 (success) and p 2 = P 2 (success), respectively, then the sampling distribution of has these properties: 1. mean  = P 1 – P 2

7 Inferences Concerning the Difference between Proportions Using Two Independent Samples an approximately normal distribution if n 1 and n 2 are sufficiently large In practice, we use the following guidelines to ensure normality: 1. The sample sizes are both larger than The products n 1 p 1, n 1 q 1, n 2 p 2, and n 2 q 2 are all larger than 5. (10.10)

8 Inferences Concerning the Difference between Proportions Using Two Independent Samples 3. The samples consist of less than 10% of their respective populations. Note p 1 and p 2 are unknown; therefore, the products mentioned in guideline 2 will be estimated by and Inferences about the difference between two population proportions, p 1 – p 2, will be based on the following assumptions.

9 Inferences Concerning the Difference between Proportions Using Two Independent Samples Assumptions for inferences about the difference between two proportions p 1 – p 2 The n 1 random observations and the n 2 random observations that form the two samples are selected independently from two populations that do not change during the sampling.

10 Confidence Interval Procedure

11 Confidence Interval Procedure When we estimate the difference between two proportions, p 1 – p 2, we will base our estimates on the unbiased sample statistic The point estimate, becomes the center of the confidence interval and the confidence interval limits are found using the following formula:

12 Example 12 – Constructing a Confidence Interval for the Difference between Two Proportions In studying his campaign plans, Mr. Morris wishes to estimate the difference between men’s and women’s views regarding his appeal as a candidate. He asks his campaign manager to take two random independent samples and find the 99% confidence interval for the difference between the proportions of women and men voters who plan to vote for him. A sample of 1000 voters was taken from each population, with 388 men and 459 women favoring Mr. Morris.

13 Example 12 – Solution Step 1 Parameter of interest: p w – p m, the difference between the proportion of women voters and the proportion of men voters who plan to vote for Mr. Morris Step 2 a. Assumptions: The samples are randomly and independently selected. b. Probability distribution: The standard normal distribution. The populations are large (all voters); the sample sizes are larger than 20; and the estimated values for n m p m, n m q m, n w p w, and n w q w are all larger than 5.

14 Example 12 – Solution Therefore, the sampling distribution of should have an approximately normal distribution. The interval will be calculated using formula (10.11). c. Level of confidence: 1 –  = 0.99 Step 3 Sample Information: We have n m = 1000, x m = 388, n w = 1000, and x w = 459. cont’d

15 Example 12 – Solution Step 4 a. Confidence coefficient: This is a two-tailed situation, with  /2 in each tail. From Table 4B, z(  /2) = z(0.005) = b. Maximum error of estimate: Using the maximum error part of formula (10.11), we have cont’d

16 Example 12 – Solution c. Lower/upper confidence limits: – = to = Step 5 a. Confidence interval: to is the 99% confidence interval for p w – p m. With 99% confidence, we can say that there is a difference of 1.4% to 12.8% in Mr. Morris’s voter appeal. b. That is, a larger proportion of women than men favor Mr. Morris, and the difference in the proportions is between 1.4% and 12.8%. cont’d

17 Confidence Interval Procedure Confidence intervals and hypothesis tests can sometimes be interchanged; that is, a confidence interval can be used in place of a hypothesis test. For example, Example 12 called for a confidence interval. Now suppose that Mr. Morris asked, “Is there a difference in my voter appeal to men voters as opposed to women voters?” To answer his question, you would not need to complete a hypothesis test if you chose to test at  = 0.01 using a two-tailed test.

18 Confidence Interval Procedure “No difference” would mean a difference of zero, which is not included in the interval from to (the interval determined in Example 12). Therefore, a null hypothesis of “no difference” would be rejected, thereby substantiating the conclusion that a significant difference exists in voter appeal between the two groups.

19 Hypothesis-Testing Procedure

20 Hypothesis-Testing Procedure When the null hypothesis—there is no difference between two proportions—is being tested, the test statistic will be the difference between the observed proportions divided by the standard error; it is found with the following formula:

21 Hypothesis-Testing Procedure Notes 1. The null hypothesis is p 1 = p 2 or p 1 – p 2 = 0 (the difference is zero). 2. Nonzero differences between proportions are not discussed in this section. 3. The numerator of formula (10.12) could be written as but since the null hypothesis is assumed to be true during the test, p 1 – p 2 = 0. By substitution, the numerator becomes simply

22 Hypothesis-Testing Procedure 4. Since the null hypothesis is p 1 = p 2, the standard error of can be written as where p = p 1 = p 2 and q = 1 – p. 5. When the null hypothesis states p 1 = p 2 and does not specify the value of either p 1 or p 2, the two sets of sample data will be pooled to obtain the estimate for p.

23 Hypothesis-Testing Procedure This pooled probability (known as ) is the total number of successes divided by the total number of observations with the two samples combined; it is found using the next formula: and is its complement, (10.13) (10.14)

24 Hypothesis-Testing Procedure When the pooled estimate, is being used, formula (10.12) becomes formula (10.15):

25 Example 13 – One-Tailed Hypothesis Test for the Difference between Two Proportions A salesperson for a new manufacturer of cellular phones claims not only that they cost the retailer less but also that the percentage of defective cellular phones found among her products will be no higher than the percentage of defectives found in a competitor’s line. To test this statement, a retailer took random samples of each manufacturer’s product. The sample summaries are given in Table Table 10.5 Cellular Phone Sample Information

26 Example 13 – One-Tailed Hypothesis Test for the Difference between Two Proportions Can we reject the salesperson’s claim at the 0.05 level of significance? Solution: Step 1 a. Parameter of interest: p s – p c the difference between the proportion of defectives in the salesperson’s product and the proportion of defectives in the competitor’s product b. Statement of hypotheses: The concern of the retailer is that the salesperson’s less expensive product may be of a poorer quality, meaning a greater proportion of defectives. cont’d

27 Example 13 – Solution If we use the difference “suspected larger proportion – smaller proportion,” then the alternative hypothesis is “The difference is positive (greater than zero).” H o : p s – p c = 0 (  ) (salesperson’s defective rate is no higher than competitor’s) H a : p s – p c > 0 (salesperson’s defective rate is higher than competitor’s) cont’d

28 Example 13 – Solution Step 2 a. Assumptions: Random samples were selected from the products of two different manufacturers. b. The test statistic to be used: The standard normal distribution. Populations are very large (all cellular phones produced); the samples are larger than 20; and the estimated products and are all larger than 5. Therefore, the sampling distribution should have an approximately normal distribution. will be calculated using formula (10.15). c. Level of significance:  = 0.05 cont’d

29 Example 13 – Solution Step 3 a. Sample information: b. Calculated test statistic: cont’d

30 Example 13 – Solution Step 4 Probability Distribution: p-Value: a. Use the right-hand tail because H a expresses concern for values related to “higher than.” P = p-value = P (z > 2.04), as shown in the figure. cont’d

31 Example 13 – Solution To find the p-value, you have three options: 1. Use Table 3 (Appendix B) to calculate the p-value: P = – = Use Table 5 (Appendix B) to place bounds on the p-value: < P < Use a computer or calculator: P = b. The p-value is smaller than . cont’d

32 Example 13 – Solution Classical: a. The critical region is the right-hand tail because H a expresses concern for values related to “higher than.” The critical value is obtained from Table 4A: z(0.05) = b. z is in the critical region, as shown in red in the figure. cont’d

33 Example 13 – Solution Step 5 a. Decision: Reject H o. b. Conclusion: At the 0.05 level of significance, there is sufficient evidence to reject the salesperson’s claim; the proportion of her company’s cellular phones that are defective is higher than the proportion of her competitor’s cellular phones that are defective. cont’d