HS 1678: Comparing Two Means1 Two Independent Means Unit 8.

Slides:



Advertisements
Similar presentations
Inferences based on TWO samples
Advertisements

Happiness comes not from material wealth but less desire. 1.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Variance Chapter 16.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Analysis of Variance Chapter 16 1.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
PSY 307 – Statistics for the Behavioral Sciences
SADC Course in Statistics Comparing Means from Independent Samples (Session 12)
Chapters 9 (NEW) Intro to Hypothesis Testing
6/22/2015Two Sample Problems1 Chapter 19 Two Sample Problems.
Chap 9-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 9 Estimation: Additional Topics Statistics for Business and Economics.
7/2/2015Basics of Significance Testing1 Chapter 15 Tests of Significance: The Basics.
Chapter 19: Two-Sample Problems
Chapter 11: Inference for Distributions
Two-sample problems for population means BPS chapter 19 © 2006 W.H. Freeman and Company.
1/49 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 9 Estimation: Additional Topics.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Inference for regression - Simple linear regression
Chapter 19: Two-Sample Problems STAT Connecting Chapter 18 to our Current Knowledge of Statistics ▸ Remember that these formulas are only valid.
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
AP STATISTICS LESSON 11 – 2 (DAY 1) Comparing Two Means.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
September 15. In Chapter 11: 11.1 Estimated Standard Error of the Mean 11.2 Student’s t Distribution 11.3 One-Sample t Test 11.4 Confidence Interval for.
© 2002 Thomson / South-Western Slide 8-1 Chapter 8 Estimation with Single Samples.
The Practice of Statistics Third Edition Chapter 11: Inference for Distributions Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
PROBABILITY (6MTCOAE205) Chapter 6 Estimation. Confidence Intervals Contents of this chapter: Confidence Intervals for the Population Mean, μ when Population.
October 15. In Chapter 9: 9.1 Null and Alternative Hypotheses 9.2 Test Statistic 9.3 P-Value 9.4 Significance Level 9.5 One-Sample z Test 9.6 Power and.
Chapter 10 Comparing Two Means Target Goal: I can use two-sample t procedures to compare two means. 10.2a h.w: pg. 626: 29 – 32, pg. 652: 35, 37, 57.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
For 95 out of 100 (large) samples, the interval will contain the true population mean. But we don’t know  ?!
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 10 Comparing Two Populations or Groups 10.2.
CHAPTER 11 DAY 1. Assumptions for Inference About a Mean  Our data are a simple random sample (SRS) of size n from the population.  Observations from.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Two sample problems:  compare the responses in two groups  each group is a sample from a distinct population  responses in each group are independent.
Objectives (BPS chapter 19) Comparing two population means  Two-sample t procedures  Examples of two-sample t procedures  Using technology  Robustness.
November 15. In Chapter 12: 12.1 Paired and Independent Samples 12.2 Exploratory and Descriptive Statistics 12.3 Inference About the Mean Difference 12.4.
Chapter 10: Basics of Confidence Intervals
Two-sample Proportions Section Starter One-sample procedures for proportions can also be used in matched pairs experiments. Here is an.
BPS - 3rd Ed. Chapter 161 Inference about a Population Mean.
Lecture 10 Chapter 23. Inference for regression. Objectives (PSLS Chapter 23) Inference for regression (NHST Regression Inference Award)[B level award]
Principles of Biostatistics ANOVA. DietWeight Gain (grams) Standard910 8 Junk Food Organic Table shows weight gains for mice on 3 diets.
CHAPTER 27: One-Way Analysis of Variance: Comparing Several Means
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 9 Inferences Based on Two Samples Confidence Intervals and Tests of Hypotheses.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Inference for Distributions 7.2 Comparing Two Means © 2012 W.H. Freeman and Company.
Ex St 801 Statistical Methods Inference about a Single Population Mean (CI)
Chapter 12 Inference for Proportions AP Statistics 12.2 – Comparing Two Population Proportions.
Two Sample Problems  Compare the responses of two treatments or compare the characteristics of 2 populations  Separate samples from each population.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-3 Inferences About Two Means:
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Objectives (PSLS Chapter 18) Comparing two means (σ unknown)  Two-sample situations  t-distribution for two independent samples  Two-sample t test 
16/23/2016Inference about µ1 Chapter 17 Inference about a Population Mean.
Chapter 11 Inference for Distributions AP Statistics 11.2 – Inference for comparing TWO Means.
Objectives (PSLS Chapter 18)
18. Two-sample problems for population means (σ unknown)
HS 167 Test Prep Wednesday 5/23/07; 9:45 – 12:00
Chapter 11: Inference About a Mean
Chapter 12: Comparing Independent Means
CHAPTER 10 Comparing Two Populations or Groups
Chapter 9 Estimation: Additional Topics
Statistical Inference for the Mean: t-test
Happiness comes not from material wealth but less desire.
Chapter 9 Lecture 3 Section: 9.3.
Presentation transcript:

HS 1678: Comparing Two Means1 Two Independent Means Unit 8

HS 1678: Comparing Two Means2 Sampling Considerations One sample or two? If two samples, paired or independent? Is the response variable quantitative or categorical? Am I interested in the mean difference? This chapter → two independent samples → quantitative response → interest in mean difference

HS 1678: Comparing Two Means3 One sample Comparisons made to an external reference population SRS from one population

HS 1678: Comparing Two Means4 Paired Sample Just like a one-sample problem except inferences directed toward within-pair differences DELTA Two samples with each observation in sample 1 matched to a unique observation in sample 2

HS 1678: Comparing Two Means5 Independent sample inference No matching or pairing Independent samples from two populations

HS 1678: Comparing Two Means6 What type of sampling method? 1. Measure vitamin content in loaves of bread and see if the average meets national standards. 2. Compare vitamin content of bread immediately after baking versus 3 days later (same loaves are used on day one and 3 days later) 3. Compare vitamin content of bread immediately after baking versus loaves that have been on shelf for 3 days 1 = single sample 2 = paired samples 3 = independent samples

HS 1678: Comparing Two Means7 Illustrative example: independent samples Fasting cholesterol (mg/dl) Group 1 (type A personality): 233, 291, 312, 250, 246, 197, 268, 224, 239, 239, 254, 276, 234, 181, 248, 252, 202, 218, 212, 325 Group 2 (type B personality) 344, 185, 263, 246, 224, 212, 188, 250, 148, 169, 226, 175, 242, 252, 153, 183, 137, 202, 194, 213 Goal: compare response variable in two groups

HS 1678: Comparing Two Means8 Data setup for independent samples Two columns Response variable in one column Explanatory variable in other column

HS 1678: Comparing Two Means9 Side-by-side boxplots Interpretation: (1)Different locations (group 1 > group 2) (2)Different spreads (group 1 < group 2) (3)Shape: fairly symmetrical (but both with outside values) Compare locations, spreads, and shapes

HS 1678: Comparing Two Means10 Summary statistics by group Groupnmeanstd dev Take time to look at your results. If no major departures from Normality, report means and standard deviations (and sample sizes)

HS 1678: Comparing Two Means11 Notation for independent samples Parameters (population) Group 1N1N1 µ1µ1 σ1σ1 Group 2N2N2 µ2µ2 σ2σ2 Statistics (sample) Group 1n1n1 s1s1 Group 2n2n2 s2s2

HS 1678: Comparing Two Means12 Sampling distribution of mean difference The sampling distribution of the mean difference is key to inference {FIGURE DRAWN ON BOARD} The SDM difference tends to be Normal with expectation μ 1 − μ 2 and standard deviation SE; (SE discussed next slide)

HS 1678: Comparing Two Means13 Pooled Standard Error Illustrative data (summary statistics) Groupnini sisi xbar i

HS 1678: Comparing Two Means14 Confidence interval for µ 1 – µ 2 Illustrative example (Cholesterol in type A and B men) (1−αlpha)100% confidence interval for µ 1 – µ 2

HS 1678: Comparing Two Means15 Comparison of CI formulas Type of sample point estimate df for t*SE single paired independent

HS 1678: Comparing Two Means16 Independent t test A. H 0 : µ 1 = µ 2 vs. H 1 : µ 1 > µ 2 or H 1 : µ 1 < µ 2 or H 1 : µ 1  µ 2 B. Independent t statistic C. P-value – use t table or software utility to convert t stat to P- value D. Significance level Pooled t statistic Illustrative example

HS 1678: Comparing Two Means17 SPSS output These are the pooled (equal variance) statistics calculated in HS 167

HS 1678: Comparing Two Means18 Conditions necessary for t procedures Validity assumptions good information (no information bias) good sample (“no selection bias”) good comparison (“no confounding” – no lurking variables) Distributional assumptions Sampling independence Normality Equal variance

HS 1678: Comparing Two Means19 Sample size requirements for confidence intervals This will restrict the margin of error to no bigger than plus or minus d

HS 1678: Comparing Two Means20 Sample size requirement for CI Suppose, you have a variable with  = 15 Sample size requirements increases when you need precision

HS 1678: Comparing Two Means21 Sample size for significance test Goal: to conduct a significance test with adequate power to detect “a difference worth detecting” The difference worth detecting is a difference difference worth finding. In a study of an anti-hypertensives for instance, a drop of 10 mm Hg might be worth detecting, while a drop of 1 mm Hg might not be worth detecting. In a study on weight loss, a drop of 5 pounds might be meaningful in a population of runway models, but may be meaningless in a morbidly obese population.

HS 1678: Comparing Two Means22 Determinants of sample size requirements “Difference worth detecting” (  ) Standard deviation of data (  ) Type I error rate (  We consider only  two-sided Power of test (we consider on 80% power)

HS 1678: Comparing Two Means23 Sample size requirements for test Approx. sample size needed for 80% power at alpha =.05 (two-sided) to detect a difference of Δ: Illustrative example: Suppose Δ = 25 and  = 45 …