Two-Sample Inference Procedures with Means

Slides:



Advertisements
Similar presentations
Confidence Intervals Chapter 7. Rate your confidence Guess my mom’s age within 10 years? –within 5 years? –within 1 year? Shooting a basketball.
Advertisements

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.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
Chapter 11: Inference for Distributions
Lesson Comparing Two Means.
Two independent samples Difference of Means
Comparing 2 population parameters Chapter 13. Introduction: Two Sample problems  Ex: How do small businesses that fail differ from those that succeed?
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.
The Practice of Statistics Third Edition Chapter 11: Inference for Distributions Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
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.
Hypothesis Tests for Notes: Page 194 Hypothesis Tests for One Sample Means Notes: Page 194.
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.
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.
Dependent and Independent Samples 1Section 10.1, Page 208.
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.
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.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
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.
Two-Sample Inference Procedures with Means. Two independent samples Difference of Means.
Two-Sample Inference Procedures with Means. Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to.
Two-Sample Inference Procedures with Means. Two-Sample Procedures with Means two differentGoal: Compare two different populations/treatments INDEPENDENT.
Hypothesis Tests One Sample Means
Two-Sample Proportions Inference
Confidence Intervals Chapter 8.
Confidence Intervals with Means
Regression.
AP Statistics Chapter 24 Comparing Means.
Two-Sample Inference Procedures with Means
Chapter 9: Inferences Involving One Population
Estimation & Hypothesis Testing for Two Population Parameters
Lecture Slides Elementary Statistics Twelfth Edition
Math 4030 – 10a Tests for Population Mean(s)
Regression.
Hypothesis Tests for 1-Sample Proportion
AP STATISTICS REVIEW INFERENCE
Ch. 10 Comparing Two Populations or Groups
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
Chapter 12 Regression.
Confidence Intervals with Means
Lesson Comparing Two Means.
Regression.
Regression.
YOU HAVE REACHED THE FINAL OBJECTIVE OF THE COURSE
Regression.
Regression Chapter 8.
Regression.
Two-Sample Hypothesis Test with Means
Basic Practice of Statistics - 3rd Edition Two-Sample Problems
Regression.
Two-Sample Proportions Inference
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
Lecture Slides Elementary Statistics Twelfth Edition
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
YOU HAVE REACHED THE FINAL OBJECTIVE OF THE COURSE
Two-Sample Inference Procedures with Means
Presentation transcript:

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.

mx-y =6 inches & sx-y =3.471 inches 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 mx-y =6 inches & sx-y =3.471 inches

71 65 Female Male 6 Difference = male - female s = 3.471

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((xM-xF) < 5) = normalcdf(-∞,5,6,3.471) = .3866 (xM-xF) = 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?    

Two-Sample Procedures with means When we compare, what are we interested in? The 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

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

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

Calculator does this automatically! Degrees of Freedom Option 1: use the smaller of the two values n1 – 1 and n2 – 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: Used 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 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: mean SD n Brand A 20.1 8.7 12 Brand B 18.9 7.5 12 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. Normal distribution with S.E. = 3.316

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

Hypothesis Statements: H0: m1 = m2 H0: m1 - m2 = 0 Ha: m1 < m2 < 0 Ha: m1 > m2 > 0 Ha: m1 ≠ m2 ≠ 0 Be sure to define BOTH m1 and m2!

Hypothesis Test: Since we usually assume H0 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: mean SD n Brand A 20.1 8.7 12 Brand B 18.9 7.5 12 Is there sufficient evidence that these drugs differ in the speed at which they enter the blood stream?

State assumptions! Hypotheses & define variables! H0: mA= mB Ha:mA= mB Have 2 independent randomly assigned treatments Given the absorption rate is normally distributed s’s unknown State assumptions! Hypotheses & define variables! H0: mA= mB Ha:mA= mB Where mA is the true mean absorption time for Brand A & mB is the true mean absorption time for Brand B On Calc: Go to Stat – Test Input Statistics No Pooling Calculate Formula & calculations Conclusion in context Since p-value > a, I fail to reject H0. There is not sufficient evidence to suggest that these drugs differ in the speed at which they enter the blood stream.

Suppose that the sample mean of Brand B is 16 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: Two-sample procedures are more robust than one-sample procedures BEST 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 8.6 5.1 4.5 5.4 6.3 6.6 5.7 8.5 Modified 5.5 4.0 3.8 6.0 5.8 4.9 7.0 5.7

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