Statistics for Business and Economics (14e) Summary of Chapter 9. Hypothesis Testing © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 1 Statistics for Business and Economics (14e) Steps of Hypothesis Testing Step 1. Develop the null and alternative hypotheses. Step 2. Specify the level of significance α. Step 3. Collect the sample data and compute the value of the test statistic. p-Value Approach ๏ง When we can calculate z-score/-test statistics, find p-value (=area probability). Step 4. Use the value of the test statistic to compute the p-value. Step 5. Reject H0 if p-value ≤ α. Critical Value Approach ๏ง when area probability (= p-value) is given, find the z-score value. Step 4. Use the level of significance α to determine the critical value and the rejection rule. Step 5. Use the value of the test statistic and the rejection rule to determine whether to reject H0. • The rejection rule is: • Lower tail: Reject H0 if ๐ง ≤ –๐งα and Upper tail: Reject H0 if ๐ง ≥ ๐งα © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 2 Statistics for Business and Economics (14e) © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 3 Statistics for Business and Economics (14e) Two-Tailed Test About a Population Mean: σ Unknown • Holiday’s marketing director is expecting demand to average 40 units per retail outlet. (Step 1) • Prior to making the final production decision based upon this estimate, Holiday decided to survey a sample of 25 retailers in order to develop more information about the demand for the new product. • Let ๐ denoting the population mean order quantity per retail outlet. • The sample of 25 retailers provided a mean of ๐ฅาง = 37.4and a standard deviation of s = 11.79 units. (Step 3) © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 4 Statistics for Business and Economics (14e) One-Tailed Test About a Population Mean: σ Unknown 1. Develop the hypotheses. ๐ป0 : ๐ = 40 ๐ฃ๐ ๐ป๐ : ๐ ≠ 40 2. Specify the level of significance. 3. Compute the value of the test statistic. p –Value Approach 4. Compute the p –value: α = .05 t= าง 0 ๐ฅ−๐ ๐ /√๐ = 37.4−40 11.79/√25 = -1.10 0.20 < p-value < 0.10. Accept ๐ป0 ๐ ๐๐๐๐๐ก ๐ป0 5. Determine whether to reject H0: p-value > α/2 = .05/2=0.025 , we do NOT reject H0. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 5 Statistics for Business and Economics (14e) Two-Tailed Test About a Population Mean: σ Unknown Critical Value Approach 4. Determine the critical value and the rejection rule. −๐ก0.025 = −2.064 ๐๐๐ ๐ก0.025 = 2.064 Accept ๐ป0 ๐ ๐๐๐๐๐ก ๐ป0 5. Determine whether to reject H0. ๐น๐๐๐๐๐ ๐ฏ๐ ๐๐ ๐ ≤ −๐๐.๐๐๐ ๐๐ ๐๐ ๐ ≥ ๐๐.๐๐๐ Because t (= −1.10) > −๐ก0.025 (= −2.064) , we do NOT reject H0. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 6 Statistics for Business and Economics (14e) P-value=2*(1-side p-value) © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 7 Statistics for Business and Economics (14e) © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 8 Statistics for Business and Economics (14e) 8. Inference About Means and Proportions with Two Populations 1 – Inferences about the Difference Between Two Population Means ๐1 and ๐2 known. a. Confidence Interval b. Hypothesis Test 2 – Inferences about the Difference Between Two Population Means ๐1 and ๐2 unknown. a. Confidence Interval b. Hypothesis Test © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 1 Statistics for Business and Economics (14e) Estimating the Difference Between Two Population Means © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 2 Statistics for Business and Economics (14e) Sampling Distribution of ๐ฅ1าง − ๐ฅาง2 • Mean/Expected value: • Standard Deviation (Standard Error): ๐๐ฅาง = © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. ๐ √๐ 3 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Known Interval Estimate: Point Estimator ± Margin Error ๐ผ is the level of significance. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 4 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Known Example: Par, Inc. Par, Inc. is a manufacturer of golf equipment and has developed a new golf ball that has been designed to provide “extra distance.” In a test of driving distance using a mechanical driving device, a sample of Par golf balls was compared with a sample of golf balls made by Rap, Ltd., a competitor. The sample statistics appear on the next slide. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 5 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Known Example: Par, Inc. Sample # 1 Par, Inc. Sample # 2 Rap, Ltd. Sample Size 120 balls 80 balls Sample Mean 295 yards 278 yards Empty cell Based on data from previous driving distance tests, the two population standard deviations are known with σ1 = 15 yards and σ2 = 20 yards. Let us develop a 95% confidence interval estimate of the difference between the mean driving distances of the two brands of golf ball. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 6 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Known Example: Par, Inc. Sample # 1 Par, Inc. Sample # 2 Rap, Ltd. Sample Size 120 balls 80 balls Sample Mean 295 yards 278 yards Empty cell Based on data from previous driving distance tests, the two population standard deviations are known with σ1 = 15 yards and σ2 = 20 yards. Let us develop a 95% (=๐ผ) confidence interval estimate of the difference between the mean driving distances of the two brands of golf ball. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 7 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Known We are 95% confident that the difference between the mean driving distances of Par, Inc. balls and Rap, Ltd. balls is 11.86 to 22.14 yards. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 8 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known A hypothesis test about the value of the difference in two population means ๐1 −๐2 must take one of the following three forms (where D0 is the hypothesized difference in the population means). Test Statistic xเดค −μ z= σ/ n © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 9 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known Example: Par, Inc. Can we conclude, using α = 0.01, that the mean driving distance of Par, Inc. golf balls is greater than the mean driving distance of Rap, Ltd. golf balls? (๐ป๐ ) © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 10 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known 1. Develop the hypotheses. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 11 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known 1. Develop the hypotheses. 2. Specify the level of significance. α = 0.01 © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 12 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known 1. Develop the hypotheses. 2. Specify the level of significance. α = 0.01 3. Compute the value of the test statistic. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 13 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known p –Value Approach 4. Compute the p –value. For z = 6.49, the p-value < 0.001 © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 14 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known p –Value Approach 4. Compute the p –value. For z = 6.49, the p-value < 0.001 5. Determine whether to reject H0. Because p-value < 0.001 ≤ α = 0.01, we reject H0. At the 0.01 level of significance, the sample evidence indicates the mean driving distance of Par, Inc. golf balls is greater than the mean driving distance of Rap, Ltd. golf balls. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 15 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known Critical Value Approach 4. Determine the critical value and the rejection rule. For α = 0.01, ๐ง0.01 = 2.33. We will reject H0 if ๐ง ≥ 2.33. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 16 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Known Critical Value Approach 4. Determine the critical value and the rejection rule. For α = 0.01, ๐ง0.01 = 2.33. We will reject H0 if ๐ง ≥ 2.33. 5. Determine whether to reject H0. Because 6.49 ≥ 2.33, we reject H0. The sample evidence indicates the mean driving distance of Par, Inc. golf balls is greater than the mean driving distance of Rap, Ltd. golf balls. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 17 Statistics for Business and Economics (14e) © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 18 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Unknown © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 19 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Unknown Interval Estimate ๐ฅาง ± ๐ก๐ผ/2 ๐ 2 ๐ © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 20 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Unknown Example: Specific Motors Specific Motors of Detroit has developed a new Automobile known as the M car. 24 M cars and 28 J cars (from Japan) were road tested to compare miles-per-gallon (mpg) performance. Sample #1 M Cars Sample #2 J Cars Sample Size 24 cars 28 cars Sample Mean 29.8 miles per gallon 27.3 miles per gallon Sample Std. Dev. 2.56 miles per gallon 1.81 miles per gallon Empty cell © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 21 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Unknown Example: Specific Motors Specific Motors of Detroit has developed a new Automobile known as the M car. 24 M cars and 28 J cars (from Japan) were road tested to compare miles-per-gallon (mpg) performance. Sample #1 M Cars Sample #2 J Cars Sample Size (n) 24 cars 28 cars Sample Mean (๐ฅ)าง 29.8 miles per gallon 27.3 miles per gallon Sample Std. Dev. (s) 2.56 miles per gallon 1.81 miles per gallon Empty cell © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 22 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Unknown Let us develop a 90% confidence interval estimate of the difference between the mpg performances of the two models of automobile. Let ๐1 = the mean miles per gallon for the population of M cars. ๐2 = the mean miles per gallon for the population of J cars. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 23 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Unknown Step 1. Step 2. Step 3. We are 90% confident that the difference between the miles-per-gallon performances of M cars and J cars is 1.449 to 3.551 mpg. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 24 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Unknown Step 3. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 25 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown A hypothesis test about the value of the difference in two population means ๐1 −๐2 must take one of the following three forms (where D0 is the hypothesized difference in the population means). Test Statistic: © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 26 Statistics for Business and Economics (14e) Interval Estimation of μ1 – μ2 when σ1 and σ2 are Unknown Example: Specific Motors Specific Motors of Detroit has developed a new Automobile known as the M car. 24 M cars and 28 J cars (from Japan) were road tested to compare miles-per-gallon (mpg) performance. Empty cell Sample #1 M Cars Sample #2 J Cars Sample Size (n) 24 cars 28 cars Sample Mean (๐ฅ)าง 29.8 miles per gallon 27.3 miles per gallon Sample Std. Dev. (s) 2.56 miles per gallon 1.81 miles per gallon • Can we conclude, using a 0.05 level of significance, that the miles-per-gallon (mpg) performance of M cars is greater than the miles-per-gallon performance of J cars? © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 27 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown 1. Develop the hypotheses. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 28 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown 1. Develop the hypotheses. 2. Specify the level of significance. α = 0.05 © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 29 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown 1. Develop the hypotheses. 2. Specify the level of significance. α = 0.05 3. Compute the value of the test statistic © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 30 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown The degrees of freedom for ๐ก๐ผ are © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 31 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown p –Value Approach 4. Compute the p-value. For t = 4.003 and df = 41 the p-value < 0.005 © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 32 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown p –Value Approach 4. Compute the p-value. For t = 4.003 and df = 41 the p-value < 0.005 5. Determine whether to reject H0. Because p-value ≤ α = 0.05, we reject H0. At the 0.05 level of significance, the sample evidence indicates that the miles-pergallon (mpg) performance of M cars is greater than the miles-per-gallon performance of J cars. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 33 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown Critical Value Approach 4. Determine the critical value and the rejection rule. For α = 0.05 and df = 41, ๐ก0.05 = 1.683. We will reject H0 if ๐ก ≥ 1.683. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 34 Statistics for Business and Economics (14e) Hypothesis Tests About μ1 – μ2 when σ1 and σ2 are Unknown Critical Value Approach 4. Determine the critical value and the rejection rule. For α = 0.05 and df = 41, ๐ก0.05 = 1.683. We will reject H0 if ๐ก ≥ 1.683. 5. Determine whether to reject H0. Because 4.003 ≥ 1.683, we reject H0. We are at least 95% confident that the miles-per-gallon (mpg) performance of M cars is greater than the miles-per-gallon performance of J cars. © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 35 Statistics for Business and Economics (14e) © 2020 Cengage. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website or school-approved learning management system for classroom use. 36