260 likes | 394 Views
Welcome to Chapter 11 MBA 541. B ENEDICTINE U NIVERSITY Two-Sample Tests & Analysis of Variance Two-Sample Tests of Hypothesis Chapter 11. Chapter 11. Please, Read Chapter 11 in Lind before viewing this presentation. Statistical Techniques in Business & Economics Lind. Goals.
E N D
Welcome to Chapter 11MBA 541 BENEDICTINEUNIVERSITY • Two-Sample Tests & Analysis of Variance • Two-Sample Tests of Hypothesis • Chapter 11
Chapter 11 Please, Read Chapter 11 in Lind before viewing this presentation. Statistical Techniques in Business & Economics Lind
Goals When you have completed this chapter, you will be able to: • ONE • Conduct a test of a hypothesis about the difference between two independent populations means. • TWO • Conduct a test of a hypothesis about the difference between two population proportions. • THREE • Conduct a test of a hypothesis about the mean difference between paired or dependent observations. • FOUR • Understand the difference between dependent and independent samples.
Comparing Two Populations • Does the distribution of the differences in sample means have a mean of 0? • If both samples contain at least 30 observations, use the z distribution as the test statistic. • The samples are from independent populations. • No assumptions about the shape of the populations are required. • The formula for computing the value of z is:
Example 1 • Two cities, Bradford and Kane, are separated only by the Conewango River. There is competition between the two cities. • The local paper recently reported that the mean household income in Bradford is $38,000 with a standard deviation of $6,000 for a sample of 40 households. • The same article reported the mean income in Kane is $35,000 with a standard deviation of $7,000 for a sample of 35 households. • At the 0.01 significance level can we conclude that the mean income of Bradford is more?
Example 1 (Continued) • Step 1: State the null and alternate hypotheses. H0: μB≤ μK H1: μB> μK • Step 2: State the level of significance. The 0.01 significance is stated in the problem. • Step 3: Find the appropriate test statistic. Because both samples are more than 30, use z as the test statistic. • Step 4: State the decision rule. The null hypothesis is rejected if z is greater then 2.33 or if p is less than 0.01.
Example 1 (Continued) • Step 5: Compute the value of z and make a decision. The p(z>1.98) is 0.0239 for a one-tailed test of significance. Because the computed z of 1.98 is less than the critical z value of 2.33, and the p-value of 0.0239 is greater than the required level of significance of 0.01, the decision is to not reject the null hypothesis. We cannot conclude that the mean household income in Bradford is larger.
Two-SampleTests of Proportions • Two-Sample Tests of Proportions investigate whether the two samples came from populations with equal proportions of successes. • The two samples are pooled using the following formula, where X1 and X2 refer to the number of successes in the respective samples of n1 and n2. • The value of the test statistic is computed from the following formula,
Example 2 • Are unmarried workers more likely to be absent from work than married workers? • A sample of 250 married workers showed that 22 missed more than 5 days last year. • A sample of 300 unmarried workers showed that 35 missed more than 5 days last year. • Use a 0.05 significance level.
Example 2 (Continued) • Step 1: State the null and alternate hypotheses. H0: πU≤ πM H1: πU> πM • Step 2: State the level of significance. The 0.05 significance is stated in the problem. • Step 3: Find the appropriate test statistic. Use the two-sample test of proportions with z as the test statistic. • Step 4: State the decision rule. The null hypothesis is rejected if z is greater then 1.65 or if p is less than 0.05.
Example 2 (Continued) • Step 5: Compute the value of z and make a decision. The p(z>1.10) is 0.136 for a one-tailed test of significance. Because the computed z of 1.10 is less than the critical z value of 1.96, and the p-value of 0.136 is greater than the required level of significance of 0.05, the decision is to not reject the null hypothesis. We cannot conclude that a higher proportion of unmarried workers miss more days in a year than the married workers.
Small Sample Tests of Means • The t distribution is used as the test statistic if one or more of the samples have fewer than 30 observations. • The required assumptions are: 1. Both populations must follow the normal distribution, 2. The populations must have equal standard deviations, and 3. The samples are from independent populations.
Small Sample Tests of Means(Continued) • Finding the value of the test statistic requires two steps. • Step 1: Pool the sample variances. • Step 2: Determine the value of t from the following formula.
Example 3 • A recent EPA study compared the highway fuel economy of domestic and imported passenger cars. • A sample of 15 domestic cars revealed a mean of 33.7 mpg with a standard deviation of 2.4 mpg. • A sample of 12 imported cars revealed a mean of 35.7 mpg with a standard deviation of 3.9 mpg. • At the 0.05 significance level, can the EPA conclude that the mpg is higher with the imported cars?
Example 3 (Continued) • Step 1: State the null and alternate hypotheses. H0: μI≤ μD H1: μI> μD • Step 2: State the level of significance. The 0.05 significance is stated in the problem. • Step 3: Find the appropriate test statistic. Because both samples are less than 30, use t as the test statistic. • Step 4: State the decision rule. The null hypothesis is rejected if t is greater then 1.708 or if p is less than 0.05. There are n1+ n2-2 or 25 degrees of freedom.
Example 3 (Continued) • Step 5: Compute the value of t and make a decision. Compute the pooled variance.
Example 3 (Continued) • Step 5 (Continued): Compute the value of t and make a decision. Compute the value of t.
Example 3 (Continued) • Step 5 (Continued): Compute the value of t and make a decision. Make a decision. The p(t>1.640) is 0.0567 for a one-tailed t-test of significance. Because the computed t of 1.640 is less than the critical t value of 1.708, and the p-value of 0.0567 is greater than the required level of significance of 0.05, the decision is to not reject the null hypothesis. There is insufficient sample evidence to claim a higher mpg for the imported cars.
Hypothesis Testing InvolvingPaired Observations • Independent samples are samples that are not related in any way. • Dependent samples are samples that are paired or related in some fashion. For example, • If you wished to buy a car you would look at the same car at two (or more) different dealerships and compare the prices. • If you wished to measure the effectiveness of a new diet you would weigh the dieters at the start and at the finish of the program.
Hypothesis Testing InvolvingPaired Observations • Use the following test, paired t test, when the samples are dependent. • Where, is the mean of the differences, sd is the standard deviation of the differences, and n is the number of pairs of differences.
Example 4 • An independent testing agency is comparing the daily rental cost for renting a compact car from Hertz and Avis. • A random sample of eight cities revealed the following information. • At the 0.05 significance level, can the testing agency conclude that there is a difference in the rental charge?
Example 4 (Continued) • Step 1: State the null and alternate hypotheses. H0: μd=0 H1: μd≠0 • Step 2: State the level of significance. The 0.05 significance is stated in the problem. • Step 3: Find the appropriate test statistic. The appropriate test statistic is the paired t-test. • Step 4: State the decision rule. The null hypothesis is rejected if -2.36 > t > 2.365 or if p is less than 0.05. There are n-1 or 7 degrees of freedom.
Example 4 (Continued) • Step 5: Compute the value of t and make a decision.
Example 4 (Continued) • Step 5: Compute the value of t and make a decision.
Example 4 (Continued) • Step 5 (Continued): Compute the value of t and make a decision. Make a decision. The p(t>0.894) is 0.20 for a one-tailed t-test at 7 degrees of freedom. Because the computed t of 0.894 is less than the critical t value of 2.365, and the p-value of 0.20 is greater than the required level of significance of 0.05, do not reject the null hypothesis. There is no significant difference in the mean amount charged by Hertz and Avis.
Comparing Dependent and Independent Samples • Two types of dependent samples: • The same subjects measured at two different points in time. • Matched or paired observations. • Disadvantage of dependent samples: • Degrees of freedom are halved. • Advantage of dependent samples: • Reduction in variation in the sampling distribution.