notes509fall11sec45

notes509fall11sec45 - Sections 4.5-4.7 Two-Sample Problems...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Sections 4.5-4.7: Two-Sample Problems Paired t-test (Section 4.6) Examples of Paired Differences studies: • Similar subjects are paired off and one of two treatments is given to each subject in the pair. or • We could have two observations on the same subject. The key: With paired data, the pairings cannot be switched around without affecting the analysis. We typically wish to perform inference about the mean difference, denoted . Example 1: Twelve cars were equipped with radial tires and driven over a test course. Then the same 12 cars (with the same drivers) were equipped with regular belted tires and driven over the same course. After each run, the cars’ gas economy (in km/l) was measured. Is there evidence that radial tires produce better fuel economy? (Assume normality of data, and use = .05.)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Car Gas eco. | 1 2 3 4 5 6 7 8 9 10 11 12 Y 1 (radial)|4.2 4.7 6.6 7.0 6.7 4.5 5.7 6.0 7.4 4.9 6.1 5.2 Y 2 (belted)|4.1 4.9 6.2 6.9 6.8 4.4 5.7 5.8 6.9 4.7 6.0 4.9 Calculate differences: d = Y 1 Y 2 d i : Example 1(a): Find a 95% CI for the mean difference in gas economy between radial tires and belted tires.
Background image of page 2
Interpretation: With 95% confidence: Note: With paired data, the two-sample problem really reduces to a one-sample problem on the sample of differences . Paired t-test in R: > radial <- c(4.2, 4.7, 6.6, 7.0, 6.7, 4.5, 5.7, 6.0, 7.4, 4.9, 6.1, 5.2) > belted <- c(4.1, 4.9, 6.2, 6.9, 6.8, 4.4, 5.7, 5.8, 6.9, 4.7, 6.0, 4.9) > t.test(radial, belted, paired = T, alternative = "greater") Paired t-CI in R: > t.test(radial, belted, paired = T, conf.level=0.95)$conf.int
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/13/2011 for the course STAT 509 taught by Professor Chalmers during the Fall '08 term at South Carolina.

Page1 / 12

notes509fall11sec45 - Sections 4.5-4.7 Two-Sample Problems...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online