Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Independent Groups.

Similar presentations


Presentation on theme: "© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Independent Groups."— Presentation transcript:

1 © 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Independent Groups

2 11-2 A sampling method is independent when the individuals selected for one sample do not dictate which individuals are to be in a second sample. A sampling method is dependent when the individuals selected to be in one sample are used to determine the individuals to be in the second sample. Dependent samples are often referred to as matched-pairs samples.

3 11-3 For each of the following, determine whether the sampling method is independent or dependent. a)A researcher wants to know whether the price of a one night stay at a Holiday Inn Express is less than the price of a one night stay at a Red Roof Inn. She randomly selects 8 towns where the location of the hotels is close to each other and determines the price of a one night stay. b)A researcher wants to know whether the “state” quarters (introduced in 1999) have a mean weight that is different from “traditional” quarters. He randomly selects 18 “state” quarters and 16 “traditional” quarters and compares their weights. Parallel Example 1: Distinguish between Independent and Dependent Sampling

4 11-4 a)The sampling method is dependent since the 8 Holiday Inn Express hotels can be matched with one of the 8 Red Roof Inn hotels by town. b)The sampling method is independent since the “state” quarters which were sampled had no bearing on which “traditional” quarters were sampled. Solution

5 11-5 Suppose that a simple random sample of size n 1 is taken from a population with unknown mean  1 and unknown standard deviation  1. In addition, a simple random sample of size n 2 is taken from a population with unknown mean  2 and unknown standard deviation  2. If the two populations are normally distributed or the sample sizes are sufficiently large (n 1 ≥ 30, n 2 ≥ 30), then approximately follows Student’s t-distribution with the smaller of n 1 -1 or n 2 -1 degrees of freedom where is the sample mean and s i is the sample standard deviation from population i. Sampling Distribution of the Difference of Two Means: Independent Samples with Population Standard Deviations Unknown (Welch’s t)

6 11-6 To test hypotheses regarding two population means,  1 and  2, with unknown population standard deviations, we can use the following steps, provided that: 1.the samples are obtained using simple random sampling; 2.the samples are independent; 3.the populations from which the samples are drawn are normally distributed or the sample sizes are large (n 1 ≥ 30, n 2 ≥ 30). Testing Hypotheses Regarding the Difference of Two Means

7 11-7 Step 1: Determine the null and alternative hypotheses. The hypotheses are structured in one of three ways:

8 11-8 Step 2: Select a level of significance, , based on the seriousness of making a Type I error.

9 11-9 Step 3: Compute the test statistic which approximately follows Student’s t- distribution.

10 11-10 Step 4: Use Table VI to determine the P-value using the degrees of freedom found with the following calculation: P-Value Approach

11 11-11 P-Value Approach Two-Tailed

12 11-12 P-Value Approach Left-Tailed

13 11-13 P-Value Approach Right-Tailed

14 11-14 P-Value Approach Step 5: If the P-value < , reject the null hypothesis. If the P-value ≥ α, fail to reject the null hypothesis

15 11-15 Step 6: State the conclusion in the context of the problem.

16 11-16 These procedures are robust, which means that minor departures from normality will not adversely affect the results. However, if the data have outliers, the procedure should not be used.

17 11-17 A researcher wanted to know whether “state” quarters had a weight that is more than “traditional” quarters. He randomly selected 18 “state” quarters and 16 “traditional” quarters, weighed each of them and obtained the following data. Parallel Example 1: Testing Hypotheses Regarding Two Means

18 11-18

19 11-19 Test the claim that “state” quarters have a mean weight that is more than “traditional” quarters at the  =0.05 level of significance. NOTE: A normal probability plot of “state” quarters indicates the population could be normal. A normal probability plot of “traditional” quarters indicates the population could be normal

20 11-20 No outliers.

21 11-21 Step 1: We want to determine whether state quarters weigh more than traditional quarters: H 0 :  1 =  2 versus H 1 :  1 >  2 Step 2: The level of significance is  =0.05. Step 3: The test statistic is Solution

22 11-22 Step 4: Because this is a right-tailed test, the P-value is the area under the t-distribution to the right of the test statistic t 0 =2.53. Using a t distribution with 26 degrees of freedom we have a P-value = P(t > 2.53) ≈ 0.01. Solution: P-Value Approach

23 11-23 Step 5: Since the P-value is less than the level of significance  =0.05, we reject the null hypothesis. Solution: P-Value Approach

24 11-24 Step 6: There is sufficient evidence at the  =0.05 level to conclude that the state quarters weigh more than the traditional quarters. Solution

25 11-25 A simple random sample of size n 1 is taken from a population with unknown mean  1 and unknown standard deviation  1. Also, a simple random sample of size n 2 is taken from a population with unknown mean  2 and unknown standard deviation  2. If the two populations are normally distributed or the sample sizes are sufficiently large (n 1 ≥30 and n 2 ≥30), a (1-  )  100% confidence interval about  1 -  2 is given by Lower bound: Upper bound: Constructing a (1-  )  100% Confidence Interval for the Difference of Two Means

26 11-26 Construct a 95% confidence interval about the difference between the population mean weight of a “state” quarter versus the population mean weight of a “traditional” quarter. Parallel Example 3: Constructing a Confidence Interval for the Difference of Two Means

27 11-27 We have already verified that the populations are approximately normal and that there are no outliers. Recall = 5.702, s 1 = 0.0497, =5.6494 and s 2 = 0.0689. From Table VI with  = 0.05 and 26 degrees of freedom, we find t  /2 = 2.056. Solution

28 11-28 Thus, Lower bound = Upper bound = Solution

29 11-29 We are 95% confident that the mean weight of the “state” quarters is between 0.0102 and 0.0958 ounces more than the mean weight of the “traditional” quarters. Since the confidence interval does not contain 0, we conclude that the “state” quarters weigh more than the “traditional” quarters. Solution


Download ppt "© 2010 Pearson Prentice Hall. All rights reserved Two Sample Hypothesis Testing for Means from Independent Groups."

Similar presentations


Ads by Google