Presentation is loading. Please wait.

Presentation is loading. Please wait.

Testing the Difference Between Means (Small Independent Samples)

Similar presentations


Presentation on theme: "Testing the Difference Between Means (Small Independent Samples)"— Presentation transcript:

1 Testing the Difference Between Means (Small Independent Samples)
Section 8.2 Testing the Difference Between Means (Small Independent Samples) (Independent Samples, σ1 and σ2 Unknown)

2 Section 8.2 Objectives Perform a t-test for the difference between two population means μ1 and μ2 using independent samples with population standard deviations unknown.

3 Two Sample t-Test for the Difference Between Means
These conditions are necessary to use a t-test for the difference between means for independent samples. The samples must be randomly selected. The samples must be independent. Each population must have a normal distribution -or-each sample size is at least 30. The population standard deviations (σ1, σ2) are UNKNOWN

4 Two Sample t-Test for the Difference Between Means
The test statistic is The standardized test statistic is The standard error and the degrees of freedom of the sampling distribution depend on whether the population variances and are equal.

5 Two Sample t-Test for the Difference Between Means
Variances are equal Information from the two samples is combined to calculate a pooled estimate of the standard deviation . The standard error for the sampling distribution of is d.f.= n1 + n2 – 2

6 Two Sample t-Test for the Difference Between Means
Variances are not equal If the population variances are not equal, then the standard error is d.f = smaller of n1 – 1 and n2 – 1

7 Normal or t-Distribution?
Both populations normally distributed or are both sample sizes at least 30? You cannot use the z-test or the t-test. (!) No Use the t-test with Yes Are both population standard deviations (σ1 and σ2 ) known? No Are the population variances equal? Yes d.f = n1 + n2 – 2. No Yes Use the t-test with d.f = smaller of n1 – 1 or n2 – 1. Use the z-test.

8 Two-Sample t-Test for the Difference Between Means (Independent Samples, σ1,σ2 Unknown)
In Words In Symbols State the claim mathematically and verbally. Identify the null and alternative hypotheses. Specify the level of significance. Determine the degrees of freedom. Determine the critical value(s). State H0 and Ha. Identify α. d.f. = n1+ n2 – 2 (equal σ) or d.f. = smaller of n1 – 1 or n2 – 1. (unequal σ) Use Table 5 in Appendix B.

9 Two-Sample t-Test for the Difference Between Means (Small Independent Samples)
In Words In Symbols Determine the rejection region(s). Find the standardized test statistic and sketch the sampling distribution. Make a decision to reject or fail to reject the null hypothesis. Interpret the decision in the context of the original claim. If t is in the rejection region, reject H0. Otherwise, fail to reject H0.

10 Example: Two-Sample t-Test for the Difference Between Means
The results of a state mathematics test for random samples of students taught by two different teachers at the same school are shown below. Can you conclude that there is a difference in the mean mathematics test scores for the students of the two teachers? Use α = Assume the populations are normally distributed, and the population variances are not equal and they are unknown . Teacher 1 Teacher 2 s1 = 39.7 s2 = 24.5 n1 = 8 n2 = 18

11 Solution: Two-Sample t-Test for the Difference Between Means
Test Statistic: H0: Ha: α = d.f. = Rejection Region: μ1 = μ2 μ1 ≠ μ2 (claim) 0.10 8 – 1 = 7 Decision: Fail to Reject H0 . At the 10% level of significance, there is not enough evidence to support the claim that the mean mathematics test scores for the students of the two teachers are different. t ≈ 0.922

12 Example: Two-Sample t-Test for the Difference Between Means
A manufacturer claims that the mean calling range (in feet) of its 2.4-GHz cordless telephone is greater than that of its leading competitor. You perform a study using 14 randomly selected phones from the manufacturer and 16 randomly selected similar phones from its competitor. The results are shown below. At α = 0.05, can you support the manufacturer’s claim? Assume the populations are normally distributed and the population variances are equal (and unknown). Manufacturer Competitor s1 = 45 ft s2 = 30 ft n1 = 14 n2 = 16

13 Solution: Two-Sample t-Test for the Difference Between Means
Ha: α = d.f. = Rejection Region: μ1 ≤ μ2 μ1 > μ2 (claim) 0.05 – 2 = 28 t 1.701 0.05

14 Solution: Two-Sample t-Test for the Difference Between Means
Test Statistic:

15 Solution: Two-Sample t-Test for the Difference Between Means
Ha: α = d.f. = Rejection Region: μ1 ≤ μ2 μ1 > μ2 (claim) Test Statistic: 0.05 – 2 = 28 Decision: Reject H0 . At the 5% level of significance, there is enough evidence to support the manufacturer’s claim that its phone has a greater mean calling range than its competitor. t 1.701 0.05 1.811

16 The maximal oxygen consumption is a way to measure the fitness of an individual. It is the amount of oxygen in milliliters a person uses per kilogram of body weight per minute. A medical research center claims that athletes have a greater mean maximal oxygen consumption than non-athletes. The results for samples from the 2 groups are below. At α = 0.05, can you support the research center’s claim? (Assume population variances are equal, and populations are normally distributed, σ’s unknown.) Athletes Non-athletes 𝑥1 = 56 ml/kg/min 𝑥2 = 47 ml/kg/min s1 = 4.9 ml/kg/min s2 = 3.1 ml/kg/min n1 = 23 n2 = 21

17 I. Ho : µ1 ≤ µ2 II. α = 0.05 Ha : µ1 > µ2 (claim) III. IV. V. VI.
Test of Inference I. Ho : µ1 ≤ µ2 II. α = 0.05 Ha : µ1 > µ2 (claim) III. IV. V. VI.

18 Test of Inference I. Ho : µ1 ≤ µ2 II. α = 0.05 Ha : µ1 > µ2 (claim)
III. t = 𝑜𝑏𝑠𝑒𝑟𝑣𝑒𝑑 −𝑚𝑒𝑎𝑛 𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟 = 𝑥 1 − 𝑥 2 −(µ1 −µ2) 𝑠 𝑥 1− 𝑥 2 = 56−47 − ∗ ∗ −2 ∗ = ∗ = ∗.3018 = =7.200 IV. V. VI.

19 Test of Inference I. Ho : µ1 ≤ µ2 II. α = 0.05 Ha: µ1 > µ2 (claim)
III. t = 𝑜𝑏𝑠𝑒𝑟𝑣𝑒𝑑 −𝑚𝑒𝑎𝑛 𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟 = 𝑥 1 − 𝑥 2 −(µ1 −µ2) 𝑠 𝑥 1− 𝑥 2 = 56−47 − ∗ ∗ −2 ∗ = ∗ = ∗.3018 = =7.200 IV. Define t0 (table): df=n1+n2-2 = = t0 = 1.684 V. VI.

20 Test of Inference I. Ho : µ1 ≤ µ2 II. α = 0.05 Ha : µ1 > µ2 (claim)
III. t = 𝑜𝑏𝑠𝑒𝑟𝑣𝑒𝑑 −𝑚𝑒𝑎𝑛 𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟 = 𝑥 1 − 𝑥 2 −(µ1 −µ2) 𝑠 𝑥 1− 𝑥 2 = 56−47 − ∗ ∗ −2 ∗ = ∗ = ∗.3018 = =7.200 IV. Define t0 (table): df=n1+n2-2 = = t0 = 1.684 V. Define rejection region: reject if t > 1.684 VI.

21 Test of Inference I. Ho : µ1 ≤ µ2 II. α = 0.05 Ha : µ1 > µ2 (claim)
III. t = 𝑜𝑏𝑠𝑒𝑟𝑣𝑒𝑑 −𝑚𝑒𝑎𝑛 𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟 = 𝑥 1 − 𝑥 2 −(µ1 −µ2) 𝑠 𝑥 1− 𝑥 2 = 56−47 − ∗ ∗ −2 ∗ = ∗ = ∗.3018 = =7.200 IV. Define t0 (table): df=n1+n2-2 = = t0 = 1.684 V. Define rejection region: reject if t > 1.684 VI. Decision : reject H0

22 Test of Inference I. Ho : µ1 ≤ µ2 II. α = 0.05 Ha : µ1 > µ2 (claim)
III. t = 𝑜𝑏𝑠𝑒𝑟𝑣𝑒𝑑 −𝑚𝑒𝑎𝑛 𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑒𝑟𝑟𝑜𝑟 = 𝑥 1 − 𝑥 2 −(µ1 −µ2) 𝑠 𝑥 1− 𝑥 2 = 56−47 − ∗ ∗ −2 ∗ = ∗ = ∗.3018 = =7.200 IV. Define t0 (table): df=n1+n2-2 = = t0 = 1.645 V. Define rejection region: reject if t > 1.645 VI. Decision : reject H0 VII. There is enough evidence, at the 5% significance level to support the claim that athletes have a greater mean maximal oxygen consumption than non-athletes.

23 Section 8.2 Summary Performed a t-test for the difference between two means μ1 and μ2 from independent samples when the population standard deviations are not known.


Download ppt "Testing the Difference Between Means (Small Independent Samples)"

Similar presentations


Ads by Google