Chapter 10: Comparing Two Populations or Groups

Similar documents
Chapter 10: Comparing Two Populations or Groups

Chapter 10: Comparing Two Populations or Groups

DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence interval to compare two proportions.

10.1. Comparing Two Proportions. Section 10.1

Difference Between Pair Differences v. 2 Samples

CHAPTER 10 Comparing Two Populations or Groups

Chapter 7: Sampling Distributions

Chapter 7: Sampling Distributions

CHAPTER 10 Comparing Two Populations or Groups

CHAPTER 10 Comparing Two Populations or Groups

Chapter 7. Inference for Distributions. Introduction to the Practice of STATISTICS SEVENTH. Moore / McCabe / Craig. Lecture Presentation Slides

Chapter 8: Estimating with Confidence

Chapter 22. Comparing Two Proportions 1 /29

STA Module 10 Comparing Two Proportions

AP Statistics Ch 12 Inference for Proportions

Chapter 22. Comparing Two Proportions 1 /30

Chapter 7: Sampling Distributions

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 9.1-1

Chapter 7: Sampling Distributions

Chapter 20 Comparing Groups

Is Yawning Contagious video

hypotheses. P-value Test for a 2 Sample z-test (Large Independent Samples) n > 30 P-value Test for a 2 Sample t-test (Small Samples) n < 30 Identify α

Inference for Distributions Inference for the Mean of a Population

Chapter 9 Inferences from Two Samples

7.1: What is a Sampling Distribution?!?!

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING

Chapter 8: Estimating with Confidence

Do students sleep the recommended 8 hours a night on average?

Lecture 11 - Tests of Proportions

Occupy movement - Duke edition. Lecture 14: Large sample inference for proportions. Exploratory analysis. Another poll on the movement

CHAPTER 9: HYPOTHESIS TESTING

Statistical Inference. Section 9.1 Significance Tests: The Basics. Significance Test. The Reasoning of Significance Tests.

M(t) = 1 t. (1 t), 6 M (0) = 20 P (95. X i 110) i=1

Two-sample inference: Continuous data

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

The t-test: A z-score for a sample mean tells us where in the distribution the particular mean lies

Inferential Statistics

Two-sample inference: Continuous data

HYPOTHESIS TESTING. Hypothesis Testing

Sampling Distribution of a Sample Proportion

9-6. Testing the difference between proportions /20

Testing Research and Statistical Hypotheses

Chapter 8: Estimating with Confidence

Practice Questions: Statistics W1111, Fall Solutions

Statistical inference provides methods for drawing conclusions about a population from sample data.

Chapter 27 Summary Inferences for Regression

Comparing Means from Two-Sample

Two-Sample Inferential Statistics

Statistic: a that can be from a sample without making use of any unknown. In practice we will use to establish unknown parameters.

T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

Inference for Proportions

Inferences About Two Proportions

Sampling Distribution of a Sample Proportion

Statistics 251: Statistical Methods

One sided tests. An example of a two sided alternative is what we ve been using for our two sample tests:

Test statistic P value Reject/fail to reject. Conclusion:

We know from STAT.1030 that the relevant test statistic for equality of proportions is:

CHAPTER 5 Probability: What Are the Chances?

Ch18 links / ch18 pdf links Ch18 image t-dist table

The goodness-of-fit test Having discussed how to make comparisons between two proportions, we now consider comparisons of multiple proportions.

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Statistical Inference for Means

Answer keys for Assignment 10: Measurement of study variables (The correct answer is underlined in bold text)

Chapter 24. Comparing Means. Copyright 2010 Pearson Education, Inc.

Study Ch. 9.3, #47 53 (45 51), 55 61, (55 59)

Data Analysis and Statistical Methods Statistics 651

An inferential procedure to use sample data to understand a population Procedures

Purposes of Data Analysis. Variables and Samples. Parameters and Statistics. Part 1: Probability Distributions

The t-distribution. Patrick Breheny. October 13. z tests The χ 2 -distribution The t-distribution Summary

Inference for Proportions

Warm-up Using the given data Create a scatterplot Find the regression line

Data Analysis and Statistical Methods Statistics 651

y = a + bx 12.1: Inference for Linear Regression Review: General Form of Linear Regression Equation Review: Interpreting Computer Regression Output

6.4 Type I and Type II Errors

Inferential statistics

Math 124: Modules Overall Goal. Point Estimations. Interval Estimation. Math 124: Modules Overall Goal.

Chapter 7: Random Variables

Interpret Standard Deviation. Outlier Rule. Describe the Distribution OR Compare the Distributions. Linear Transformations SOCS. Interpret a z score

Hypothesis tests

Two-sample inference: Continuous Data

Chapters 4-6: Inference with two samples Read sections 4.2.5, 5.2, 5.3, 6.2

Section 10.1 (Part 2 of 2) Significance Tests: Power of a Test

Homework Exercises. 1. You want to conduct a test of significance for p the population proportion.

Chapter 7 Sampling Distributions

Dealing with the assumption of independence between samples - introducing the paired design.

Chapter. Hypothesis Testing with Two Samples. Copyright 2015, 2012, and 2009 Pearson Education, Inc. 1

Statistical Inference. Why Use Statistical Inference. Point Estimates. Point Estimates. Greg C Elvers

One-sample categorical data: approximate inference

Sampling Distributions: Central Limit Theorem

CONTENTS OF DAY 2. II. Why Random Sampling is Important 10 A myth, an urban legend, and the real reason NOTES FOR SUMMER STATISTICS INSTITUTE COURSE

Sampling Distribution Models. Chapter 17

Inferences Based on Two Samples

Lectures 5 & 6: Hypothesis Testing

Confidence Interval Estimation

Psych 10 / Stats 60, Practice Problem Set 5 (Week 5 Material) Part 1: Power (and building blocks of power)

Two sided, two sample t-tests. a) IQ = 100 b) Average height for men = c) Average number of white blood cells per cubic millimeter is 7,000.

Sociology 6Z03 Review II

What is a parameter? What is a statistic? How is one related to the other?

Elementary Statistics Triola, Elementary Statistics 11/e Unit 17 The Basics of Hypotheses Testing

Math 140 Introductory Statistics

Transcription:

Chapter 10: Comparing Two Populations or Groups Sectio0.1 The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE

Chapter 10 Comparing Two Populations or Groups 10.1 10. Comparing Two Means

Sectio0.1 Learning Objectives After this section, you should be able to DETERMINE whether the conditions for performing inference are met. CONSTRUCT and INTERPRET a confidence interval to compare two proportions. PERFORM a significance test to compare two proportions. INTERPRET the results of inference procedures in a randomized experiment.

Introduction Suppose we want to compare the proportions of individuals with a certain characteristic in Populatio and Populatio. Let s call these parameters of interest p 1 and p. The ideal strategy is to take a separate random sample from each population and to compare the sample proportions with that characteristic. What if we want to compare the effectiveness of Treatment 1 and Treatment in a completely randomized experiment? This time, the parameters p 1 and p that we want to compare are the true proportions of successful outcomes for each treatment. We use the proportions of successes in the two treatment groups to make the comparison. Here s a table that summarizes these two situations.

The Sampling Distribution of a Difference Between Two Proportions In Chapter 7, we saw that the sampling distribution of a sample proportion has the following properties: Shape Approximately Normal if np 10 and n(1 - p 10 Center p ˆ p Spread p ˆ p(1 p n if the sample is no more tha0% of the population To explore the sampling distribution of the difference between two proportions, let s start with two populations having a known proportion of successes. At School 1, 70% of students did their homework last night At School, 50% of students did their homework last night. Suppose the counselor at School 1 takes an SRS of 100 students and records the sample proportion that did their homework. School s counselor takes an SRS of 00 students and records the sample proportion that did their homework. What can we say about the difference ˆ p 1 ˆ p in the sample proportions?

The Sampling Distribution of a Difference Between Two Proportions Using Fathom software, we generated an SRS of 100 students from School 1 and a separate SRS of 00 students from School. The difference in sample proportions was then calculated and plotted. We repeated this process 1000 times. The results are below: What do you notice about the shape, center, and spread of the sampling distribution of p ˆ 1?

The Sampling Distribution of a Difference Between Two Proportions Both p ˆ 1 and p ˆ are random variables. The statistic p ˆ 1 is the difference of these two random variables. In Chapter 6,we learned that for any two independent random variables X and Y, X Y X Y and X Y X Y Therefore, p ˆ 1 p ˆ 1 p ˆ 1 ˆ p ˆ p p 1 p p ˆ 1 p 1 (1 p 1 p (1 p 1 1 p (1 p ˆ p 1 ˆ p p 1 (1 p 1 p (1 p p (1 p

The Sampling Distribution of a Difference Between Two Proportions Both p ˆ 1 and p ˆ are random variables. The statistic p ˆ 1 is the difference of these two random variables. In Chapter 6,we learned that for any two independent random variables X and Y, X Y X Y and X Y X Y The Sampling Distribution of the Difference Between Sample Proportions Therefore, Choose p ˆ 1 an p SRS ˆ 1 p ˆ of size p 1 np 1 from Populatio with proportion of successes p 1 and an independent SRS of size n p ˆ 1 from Populatio with proportion of successes p ˆ 1. Shape When pn 11 (1 p 1, np 1 (1 p 1, np p(1 and p n (1 p are all at least 10, the sampling distribution of p ˆ 1 is napproximately Normal. Center The p mean (1 p of the 1 1 p (1 sampling p distribution is p 1 p. That is, the difference ni sample nproportions is an unbiased estimator of the difference in population propotions. Spread The standard p ˆ 1 p (1 p 1 1 deviation p (1 p of the sampling distribution of p ˆ 1 is p 1 (1 p 1 p (1 p as long as each sample is no more tha0% of its population (10% condition.

The Sampling Distribution of a Difference Between Two Proportions Both p ˆ 1 and p ˆ are random variables. The statistic p ˆ 1 is the difference of these two random variables. In Chapter 6,we learned that for any two independent random variables X and Y, X Y X Y and X Y X Y The Sampling Distribution of the Difference Between Sample Proportions Therefore, Choose p ˆ 1 an p SRS ˆ 1 p ˆ of size p 1 np 1 from Populatio with proportion of successes p 1 and an independent SRS of size n p ˆ 1 from Populatio with proportion of successes p ˆ 1. Shape When pn 11 (1 p 1, np 1 (1 p 1, np p(1 and p n (1 p are all at least 10, the sampling distribution of p ˆ 1 is napproximately Normal. Center The p mean (1 p of the 1 1 p (1 sampling p distribution is p 1 p. That is, the difference ni sample nproportions is an unbiased estimator of the difference in population propotions. Spread The standard p ˆ 1 p (1 p 1 1 deviation p (1 p of the sampling distribution of p ˆ 1 is p 1 (1 p 1 p (1 p as long as each sample is no more tha0% of its population (10% condition.

Example: Who Does More Homework? Suppose that there are two large high schools, each with more tha000 students, in a certain town. At School 1, 70% of students did their homework last night. Only 50% of the students at School did their homework last night. The counselor at School 1 takes an SRS of 100 students and records the proportion that did homework. School s counselor takes an SRS of 00 students and records the proportion that did homework. School 1 s counselor and School s counselor meet to discuss the results of their homework surveys. After the meeting, they both report to their principals that p ˆ 1 =0.10. a Describe the shape, center, and spread of the sampling distribution of ˆ p 1 ˆ p. Because p 1 =100(0.7 = 70, (1 p 1 100(0.30 30, p = 00(0.5 =100 and (1 p 00(0.5 100 are all at least 10, the sampling distribution of p ˆ 1 is approximately Normal. Its mean is p 1 p 0.70 0.50 0.0. Its standard deviation is 0.7(0.3 100 0.5(0.5 00 0.058.

Example: Who Does More Homework? b Find the probability of getting a difference in sample proportions p ˆ 1 of 0.10 or less from the two surveys. Standardize: When ˆ p 1 ˆ p 0.10, z 0.10 0.0 0.058 1.7 Use Table A: The area to the left of z 1.7 under the standard Normal curve is 0.047. c Does the result in part (b give us reason to doubt the counselors' reported value? There is only about a 4% chance of getting a difference in sample proportions as small as or smaller than the value of 0.10 reported by the counselors. This does seem suspicious!

When data come from two random samples or two groups in a randomized experiment, the statistic p ˆ 1 is our best guess for the value of p 1 p. We can use our familiar formula to calculate a confidence interval for p 1 p : statistic (critical value (standard deviation of statistic When the Independent condition is met,the standard deviation of the statistic p ˆ 1 is : p ˆ 1 p 1(1 p 1 p (1 p Because we don't know the values of the parameters p 1 and p, we replace them in the standard deviation formula with the sample proportions. The result is the standard error of the statistic ˆ p 1 ˆ p : p ˆ 1 (1 p ˆ 1 p ˆ (1 If the Normal condition is met, we find the critical value z* for the given confidence level from the standard Normal curve. Our confidence interval for p 1 p is: statistic (critical value (standard deviation of statistic p ˆ ( p ˆ 1 z * 1 (1 p ˆ 1 p ˆ (1 + Confidence Intervals for p1 p

Two-Sample z Interval for a Difference Between Proportions When the Random, Normal, and Independent conditions are met,an approximate level C confidence interval for ( p ˆ 1 is ( ˆ p 1 ˆ p z * p ˆ 1 (1 p ˆ 1 p ˆ (1 where z * is the critical value for the standard Normal curve with area C between z * and z *. Random The data are produced by a random sample of size from Populatio and a random sample of size from Populatio or by two groups of size and in a randomized experiment. Normal The counts of "successes"and "failures" in each sample or group - - p ˆ 1, (1 p ˆ 1, p ˆ and (1 - - are all at least 10. Independent Both the samples or groups themselves and the individual observations in each sample or group are independent. When sampling without replacement,check that the two populations are at least 10 times as large as the corresponding samples (the 10% condition. + Two-Sample z Interval for p1 p

Example: Teens and Adults on Social Networks As part of the Pew Internet and American Life Project, researchers conducted two surveys in late 009. The first survey asked a random sample of 800 U.S. teens about their use of social media and the Internet. A second survey posed similar questions to a random sample of 53 U.S. adults. In these two studies, 73% of teens and 47% of adults said that they use socialnetworking sites. Use these results to construct and interpret a 95% confidence interval for the difference between the proportion of all U.S. teens and adults who use social-networking sites. State: Our parameters of interest are p 1 = the proportion of all U.S. teens who use social networking sites and p = the proportion of all U.S. adults who use socialnetworking sites. We want to estimate the difference p 1 p at a 95% confidence level. Plan: We should use a two-sample z interval for p 1 p if the conditions are satisfied. Random The data come from a random sample of 800 U.S. teens and a separate random sample of 53 U.S. adults. Normal We check the counts of successes and failures and note the Normal condition is met since they are all at least 10: p ˆ 1 = 800(0.73 = 584 p ˆ = 53(0.47 =1058.911059 (1 p ˆ 1 800(1 0.73 16 (1 53(1 0.47 1194.09 1194 Independent We clearly have two independent samples one of teens and one of adults. Individual responses in the two samples also have to be independent. The researchers are sampling without replacement, so we check the 10% condition: there are at least 10(800 = 8000 U.S. teens and at least 10(53 =,530 U.S. adults.

Example: Teens and Adults on Social Networks Do: Since the conditions are satisfied, we can construct a twosample z interval for the difference p 1 p. ( ˆ p 1 ˆ p z * p ˆ 1 (1 p ˆ 1 p ˆ (1 (0.73 0.47 1.96 0.73(0.7 800 0.6 0.037 (0.3, 0.97 0.47(0.53 53 Conclude: We are 95% confident that the interval from 0.3 to 0.97 captures the true difference in the proportion of all U.S. teens and adults who use social-networking sites. This interval suggests that more teens than adults in the United States engage in social networking by betwee.3 and 9.7 percentage points.

Significance Tests for p 1 p An observed difference between two sample proportions can reflect an actual difference in the parameters, or it may just be due to chance variation in random sampling or random assignment. Significance tests help us decide which explanation makes more sense. The null hypothesis has the general form H 0 : p 1 - p = hypothesized value We ll restrict ourselves to situations in which the hypothesized difference is 0. Then the null hypothesis says that there is no difference between the two parameters: H 0 : p 1 - p = 0 or, alternatively, H 0 : p 1 = p The alternative hypothesis says what kind of difference we expect. H a : p 1 - p > 0, H a : p 1 - p < 0, or H a : p 1 - p 0 If the Random, Normal, and Independent conditions are met, we can proceed with calculations.

To do a test, standardize ˆ p 1 ˆ p to get a z statistic: test statistic z statisticparameter standard deviation of statistic ( p ˆ 1 0 standard deviation of statistic If H 0 : p 1 = p is true, the two parameters are the same. We call their common value p. But now we need a way to estimate p, so it makes sense to combine the data from the two samples. This pooled (or combined sample proportion is: ˆ p C count of successes in both samples combined count of individuals in both samples combined X 1 X + Significance Tests for p1 p Use p ˆ C in place of both p 1 and p in the expression for the denominator of the test statistic: ( p ˆ z 1 0 p ˆ C (1 p ˆ C p ˆ C (1 p ˆ C

Two-Sample z Test for The Difference Between Two Proportions If the following conditions are met, we can proceed with a twosample z test for the difference between two proportions: Random The data are produced by a random sample of size from Populatio and a random sample of size from Populatio or by two groups of size and in a randomized experiment. Normal The counts of "successes"and "failures" in each sample or group - - p ˆ 1, (1 p ˆ 1, p ˆ and (1 - - are all at least 10. Independent Both the samples or groups themselves and the individual observations in each sample or group are independent. When sampling without replacement,check that the two populations are at least 10 times as large as the corresponding samples (the 10% condition.

Two-Sample z Test for The Difference Between Two Proportions Two-Sample z Test for the Difference Between Proportions If the following conditions are met, we can proceed with a twosample z test for the difference between two proportions: Suppose the Random,Normal, and Independent conditions are met. To test the hypothesis H 0 : p 1 p 0, first find the pooled proportion p ˆ C of Random successes The data in both are samples produced combined. by a random Then sample compute of size the z nstatistic 1 from Populatio and a random sample of size from Populatio or by two groups of size and in a randomized ( p ˆ z 1 0experiment. p ˆ C (1 p ˆ C p ˆ C (1 p ˆ C Normal The counts of "successes"and "failures" in each sample or group - - p ˆ 1, (1 p ˆ 1, p ˆ and (1 - - are all at least 10. Find the P - value by calculating the probabilty of getting a z statistic this large or larger in the direction specified by the alternative hypothesis H a : Independent Both the samples or groups themselves and the individual observations in each sample or group are independent. When sampling without replacement,check that the two populations are at least 10 times as large as the corresponding samples (the 10% condition.

Example: Hungry Children Researchers designed a survey to compare the proportions of children who come to school without eating breakfast in two low-income elementary schools. An SRS of 80 students from School 1 found that 19 had not eaten breakfast. At School, an SRS of 150 students included 6 who had not had breakfast. More tha500 students attend each school. Do these data give convincing evidence of a difference in the population proportions? Carry out a significance test at the α = 0.05 level to support your answer. State: Our hypotheses are H 0 : p 1 - p = 0 H a : p 1 - p 0 where p 1 = the true proportion of students at School 1 who did not eat breakfast, and p = the true proportion of students at School who did not eat breakfast. Plan: We should perform a two-sample z test for p 1 p if the conditions are satisfied. Random The data were produced using two simple random samples of 80 students from School 1 and 150 students from School. Normal We check the counts of successes and failures and note the Normal condition is met since they are all at least 10: ˆ p 1 =19, (1 ˆ p 1 61, ˆ p =6, (1 ˆ p 14 Independent We clearly have two independent samples one from each school. Individual responses in the two samples also have to be independent. The researchers are sampling without replacement, so we check the 10% condition: there are at least 10(80 = 800 students at School 1 and at least 10(150 = 1500 students at School.

Example: Hungry Children Do: Since the conditions are satisfied, we can perform a two-sample z test for the difference p 1 p. Test statistic: ( p ˆ z = 1 0 p ˆ C (1p ˆ C p ˆ C (1 p ˆ C ˆ p C X 1 X 19 6 80 150 45 30 0.1957 (0.375 0.1733 0 0.1957(1 0.1957 80 0.1957(1 0.1957 150 1.17 P-value Using Table A or normalcdf, the desired P-value is P(z 1.17 = (1-0.8790 = 0.40. Conclude: Since our P-value, 0.40, is greater than the chosen significance level of α = 0.05,we fail to reject H 0. There is not sufficient evidence to conclude that the proportions of students at the two schools who didn t eat breakfast are different.

Example: Significance Test in an Experiment High levels of cholesterol in the blood are associated with higher risk of heart attacks. Will using a drug to lower blood cholesterol reduce heart attacks? The Helsinki Heart Study recruited middle-aged men with high cholesterol but no history of other serious medical problems to investigate this question. The volunteer subjects were assigned at random to one of two treatments: 051 men took the drug gemfibrozil to reduce their cholesterol levels, and a control group of 030 men took a placebo. During the next five years, 56 men in the gemfibrozil group and 84 men in the placebo group had heart attacks. Is the apparent benefit of gemfibrozil statistically significant? Perform an appropriate test to find out. State: Our hypotheses are H 0 : p 1 - p = 0 OR H 0 : p 1 = p H a : p 1 - p < 0 H a : p 1 < p where p 1 is the actual heart attack rate for middle-aged men like the ones in this study who take gemfibrozil, and p is the actual heart attack rate for middle-aged men like the ones in this study who take only a placebo. No significance level was specified, so we ll use α = 0.01 to reduce the risk of making a Type I error (concluding that gemfibrozil reduces heart attack risk when it actually doesn t.

Example: Cholesterol and Heart Attacks Plan: We should perform a two-sample z test for p 1 p if the conditions are satisfied. Random The data come from two groups in a randomized experiment Normal The number of successes (heart attacks! and failures in the two groups are 56, 1995, 84, and 1946. These are all at least 10, so the Normal condition is met. Independent Due to the random assignment, these two groups of men can be viewed as independent. Individual observations in each group should also be independent: knowing whether one subject has a heart attack gives no information about whether another subject does. Do: Since the conditions are satisfied, we can perform a two-sample z test for the difference p 1 p. 56 84 (0.073 0.0414 0 051 030 p ˆ C X 1 X 140 4081 0.0343 P-value Using Table A or normalcdf, the desired P- value is 0.0068 Test statistic: ( p ˆ z = 1 0 p ˆ C (1 p ˆ C ˆ p C (1 p ˆ C 0.0343(1 0.0343 051 0.0343(1 0.0343 030.47 Conclude: Since the P-value, 0.0068, is less than 0.01, the results are statistically significant at the α = 0.01 level. We can reject H 0 and conclude that there is convincing evidence of a lower heart attack rate for middle-aged men like these who take gemfibrozil than for those who take only a placebo.

Sectio0.1 Summary In this section, we learned that Choose an SRS of size from Populatio with proportion of successes p 1 and an independent SRS of size from Populatio with proportion of successes p. Shape When p 1, (1 p 1, p and (1 p are all at least 10, the sampling distribution of p ˆ 1 is approximately Normal. Center The mean of the sampling distribution is p 1 p. That is, the difference in sample proportions is an unbiased estimator of the difference in population proportions. Spread The standard deviation of the sampling distribution of p ˆ 1 is p 1 (1 p 1 p (1 p as long as each sample is no more tha0% of its population (10% condition. Confidence intervals and tests to compare the proportions p 1 and p of successes for two populations or treatments are based on the difference between the sample proportions. When the Random, Normal, and Independent conditions are met, we can use twosample z procedures to estimate and test claims about p 1 - p.

Sectio0.1 Summary In this section, we learned that The conditions for two-sample z procedures are: Random The data are produced by a random sample of size from Populatio and a random sample of size from Populatio or by two groups of size and in a randomized experiment. Normal The counts of "successes"and "failures" in each sample or group - - p ˆ 1, (1 p ˆ 1, p ˆ and (1 - - are all at least 10. Independent Both the samples or groups themselves and the individual observations in each sample or group are independent. When sampling without replacement,check that the two populations are at least 10 times as large as the corresponding samples (the 10% condition. An approximate level C confidence interval for p 1 - p is where z* is the standard Normal critical value. This is called a two-sample z interval for p 1 - p. ( ˆ p 1 ˆ p z * p ˆ 1 (1 p ˆ 1 ˆ p (1

Sectio0.1 Summary In this section, we learned that Significance tests of H 0 : p 1 - p = 0 use the pooled (combined sample proportion The two-sample z test for p 1 - p uses the test statistic count of successes in both samples combined p ˆ C count of individuals in both samples combined X 1 X z ( p ˆ 1 0 p ˆ C (1 p ˆ C p ˆ C (1 p ˆ C with P-values calculated from the standard Normal distribution. Inference about the difference p 1 - p in the effectiveness of two treatments in a completely randomized experiment is based on the randomization distribution of the difference of sample proportions. When the Random, Normal, and Independent conditions are met, our usual inference procedures based on the sampling distribution will be approximately correct.

Looking Ahead In the next Section We ll learn how to compare two population means. We ll learn about The sampling distribution for the difference of means The two-sample t procedures Comparing two means from raw data and randomized experiments Interpreting computer output for two-sample t procedures