Chapter 20 Comparing Groups

Slides:



Advertisements
Similar presentations
In this chapter we introduce the idea of hypothesis testing in general, and then we look at the specifics for a hypothesis test for a single population.
Advertisements

One sample T Interval Example: speeding 90% confidence interval n=23 Check conditions Model: t n-1 Confidence interval: 31.0±1.52 = (29.48, 32.52) STAT.
Independent Samples: Comparing Proportions Lecture 35 Section 11.5 Mon, Nov 20, 2006.
© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Independent Groups.
Two Sample Hypothesis Testing for Proportions
Section 9-1 Review and Preview.
BCOR 1020 Business Statistics Lecture 22 – April 10, 2008.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
8-4 Testing a Claim About a Mean
In this chapter we consider questions about population means similar to those we have studied about proportions in the last couple of chapters.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
Chapter 24: Comparing Means.
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 Chapter 8 Objectives 1. The student will be able to  Calculate and interpret confidence intervals for one population average and.
Statistics for Managers Using Microsoft® Excel 7th Edition
Jeopardy Statistics Edition. Terms General Probability Sampling Distributions Confidence Intervals Hypothesis Tests: Proportions Hypothesis Tests: Means.
Lesson Comparing Two Means.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
Chapter 9 Testing the Difference Between Two Means, Two Proportions, and Two Variances Copyright © 2012 The McGraw-Hill Companies, Inc. Permission required.
Section Inference for Experiments Objectives: 1.To understand how randomization differs in surveys and experiments when comparing two populations.
Chapter 10 Inferences from Two Samples
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
Lesson Comparing Two Proportions. Knowledge Objectives Identify the mean and standard deviation of the sampling distribution of p-hat 1 – p-hat.
Chapter 10: Comparing Two Populations or Groups
Chapter 9 Inferences from Two Samples
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
 In Chapter 10 we tested a parameter from a population represented by a sample against a known population ( ).  In chapter 11 we will test a parameter.
Jeopardy Statistics Edition. Terms Calculator Commands Sampling Distributions Confidence Intervals Hypothesis Tests: Proportions Hypothesis Tests: Means.
Section 9.3 ~ Hypothesis Tests for Population Proportions Introduction to Probability and Statistics Ms. Young.
Testing Hypotheses about a Population Proportion Lecture 30 Sections 9.3 Wed, Oct 24, 2007.
AP Statistics Chapter 22 Notes “Comparing Two Proportions”
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Fri, Nov 12, 2004.
Testing Hypotheses about a Population Proportion Lecture 29 Sections 9.1 – 9.3 Wed, Nov 1, 2006.
© Copyright McGraw-Hill 2004
Chapter 9 Day 2 Tests About a Population Proportion.
Paired Samples Lecture 39 Section 11.3 Tue, Nov 15, 2005.
Testing Hypotheses about a Population Proportion Lecture 31 Sections 9.1 – 9.3 Wed, Mar 22, 2006.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 22 Comparing Two Proportions.  Comparisons between two percentages are much more common than questions about isolated percentages.  We often.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
AP Statistics Chapter 24 Notes “Comparing Two Sample Means”
Analysis of Variance ANOVA - method used to test the equality of three or more population means Null Hypothesis - H 0 : μ 1 = μ 2 = μ 3 = μ k Alternative.
Lesson Testing the Significance of the Least Squares Regression Model.
AP STATISTICS COMPARING TWO PROPORTIONS Chapter 22.
Hypothesis Testing Involving One Population Chapter 11.4, 11.5, 11.2.
Comparing Two Means Two Proportions Two Means: Independent Samples Two Means: Dependent Samples.
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.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
The Practice of Statistics, 5 th Edition1 Check your pulse! Count your pulse for 15 seconds. Multiply by 4 to get your pulse rate for a minute. Write that.
Inference about Two Means - Independent Samples
AP Statistics Comparing Two Proportions
Independent Samples: Comparing Means
Chapter 9: testing a claim
Hypothesis tests for the difference between two means: Independent samples Section 11.1.
Lesson Comparing Two Means.
Inference about Two Means: Independent Samples
Independent Samples: Comparing Means
Independent Samples: Comparing Means
Hypothesis tests for the difference between two proportions
Confidence intervals for the difference between two proportions
Independent Samples: Confidence Intervals
Chapter 12 Inference for Proportions
Independent Samples: Comparing Proportions
Testing Hypotheses about a Population Proportion
Independent Samples: Comparing Means
Presentation transcript:

Chapter 20 Comparing Groups In this chapter we look at hypothesis testing and confidence intervals used for comparing two populations – both means and proportions.

Combining Random Variables Suppose A and B are random variables with means μA and μB and standard deviations σA and σB. The variable (A – B) has mean and standard deviation: Combining Random Variables

Hypothesis Tests for p1-p2 Hypotheses Hypothesis Tests for p1-p2

Hypothesis Tests for p1-p2 Test Statistic Hypothesis Tests for p1-p2

Hypothesis Tests for p1-p2 P - value Depends on the alternative hypothesis: (a) (upper tail test) (b) (lower tail test) (c) (two-tailed test) Hypothesis Tests for p1-p2

Hypothesis Tests for p1-p2 Validity/Assumptions We have properly collected, independent, random samples from each population. We have a large enough samples (at least 10 “Y” and at least 10 “N” are in both samples) The sample sizes are not more than 10% of the total populations from which they are drawn. Hypothesis Tests for p1-p2

Hypothesis Tests for p1-p2 Technology We will not do this by hand with the formulas. Rather we can use the 2-PropZTest command in the calculator. Whichever group is written first in our hypotheses must be considered “group 1” in the calculator. Hypothesis Tests for p1-p2

In October 2000, the results of a large survey showed that 84 In October 2000, the results of a large survey showed that 84.9% of 12460 males and 88.1% of 12678 females had graduated from high school. Does this study support that claim that females were more likely to graduate from high school than males in 2000? Test the relevant hypotheses at the  = 0.05 level. Example 1

On April 12, 1955, Dr. Jonas Salk released the results of clinical trials for his polio vaccine. In these trials, 400000 children were randomly divided into 2 groups of 200000 each. One group was given the vaccine, the other a placebo. Of those given the vaccine, 33 developed polio. Of those given the placebo, 115 developed polio. Test at the  = 0.01 level whether receiving the vaccine lowers the chance of getting polio. Example 2

Confidence Interval for p1-p2 Assumptions/Requirements We have properly collected, independent, random samples from each population. We have a large enough samples (at least 10 “Y” and at least 10 “N” are in both samples) The sample sizes are not more than 10% of the total populations from which they are drawn. Confidence Interval for p1-p2

Confidence Interval for p1-p2 Formula p1 – p2 is in the interval: • z* = 1.645 for 90% confidence • z* = 1.96 for 95% confidence • z* = 2.33 for 98% confidence Confidence Interval for p1-p2

Confidence Interval for p1-p2 We will not construct these by hand, however we can construct them using the TI – 83/84 by pressing , choosing “TESTS”, then choosing 2-PropZInt… Enter the number of successes and sample sizes for each group, the confidence level, then Calculate. Confidence Interval for p1-p2

Hypothesis Tests for p1-p2 Confidence Interval Approach We can replace the test statistic and P-value with a confidence interval for p1 – p2 calculated from the samples. If 0 is not in the interval, then we reject H0 If 0 is in the interval, then we fail to reject H0 All other “pieces” of the hypothesis test are the same. Hypothesis Tests for p1-p2 Confidence Interval Approach

A study was conducted to see if putting duct tape over a wart worked better than traditional treatments. Of 104 subjects that used duct tape, 84.6% were “healed”. Of 100 subjects using traditional treatments, 60% were “healed”. Do these samples significantly support that duct tape works better? Test the relevant hypotheses using a 96% confidence interval. Example 3

Hypothesis Tests for μ1-μ2 Hypotheses Hypothesis Tests for μ1-μ2

Hypothesis Tests for μ1-μ2 Test Statistic where: Hypothesis Tests for μ1-μ2

Hypothesis Tests for μ1-μ2 P – value Depends on the alternative hypothesis: (a) (upper tail test) (b) (lower tail test) (c) (two-tailed test) where df = nasty formula on last slide Hypothesis Tests for μ1-μ2

Hypothesis Tests for μ1-μ2 Validity/Assumptions We have independent, properly collected, random samples (one from each population) Sample sizes are not more than 10% of the populations One of the following for each: • population known to be normal • large sample size (C.L.T.): n ≥ 30 or • approximately linear normal plot of sample data Hypothesis Tests for μ1-μ2

Hypothesis Tests for μ1-μ2 We will NOT do this by hand. We can use the 2-SampTTest in the TI calculator to do this. Go into the STAT menu, choose TESTS, then choose 2-SampTTest… If you have the actual sample data in L1 and L2, choose “Data”, if you have the summary statistics for the sample, choose “Stats”. Hypothesis Tests for μ1-μ2

Are the prices charged for a used camera higher on average when buying from a stranger than when buying from a friend? Test the sample data below. Stranger 275 300 260 255 290 Friend 250 175 130 200 225 240 Example 4

Ann thinks that there is a difference in quality of life between rural and urban living. She collects information from obituaries in newspapers from urban and rural towns in Idaho to see if there is a difference in life expectancy. A sample of 4 people from rural towns give a life expectancy of years with a standard deviation of sr = 6.44 years. A sample of 10 people from larger, urban towns give years and su = 6.14 years. Does this provide evidence that people living in rural Idaho communities have different life expectancy than those in more urban communities? Use a 1% level of significance. Example 5

Confidence Interval for μ1 - μ2 Assumptions/Requirements We have properly collected, independent, random samples from each population. One of the following for each: • population known to be normal • large sample size (C.L.T.): n ≥ 30 or • approximately linear normal plot of sample data The sample sizes are not more than 10% of the total populations from which they are drawn. Confidence Interval for μ1 - μ2

Confidence Interval for μ1 - μ2 Formula μ1 – μ2 is in the interval: where df is the same as for hypothesis testing Confidence Interval for μ1 - μ2

Confidence Interval for μ1 - μ2 We will not construct these by hand, however we can construct them using the TI – 83/84 by pressing , choosing “TESTS”, then choosing 2-SampTInt… If you have the actual sample data in L1 and L2, choose “Data”, if you have the summary statistics for the sample, choose “Stats”. Confidence Interval for μ1 - μ2

Hypothesis Tests for μ1-μ2 Confidence Interval Approach We can replace the test statistic and P-value with a confidence interval for μ1 – μ2 calculated from the samples. If 0 is not in the interval, then we reject H0 If 0 is in the interval, then we fail to reject H0 All other “pieces” of the hypothesis test are the same. Hypothesis Tests for μ1-μ2 Confidence Interval Approach

Are the average lifespans of name brand batteries and generic batteries the same when used in portable CD players. The data below is in hours. Test the relevant hypotheses using a 95% confidence interval. Name Brand 190.7 203.5 206.5 222.5 209.5 Generic 194 205.5 199.2 172.4 184.0 169.5 Example 6