Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 9 Lecture 3 Section: 9.3.

Similar presentations


Presentation on theme: "Chapter 9 Lecture 3 Section: 9.3."— Presentation transcript:

1 Chapter 9 Lecture 3 Section: 9.3

2 We will now consider methods for using sample data from two independent samples to test hypotheses made about two population means or to construct confidence interval estimates of the difference between two population means. Definition: Two samples are independent if the sample values selected from one population are not related to, paired or matched with the sample values selected from the other population. If there is some relationship such that each value in one sample is paired with a corresponding value in the other sample, the samples are said to be dependent. Dependent samples are often referred to as matched pairs, or paired samples. For this section, we will only work with independent samples We will first make our assumptions.

3 Confidence Intervals Estimate for μ1–μ2: Independent Samples σ1 ≠ σ2
Assumptions: 1. The two samples are independent. 2. Both samples are simple random samples. 3. Either or both of these conditions is satisfied: i. The two sample sizes are both large, n1 > 30 and n2 > 30 ii. Both samples come from populations having normal distributions. Confidence Intervals Estimate for μ1–μ2: Independent Samples σ1 ≠ σ2 df = smaller of n1 – 1 or n2 – 1

4 Hypothesis Testing for 2 Means: Independent Samples σ1 ≠ σ2
Test Statistic for H0: μ1 = μ2

5 As we have discussed before, the population standard deviation σ is rarely known. However, what if there is sufficient evidence to say that the population standard deviations of two population are equal, σ1 = σ2. What we can do is pool the two sample variances to obtain an estimate of the common population variance σ2. The pooled estimate of σ2 is denoted by sp2 and is a weighted average s12 and s22. Assumptions: 1. The two populations have the same standard deviation. σ1 = σ2 2. The two samples are independent. 3. Both samples are simple random samples. 4. Either or both of these conditions is satisfied: i. The two sample sizes are both large, n1 > 30 and n2 > 30 ii. Both samples come from populations having normal distributions.

6 Confidence Intervals Estimate for μ1–μ2:
Independent Samples and σ1 = σ2 df = n1 + n2 – 2

7 Hypothesis Testing for 2 Means: Independent Samples and σ1 = σ2
Test Statistic for H0: μ1 = μ2

8 Examples: A simple random sample of 10 male students results in a sample mean of $3.00 and s = $0.70 on the cost of fast food. Another simple random sample of 12 female students results in a sample mean of $2.90 and s = $0.65 on the cost of fast food. Assume the samples come from normal populations. Construct a 99% confidence interval for the difference of the two population means for the cost of fast food. 2. A sample of 70 subjects is treated with the cholesterol reducing drug. They have an average cholesterol of 110 and a standard deviation of 5. A second and separate group of 81subjects is given a placebo. These subjects have an average cholesterol of 115 with a standard deviation of 7. Construct a 95% confidence interval for the difference of the two population means.

9 3. A simple random sample of 20 male athletes at Rice University spend an average of hours a week studying with s = Another simple random sample of 18 female student athletes at Rice University resulted in a sample mean of 19.5 with s = 0.5 in regards to their hours of studying per week. Assume the samples come from normal populations. Test the claim that the mean study hours per week of male athletes is less than that of female student athletes at Rice University. Use a 0.05 level of significance.

10 4. Cost to community hospitals per patient per day are reported by the Hospital Association. Sample statistics from random samples of costs per day form the states of California and Nevada are given below. Test the claim that there is a difference in the mean cost to community hospitals per day in the states of California and Nevada at a 0.01 level of significance.

11 5. The table below is the measured nicotine contents of randomly selected filtered and nonfilitered cigarettes in milligrams. Test the claim that the mean amount of nicotine in filtered cigarettes is equal to the mean amount of nicotine in nonfiltered cigaretts. Filtered: Nonfiltered:

12

13 Minitab Output: Two-Sample T-Test and CI: Filtered, Nonfiltered Two-sample T for Filtered vs Nonfiltered N Mean StDev SE Mean Filtered Nonfiltered Difference = mu (Filtered) - mu (Nonfiltered) Estimate for difference: 95% CI for difference: ( , ) T-Test of difference = 0 (vs not =): T-Value = P-Value = DF = 27 Both use Pooled StDev =

14 6.) Suppose we conduct an experiment to see if two types of music, type-I and type-II, have different effects upon the ability of college students to perform a series of mental tasks requiring concentration. We begin with a fairly homogeneous subject pool of 30 college students, randomly sorting them into two groups. (It is not essential for this procedure that the two samples be of the same size.) We then have the members of each group, one at a time, perform a series of 40 mental tasks while one or the other of the music types is playing in the background. For the members of group A it is music of type-I, while for those of group B it is music of type-II. The following table shows how many of the 40 components of the series each subject was able to complete. Test the claim that the group A has higher mean than group B. Use α = level of significance. Group A Group B 30    25         23    26 30    29         27    27 22    33    26 22     27          24    33 24     20         25    29 21     22     23


Download ppt "Chapter 9 Lecture 3 Section: 9.3."

Similar presentations


Ads by Google