Chapter 23 CI HT for m1 - m2: Paired Samples

Slides:



Advertisements
Similar presentations
Objectives 7.1, 7.2Inference for comparing means of two populations  Matched pairs t confidence interval  Matched pairs t hypothesis test  Two-sample.
Advertisements

Objectives (BPS chapter 18) Inference about a Population Mean  Conditions for inference  The t distribution  The one-sample t confidence interval 
Inference for a population mean BPS chapter 18 © 2006 W. H. Freeman and Company.
Inference for distributions: - for the mean of a population IPS chapter 7.1 © 2006 W.H Freeman and Company.
Lecture 11/7. Inference for Proportions 8.2 Comparing Two Proportions © 2012 W.H. Freeman and Company.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
COMPARING TWO POPULATIONS IDEA: Compare two groups/populations based on samples from each of them. Examples. Compare average height of men and women. Draw.
6/18/2015Two Sample Problems1 Chapter 18 Two Sample Problems.
6/22/2015Two Sample Problems1 Chapter 19 Two Sample Problems.
Inference for Distributions - for the Mean of a Population
Two-sample problems for population means BPS chapter 19 © 2006 W.H. Freeman and Company.
Inferences Based on Two Samples
Confidence Intervals and Hypothesis Tests for the Difference between Two Population Means µ 1 - µ 2 : Independent Samples Inference for  1  2 1.
Confidence Intervals and Hypothesis Tests for the Difference between Two Population Means µ 1 - µ 2 Inference for  1  Independent Samples.
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.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
Lecture 5 Two population tests of Means and Proportions.
Inference for a population mean BPS chapter 18 © 2006 W.H. Freeman and Company.
The Practice of Statistics Third Edition Chapter 13: Comparing Two Population Parameters Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
AP Statistics Section 10.2 B. Comparative studies are more convincing than single-sample investigations. For that reason, one-sample inference is less.
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.
Comparing Means: Confidence Intervals and Hypotheses Tests for the Difference between Two Population Means µ 1 - µ 2 1.
MATH 2400 Ch. 15 Notes.
CONFIDENCE INTERVAL FOR 2-SAMPLE MEANS
Comparing Means: Confidence Intervals and Hypotheses Tests for the Difference between Two Population Means µ 1 - µ 2 Chapter 24 Independent Samples Chapter.
Inference for Distributions 7.2 Comparing Two Means © 2012 W.H. Freeman and Company.
Comparing Means: Confidence Intervals and Hypotheses Tests for the Difference between Two Population Means µ 1 - µ 2 Inference for the difference Between.
When  is unknown  The sample standard deviation s provides an estimate of the population standard deviation .  Larger samples give more reliable estimates.
Objectives (PSLS Chapter 18) Comparing two means (σ unknown)  Two-sample situations  t-distribution for two independent samples  Two-sample t test 
Analysis of Financial Data Spring 2012 Lecture 2: Statistical Inference 2 Priyantha Wijayatunga, Department of Statistics, Umeå University
10/31/ Comparing Two Means. Does smoking damage the lungs of children exposed to parental smoking? Forced vital capacity (FVC) is the volume (in.
Inference for Distributions Inference for the Mean of a Population PBS Chapter 7.1 © 2009 W.H Freeman and Company.
Statistics for Business and Economics Module 1:Probability Theory and Statistical Inference Spring 2010 Lecture 7: Tests of significance and confidence.
Inference for distributions: - for the mean of a population IPS chapter 7.1 © 2006 W.H Freeman and Company.
CHAPTER 9 Testing a Claim
Section 9.3 One-sample z and t-test for a Population Mean
CHAPTER 9 Testing a Claim
Chapter 25: Paired t-Test
Chapter 6 Hypothesis Tests for a Population Mean ; t distributions
Objectives (PSLS Chapter 18)
Warm Up Check your understanding P. 586 (You have 5 minutes to complete) I WILL be collecting these.
Inference for Distributions
18. Two-sample problems for population means (σ unknown)
Types of T-tests Independent T-tests Paired or correlated t-tests
The Practice of Statistics in the Life Sciences Fourth Edition
Inference for Distributions
Comparing Two Means: Paired Data
CHAPTER 9 Testing a Claim
Lesson Comparing Two Means.
Chapter 12: Comparing Independent Means
Comparing Populations
Essential Statistics Introduction to Inference
Tests of Significance Section 10.2.
Tests About a Population Mean
CHAPTER 9 Testing a Claim
Inference for Distributions 7.2 Comparing Two Means
Basic Practice of Statistics - 3rd Edition Introduction to Inference
Comparing Two Means: Paired Data
CHAPTER 9 Testing a Claim
Objectives (Section 7.2) Two sample problems:
CHAPTER 9 Testing a Claim
Basic Practice of Statistics - 3rd Edition
Objectives 7.1 Inference for the mean of a population
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
CHAPTER 9 Testing a Claim
Chapter 10 Comparing Two Populations or Treatments Section 10.3
Essential Statistics Inference about a Population Mean
Basic Practice of Statistics - 5th Edition Introduction to Inference
Presentation transcript:

Chapter 23 CI HT for m1 - m2: Paired Samples

Matched pairs t procedures Sometimes we want to compare treatments or conditions at the individual level. These situations produce two samples that are not independent — they are related to each other. The members of one sample are identical to, or matched (paired) with, the members of the other sample. Example: Pre-test and post-test studies look at data collected on the same sample elements before and after some experiment is performed. Example: Twin studies often try to sort out the influence of genetic factors by comparing a variable between sets of twins. Example: Using people matched for age, sex, and education in social studies allows canceling out the effect of these potential lurking variables.

Matched pairs t procedures The data: “before”: x11 x12 x13 … x1n “after”: x21 x22 x23 … x2n The data we deal with are the pairwise differences di of the paired values: d1 = x11 – x21, d2 = x12 – x22, d3 = x13 – x23, … , dn = x1n – x2n A confidence interval for matched pairs data is calculated just like a confidence interval for 1 sample data: A matched pairs hypothesis test is just like a one-sample test: where the d’s are the pairwise differences.

Sweetening loss in colas To determine if there is sweetness loss in cola soft drinks due to storage, 10 professional tasters evaluated sweetness levels before and after storage. A positive value of the difference before sweetness score – after sweetness score indicates a loss of sweetness. sweetness Taster before - after = di 1 5.5 – 3.5 = 2.0 2 6.2 - 5.8 = 0.4 3 4.5 - 3.8 = 0.7 4 7.2 - 5.2 = 2.0 5 5.7 - 6.1 = −0.4 6 7.8 - 6.6 = 2.2 7 5.7 - 7.0 = −1.3 8 7.6 - 6.4 = 1.2 9 8.5 - 7.4 = 1.1 10 8.8 - 6.5 = 2.3 Summary stats: = 1.02, s = 1.196 We want to test if storage results in a loss of sweetness, thus: H0: md = 0 versus Ha: md > 0 This is a pre-/post-test design and the variable is the cola sweetness before storage minus cola sweetness after storage. A matched pairs test of significance is indeed just like a one-sample test.

Sweetening loss in colas hypothesis test H0: md = 0 vs Ha: md > 0 (recall = 1.02, s = 1.196) Test statistic From t-table: for df=9, 2.2622 < t=2.6970 < 2.8214  .01 < P-value < .025 ti83 gives P-value = .012263… Conclusion: reject H0 and conclude colas do lose sweetness in storage So how much sweetness do they lose during storage? 95% Confidence interval:

Does lack of caffeine increase depression? Individuals diagnosed as caffeine-dependent are deprived of caffeine-rich foods and assigned to receive daily pills. Sometimes, the pills contain caffeine and other times they contain a placebo. Depression was assessed (larger number means more depression). There are 2 data points for each subject, but we’ll only look at the difference. The sample distribution appears appropriate for a t-test. 11 “difference” data points.

Hypothesis Test: Does lack of caffeine increase depression? For each individual in the sample, we have calculated a difference in depression score (placebo minus caffeine). There were 11 “difference” points, thus df = n − 1 = 10. We calculate that = 7.36; s = 6.92 H0 :md = 0 ; Ha: md > 0 For df = 10, 3.169 < t = 3.53 < 3.581  0.005 > P-value > 0.0025 ti83 gives P-value = .0027 Reject H0 : md = 0 . Caffeine deprivation causes a significant increase in depression.

Which type of test? One sample, paired samples, two samples? Comparing vitamin content of bread immediately after baking vs. 3 days later (the same loaves are used on day one and 3 days later). Paired Comparing vitamin content of bread immediately after baking vs. 3 days later (tests made on independent loaves). Two samples Average fuel efficiency for 2005 vehicles is 21 miles per gallon. Is average fuel efficiency higher in the new generation “green vehicles”? One sample Is blood pressure altered by use of an oral contraceptive? Comparing a group of women not using an oral contraceptive with a group taking it. Two samples Review insurance records for dollar amount paid after fire damage in houses equipped with a fire extinguisher vs. houses without one. Was there a difference in the average dollar amount paid?