1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Slides by John Loucks St. Edward’s University
2 2 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Chapter 11 Inferences About Population Variances n Inference about a Population Variance n Inferences about the Variances of Two Populations
3 3 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Inferences About a Population Variance n Chi-Square Distribution Interval Estimation of 2 Interval Estimation of 2 n Hypothesis Testing
4 4 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Chi-Square Distribution We can use the chi-square distribution to develop We can use the chi-square distribution to develop interval estimates and conduct hypothesis tests interval estimates and conduct hypothesis tests about a population variance. about a population variance. The sampling distribution of ( n - 1) s 2 / 2 has a chi- The sampling distribution of ( n - 1) s 2 / 2 has a chi- square distribution whenever a simple random sample square distribution whenever a simple random sample of size n is selected from a normal population. of size n is selected from a normal population. The chi-square distribution is based on sampling The chi-square distribution is based on sampling from a normal population. from a normal population. n The chi-square distribution is the sum of squared standardized normal random variables such as standardized normal random variables such as ( z 1 ) 2 +( z 2 ) 2 +( z 3 ) 2 and so on. ( z 1 ) 2 +( z 2 ) 2 +( z 3 ) 2 and so on.
5 5 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Examples of Sampling Distribution of ( n - 1) s 2 / With 2 degrees of freedom of freedom With 2 degrees of freedom of freedom With 5 degrees of freedom of freedom With 5 degrees of freedom of freedom With 10 degrees of freedom of freedom With 10 degrees of freedom of freedom
6 6 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Chi-Square Distribution For example, there is a.95 probability of obtaining a 2 (chi-square) value such that For example, there is a.95 probability of obtaining a 2 (chi-square) value such that We will use the notation to denote the value for the chi-square distribution that provides an area of to the right of the stated value. We will use the notation to denote the value for the chi-square distribution that provides an area of to the right of the stated value.
7 7 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. 95% of the possible 2 values 95% of the possible 2 values 22 2 Interval Estimation of 2
8 8 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Interval Estimation of 2 Substituting ( n – 1) s 2 / 2 for the 2 we get Substituting ( n – 1) s 2 / 2 for the 2 we get n Performing algebraic manipulation we get There is a (1 – ) probability of obtaining a 2 value There is a (1 – ) probability of obtaining a 2 value such that such that
9 9 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Interval Estimate of a Population Variance Interval Estimation of 2 where the values are based on a chi-square distribution with n - 1 degrees of freedom and where 1 - is the confidence coefficient.
10 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Interval Estimation of n Interval Estimate of a Population Standard Deviation Taking the square root of the upper and lower Taking the square root of the upper and lower limits of the variance interval provides the confidence interval for the population standard deviation.
11 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Buyer’s Digest rates thermostats manufactured for home temperature control. In a recent test, 10 thermostats manufactured by ThermoRite were selected and placed in a test room that was maintained at a temperature of 68 o F. The temperature readings of the ten thermostats are shown on the next slide. Interval Estimation of 2 n Example: Buyer’s Digest (A)
12 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Interval Estimation of 2 We will use the 10 readings below to develop a We will use the 10 readings below to develop a 95% confidence interval estimate of the population variance. n Example: Buyer’s Digest (A) Temperature Thermostat
13 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Interval Estimation of 2 Selected Values from the Chi-Square Distribution Table Our value For n - 1 = = 9 d.f. and =.05 For n - 1 = = 9 d.f. and =.05
14 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Interval Estimation of 2 22 2 Area in Upper Tail = For n - 1 = = 9 d.f. and =.05 For n - 1 = = 9 d.f. and =.05
15 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Interval Estimation of 2 Selected Values from the Chi-Square Distribution Table For n - 1 = = 9 d.f. and =.05 For n - 1 = = 9 d.f. and =.05 Our value
16 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. 22 2 Interval Estimation of 2 n - 1 = = 9 degrees of freedom and =.05 n - 1 = = 9 degrees of freedom and = Area in Upper Tail =.025 Area in Upper Tail =.025
17 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Sample variance s 2 provides a point estimate of 2. Sample variance s 2 provides a point estimate of 2. Interval Estimation of 2.33 < 2 < 2.33 n A 95% confidence interval for the population variance is given by:
18 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Interval Estimation of 2 n Excel Formula Worksheet ABC 1Temp.Sample Size=COUNT(A2:A11) 267.4Variance=VAR(A2:A11) Confid. Coefficient Level of Signif. (alpha)=1-C Chi-Sq. Value (low. tail)=CHISQ.INV(1-C5/2,C1-1) 767.0Chi-Sq. Value (up. tail)=CHISQ.INV.RT(C5/2,C1-1) Point Estimate=C Lower Limit=((C1-1)*C2)/C Upper Limit=((C1-1)*C2)/C6
19 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Interval Estimation of 2 n Excel Value Worksheet ABC 1Temp.Sample Size Variance Confid. Coefficient Level of Signif. (alpha) Chi-Sq. Value (low. tail) Chi-Sq. Value (up. tail) Point Estimate Lower Limit Upper Limit2.333
20 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Left-Tailed Test Hypothesis Testing About a Population Variance where is the hypothesized value for the population variance Test Statistic Test Statistic Hypotheses Hypotheses
21 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Left-Tailed Test (continued) Hypothesis Testing About a Population Variance Reject H 0 if p -value < p -Value approach: Critical value approach: Rejection Rule Rejection Rule Reject H 0 if where is based on a chi-square distribution with n - 1 d.f.
22 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Right-Tailed Test Hypothesis Testing About a Population Variance where is the hypothesized value for the population variance Test Statistic Test Statistic Hypotheses Hypotheses
23 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Right-Tailed Test (continued) Hypothesis Testing About a Population Variance Reject H 0 if Reject H 0 if p -value < where is based on a chi-square distribution with n - 1 d.f. p -Value approach: Critical value approach: Rejection Rule Rejection Rule
24 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Two-Tailed Test Hypothesis Testing About a Population Variance where is the hypothesized value for the population variance Test Statistic Test Statistic Hypotheses Hypotheses
25 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Two-Tailed Test (continued) Hypothesis Testing About a Population Variance Reject H 0 if p -value < p -Value approach: Critical value approach: Rejection Rule Rejection Rule Reject H 0 if where are based on a chi-square distribution with n - 1 d.f.
26 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Recall that Buyer’s Digest is rating ThermoRite Recall that Buyer’s Digest is rating ThermoRite thermostats. Buyer’s Digest gives an “acceptable” rating to a thermostat with a temperature variance of 0.5 or less. Hypothesis Testing About a Population Variance n Example: Buyer’s Digest (B) We will conduct a hypothesis test (with =.10) We will conduct a hypothesis test (with =.10) to determine whether the ThermoRite thermostat’s temperature variance is “acceptable”.
27 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypothesis Testing About a Population Variance Using the 10 readings, we will conduct a Using the 10 readings, we will conduct a hypothesis test (with =.10) to determine whether the ThermoRite thermostat’s temperature variance is “acceptable”. n Example: Buyer’s Digest (B) Temperature Thermostat
28 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Hypotheses Hypothesis Testing About a Population Variance Reject H 0 if 2 > n Rejection Rule Right-tailedtestRight-tailedtest
29 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Selected Values from the Chi-Square Distribution Table For n - 1 = = 9 d.f. and =.10 For n - 1 = = 9 d.f. and =.10 Hypothesis Testing About a Population Variance Our value
30 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. 22 2 Area in Upper Tail =.10 Area in Upper Tail =.10 Hypothesis Testing About a Population Variance n Rejection Region Reject H 0
31 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Test Statistic Hypothesis Testing About a Population Variance Because 2 = 12.6 is less than , we cannot Because 2 = 12.6 is less than , we cannot reject H 0. The sample variance s 2 =.7 is insufficient evidence to conclude that the temperature variance for ThermoRite thermostats is unacceptable. n Conclusion The sample variance s 2 = 0.7
32 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Using the p -Value The sample variance of s 2 =.7 is insufficient The sample variance of s 2 =.7 is insufficient evidence to conclude that the temperature evidence to conclude that the temperature variance is unacceptable (>.5). variance is unacceptable (>.5). Because the p –value > =.10, we cannot Because the p –value > =.10, we cannot reject the null hypothesis. reject the null hypothesis. The rejection region for the ThermoRite The rejection region for the ThermoRite thermostat example is in the upper tail; thus, the thermostat example is in the upper tail; thus, the appropriate p -value is less than.90 ( 2 = 4.168) appropriate p -value is less than.90 ( 2 = 4.168) and greater than.10 ( 2 = ). and greater than.10 ( 2 = ). Hypothesis Testing About a Population Variance
33 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Excel Formula Worksheet Hypothesis Testing About a Population Variance
34 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypothesis Testing About a Population Variance n Excel Value Worksheet
35 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n One-Tailed Test Test Statistic Test Statistic Hypotheses Hypotheses Hypothesis Testing About the Variances of Two Populations Denote the population providing the larger sample variance as population 1.
36 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n One-Tailed Test (continued) Reject H 0 if p -value < where the value of F is based on an F distribution with n (numerator) and n (denominator) d.f. p -Value approach: Critical value approach: Rejection Rule Rejection Rule Hypothesis Testing About the Variances of Two Populations Reject H 0 if F > F
37 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Two-Tailed Test Test Statistic Test Statistic Hypotheses Hypotheses Hypothesis Testing About the Variances of Two Populations Denote the population providing the larger sample variance as population 1.
38 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Two-Tailed Test (continued) Reject H 0 if p -value < p -Value approach: Critical value approach: Rejection Rule Rejection Rule Hypothesis Testing About the Variances of Two Populations Reject H 0 if F > F /2 where the value of F /2 is based on an F distribution with n (numerator) and n (denominator) d.f.
39 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Buyer’s Digest has conducted the same test, as was described earlier, on another 10 thermostats, this time manufactured by TempKing. The temperature readings of the ten thermostats are listed on the next slide. Hypothesis Testing About the Variances of Two Populations n Example: Buyer’s Digest (C) We will conduct a hypothesis test with =.10 to see We will conduct a hypothesis test with =.10 to see if the variances are equal for ThermoRite’s thermostats and TempKing’s thermostats.
40 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Hypothesis Testing About the Variances of Two Populations n Example: Buyer’s Digest (C) ThermoRite Sample TempKing Sample Temperature Thermostat Temperature Thermostat
41 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Hypotheses Hypothesis Testing About the Variances of Two Populations Reject H 0 if F > 3.18 The F distribution table (on next slide) shows that with with =.10, 9 d.f. (numerator), and 9 d.f. (denominator), F.05 = (Their variances are not equal) (TempKing and ThermoRite thermostats have the same temperature variance) n Rejection Rule
42 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Selected Values from the F Distribution Table Hypothesis Testing About the Variances of Two Populations
43 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Test Statistic Hypothesis Testing About the Variances of Two Populations We cannot reject H 0. F = 2.53 < F.05 = There is insufficient evidence to conclude that the population variances differ for the two thermostat brands. Conclusion Conclusion = 1.768/.700 = 2.53 TempKing’s sample variance is ThermoRite’s sample variance is.700
44 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Determining and Using the p -Value Hypothesis Testing About the Variances of Two Populations Because =.10, we have p -value > and therefore Because =.10, we have p -value > and therefore we cannot reject the null hypothesis. we cannot reject the null hypothesis. But this is a two-tailed test; after doubling the But this is a two-tailed test; after doubling the upper-tail area, the p -value is between.20 and.10. upper-tail area, the p -value is between.20 and.10. Because F = 2.53 is between 2.44 and 3.18, the area Because F = 2.53 is between 2.44 and 3.18, the area in the upper tail of the distribution is between.10 in the upper tail of the distribution is between.10 and.05. and.05. Area in Upper Tail F Value (df 1 = 9, df 2 = 9)
45 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. Step 1: Click the Data tab on the Ribbon Excel’s F-Test Two-Sample for Variances Tool Step 3: When the Data Analysis dialog box appears: Choose F-Test Two Sample for Variances Choose F-Test Two Sample for Variances Click OK Click OK Step 2: In the Analysis group, click Data Analysis Step 4: When the F-Test Two-Sample for Variances dialog box appears: dialog box appears: (see details on next slide) (see details on next slide)
46 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Excel Dialog Box Excel’s F-Test Two-Sample for Variances Tool
47 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. n Excel Value Worksheet Excel’s F-Test Two-Sample for Variances Tool
48 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. or duplicated, or posted to a publicly accessible website, in whole or in part. End of Chapter 11