Two-Sample Inference Procedures with Means. Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to.

Slides:



Advertisements
Similar presentations
Confidence Intervals with Means
Advertisements

Regression Inferential Methods
Confidence Intervals with Means Chapter 9. What is the purpose of a confidence interval? To estimate an unknown population parameter.
Confidence Intervals Chapter 7. Rate your confidence Guess my mom’s age within 10 years? –within 5 years? –within 1 year? Shooting a basketball.
Confidence Intervals Chapter 10. Rate your confidence Name my age within 10 years? 0 within 5 years? 0 within 1 year? 0 Shooting a basketball.
Two-Sample Inference Procedures with Means. Remember: We will be intereste d in the differen ce of means, so we will use this to find standard error.
Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
Chapter 11: Inference for Distributions
CHAPTER 19: Two-Sample Problems
Two-Sample Proportions Inference Notes: Page 211.
Hypothesis Testing with Two Samples
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Lesson Comparing Two Means.
Two independent samples Difference of Means
AP STATISTICS LESSON 11 – 2 (DAY 1) Comparing Two Means.
Two-Sample Inference Procedures with Means. Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to.
Confidence Intervals with Means. What is the purpose of a confidence interval? To estimate an unknown population parameter.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Confidence Intervals and Hypothesis tests with Proportions.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
1 Pertemuan 08 Pengujian Hipotesis Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
Two-Sample Inference Procedures with Means. Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches.
Two-Sample Inference Procedures with Means. Of the following situations, decide which should be analyzed using one-sample matched pair procedure and which.
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
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.
Two-Sample Inference Procedures with Means. Remember: We will be interested in the difference of means, so we will use this to find standard error.
Confidence Intervals with Means Unit 12, Notes p 189.
Confidence Intervals For a Sample Mean. Point Estimate singleUse a single statistic based on sample data to estimate a population parameter Simplest approach.
Confidence Intervals. Rate your confidence Name my age within 10 years? within 5 years? within 1 year? Shooting a basketball at a wading pool,
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
AP Statistics Chapter 24 Comparing Means.
Confidence Intervals with Means. Rate your confidence Name my age within 10 years? Name my age within 10 years? within 5 years? within 5 years?
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches. We also have a population of adult women.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Comparing Two Means Ch. 13. Two-Sample t Interval for a Difference Between Two Means.
Essential Statistics Chapter 171 Two-Sample Problems.
AP Statistics Chapter 24 Notes “Comparing Two Sample Means”
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-3 Inferences About Two Means:
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.
Confidence Intervals with Means Chapter 9. What is the purpose of a confidence interval? To estimate an unknown population parameter.
Two-Sample Inference Procedures with Means. Two independent samples Difference of Means.
Two-Sample Inference Procedures with Means. Two-Sample Procedures with Means two differentGoal: Compare two different populations/treatments INDEPENDENT.
Confidence Intervals with Means. Rate your confidence Name my age within 10 years? Name my age within 10 years? within 5 years? within 5 years?
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.
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.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
Confidence Intervals Chapter 8.
Two-Sample Inference Procedures with Means
Confidence Intervals with Means
AP Statistics Chapter 24 Comparing Means.
Two-Sample Inference Procedures with Means
AP STATISTICS REVIEW INFERENCE
Two-Sample Inference Procedures with Means
Chapter 8 Section 8.5 Testing µ1 - µ2 and p1 - p2 Independent Samples Hypothesis Testing Mr. zboril | Milford PEP.
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
Chapter 10: Comparing Two Populations or Groups
Confidence Intervals with Means
Lesson Comparing Two Means.
Two-Sample Hypothesis Test with Means
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
CHAPTER 10 Comparing Two Populations or Groups
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
Presentation transcript:

Two-Sample Inference Procedures with Means

Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to compare the responses to two treatments or to compare the characteristics of two populations. We have INDEPENDENT samples from each treatment or population

Remember: We will be interested in the difference of means, so we will use this to find standard error.

Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches. We also have a population of adult women with a mean height of 65 inches and standard deviation of 2.3 inches. Assume heights are normally distributed. Describe the distribution of the difference in heights between males and females (male- female). Normal distribution with  x-y =6 inches &  x-y =3.471 inches

7165 Female Male 6 Difference = male - female  = 3.471

a)What is the probability that the height of a randomly selected man is at most 5 inches taller than the height of a randomly selected woman? b) What is the 70th percentile for the difference (male-female) in heights of a randomly selected man & woman? P((x M -x F ) < 5) = normalcdf(-∞,5,6,3.471) =.3866 (x M -x F ) = invNorm(.7,6,3.471) = 7.82

Do calculator simulation! a) What is the probability that the mean height of 30 men is at most 5 inches taller than the mean height of 30 women? b) What is the 70th percentile for the difference (male-female) in mean heights of 30 men and 30 women? inches P((x m – x w )< 5) =.0573

Assumptions: two SRS’s two randomly assignedHave two SRS’s from the populations or two randomly assigned treatment groups Samples are independent Both distributions are approximately normally –Have large sample sizes –Graph BOTH sets of data  ’s  ’s known/unknown

Formulas NOT Since in real-life, we will NOT know both  ’s, we will do t-procedures.

Degrees of Freedom Option 1: use the smaller of the two values n 1 – 1 and n 2 – 1 This will produce conservative results – higher p-values & lower confidence. Option 2: approximation used by technology Calculator does this automatically!

Confidence intervals: Called standard error

Pooled procedures: sameUsed for two populations with the same variance When you pool, you average the two-sample variances to estimate the common population variance. DO NOT use on AP Exam!!!!! We do NOT know the variances of the population, so ALWAYS tell the calculator NO for pooling!

Two competing headache remedies claim to give fast- acting relief. An experiment was performed to compare the mean lengths of time required for bodily absorption of brand A and brand B. Assume the absorption time is normally distributed. Twelve people were randomly selected and given an oral dosage of brand A. Another 12 were randomly selected and given an equal dosage of brand B. The length of time in minutes for the drugs to reach a specified level in the blood was recorded. The results follow: meanSDn Brand A Brand B Describe the shape & standard error for sampling distribution of the differences in the mean speed of absorption. (answer on next screen)

Describe the sampling distribution of the differences in the mean speed of absorption. Find a 95% confidence interval difference in mean lengths of time required for bodily absorption of each brand. (answer on next screen) Normal distribution with S.E. = 3.316

Assumptions: Have 2 independent randomly assigned treatments Given the absorption rate is normally distributed  ’s unknown We are 95% confident that the true difference in mean lengths of time required for bodily absorption of each brand is between –5.685 minutes and minutes. State assumptions! Formula & calculations Conclusion in context From calculator df = 21.53, use t* for df = 21 & 95% confidence level Think “Price is Right”! Closest without going over

Note: confidence interval statements “mean difference”Matched pairs – refer to “mean difference” “difference of means”Two-Sample – refer to “difference of means”

Dr. Phil’s Survey VS

Hypothesis Statements: H 0 :  1 -  2 = 0 H a :  1 -  2 < 0 H a :  1 -  2 > 0 H a :  1 -  2 ≠ 0 H 0 :  1 =  2 H a :  1 <  2 H a :  1 >  2 H a :  1 ≠  2 BOTH Be sure to define BOTH  1 and  2 !

Hypothesis Test: Since we usually assume H 0 is true, then this equals 0 – so we can usually leave it out

The length of time in minutes for the drugs to reach a specified level in the blood was recorded. The results follow: meanSDn Brand A Brand B Is there sufficient evidence that these drugs differ in the speed at which they enter the blood stream?

Have 2 independent randomly assigned treatments Given the absorption rate is normally distributed  ’s unknown Since p-value > a, I fail to reject H 0. There is not sufficient evidence to suggest that these drugs differ in the speed at which they enter the blood stream. State assumptions! Formula & calculations Conclusion in context H 0 :  A =  B H a :  A =  B Where  A is the true mean absorption time for Brand A &  B is the true mean absorption time for Brand B Hypotheses & define variables!

Suppose that the sample mean of Brand B is 16.5, then is Brand B faster? No, I would still fail to reject the null hypothesis.

Robustness: more robustTwo-sample procedures are more robust than one-sample procedures BESTBEST to have equal sample sizes! (but not necessary)

A modification has been made to the process for producing a certain type of time-zero film (film that begins to develop as soon as the picture is taken). Because the modification involves extra cost, it will be incorporated only if sample data indicate that the modification decreases true average development time by more than 1 second. Should the company incorporate the modification? Original Modified

Assume we have 2 independent SRS of film Both distributions are approximately normal due to approximately symmetrical boxplots  ’s unknown H 0 :  O -  M = 1 H a :  O -  M > 1 Where  O is the true mean developing time for original film &  M is the true mean developing time for modified film Since p-value > , I fail to reject H 0. There is not sufficient evidence to suggest that the company incorporate the modification.