Presentation is loading. Please wait.

Presentation is loading. Please wait.

6/18/2015Two Sample Problems1 Chapter 18 Two Sample Problems.

Similar presentations


Presentation on theme: "6/18/2015Two Sample Problems1 Chapter 18 Two Sample Problems."— Presentation transcript:

1 6/18/2015Two Sample Problems1 Chapter 18 Two Sample Problems

2 6/18/2015Two Sample Problems2 Conditions Two populations Population means and standard deviations not known Population 1: μ 1, σ 1 Population 2: μ 2, σ 2 Independent samples Both populations Normal, or sample sizes large (see prior Chapter re: Normality)

3 6/18/2015Two Sample Problems3 Sampling Distribution of Mean Difference Sampling distribution of mean difference follows a t distribution with standard error: 1−21−2

4 6/18/2015Two Sample Problems4 Two-Sample t-test H 0 : μ 1 = μ 2 versus H a : μ 1 ≠ μ 2 (two-sided) or H a : μ 1 > μ 2 (one-sided, right) or H a : μ 1 < μ 2 (one-sided, left) Test statistic Conservative estimate for df = the smaller of (n 1 −1) or (n 2 −1)

5 6/18/2015Two Sample Problems5 Example: “Smoking Moms” Does parental smoking damage kid’s lungs? Forced Vital Capacity (FVC) = physiologic measure of lung capacity (volume of air exhaled in 6 seconds) Measure FVC in exposed and nonexposed children Groupxbarsn Exposed75.59.330 Non-exp88.215.130

6 6/18/2015Two Sample Problems6 Hypothesis Test (Smoking Moms) Hypotheses H 0 : μ 1 = μ 2 versus H a : μ 1 < μ 2 (one-sided) or H a : μ 1 ≠ μ 2 (two-sided) Test statistic

7 6/18/2015Two Sample Problems7 P-value (Smoking Moms) |t statistic| = 3.922 Table C, row for df = 29 Largest t* in that row = 3.659 (P = 0.0005) Therefore: P < 0.0005 (one-sided) P < 0.001 (two-sided) Highly significant evidence against H 0

8 6/18/2015Two Sample Problems8 C Level Conf. Int. for μ 1 − μ 2

9 6/18/2015Two Sample Problems9 CI for “Smoking Mom’s” Example 95% confidence for example, use t* = 2.045

10 6/18/2015Two Sample Problems10 CI for “Smoking Mom’s” Example 90% confidence for example, use t* = 1.699

11 6/18/2015Two Sample Problems11 Which type of test? One-sample? paired samples? two samples? Comparing vitamin content of bread, immediately after baking versus 3 days later (the same loaves are used on day one and 3 days later). Comparing vitamin content of bread, immediately after baking versus 3 days later (tests made on independent loaves). Average fuel efficiency for 2005 vehicles is 21 miles per gallon. Is average fuel efficiency higher in the new generation “green vehicles?” 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. Review insurance records for dollar amount paid after fire damage in houses equipped with a fire extinguisher versus houses without one. Was there a difference in the average dollar amount paid?


Download ppt "6/18/2015Two Sample Problems1 Chapter 18 Two Sample Problems."

Similar presentations


Ads by Google