32
7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Embed Size (px)

Citation preview

Page 1: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

7.5 Hypothesis Testing for the Variance and Standard

DeviationStatisticsMrs. Spitz

Spring 2009

Page 2: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Objectives/Assignment

• How to find critical values for a x2-test

• How to use the x2-test to test a variance or a standard deviation.

pp. 353-355 #1-26

Page 3: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Critical Values

• In “REAL” life, it is often important to produce consistent predictable results. For instance, consider a company that manufactures golf balls. The manufacturer must produce millions of golf balls each having the same size and the same weight. There is a very low tolerance for variation. If the population is normal, you can test the variance and standard deviation of the process using the chi-square distribution with n – 1 degrees of freedom.

Page 4: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Reminder:

Page 5: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009
Page 6: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 1: Finding Critical Values for X2

• Find the critical X2 value for a right-tailed test when n = 26 and = 0.10

• SOLUTION: The degrees of freedom are d.f. = n – 1 = 26 – 1. The graph on the next slide shows an 25 degrees of freedom and a shaded area of = 0.10 in the right tail.

Page 7: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 1: Finding Critical Values for X2

• Using Table 6 with d.f. = 25 and = 0.10, the critical value is:

382.340

2X

Look – Chi Table

locate DF, and = 0.10. Where they meet up is the value.

Page 8: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 2: Finding Critical Values for X2

• Find the critical value X2 – value for a left-tailed test when n = 11 and = 0.01.

Solution: The degrees of freedom = n – 1 = 11 – 1 = 10. The graph on the next slide shows a X2 – distribution with 10 degree of freedom and a shaded area of = 0.01 in the left tail. The area to the right of the critical value is 1 - ; so 1 – 0.01 = 0.99.

Page 9: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 2: Finding Critical Values for X2

• Using Table 6 with d.f. = 10 and area = is: 1 – 0.01 = 0.99, the critical value is:

558.20

2X

Look – Chi Table

locate DF=10, and = 0.01. Where they meet up is the value.

Page 10: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Note to yourself

• Because chi-square distributions are not symmetric (like normal distribution or t-distributions, in a two-tailed test, the two critical values are NOT opposites. Each critical value must be calculated separately.

Page 11: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 3: Finding Critical Values for X2

• Find the critical value X2 – value for a two-tailed test when n = 13 and = 0.01.

Solution: The degrees of freedom = n – 1 = 13 – 1 = 12. The graph on the next slide shows a X2 – distribution with 12 degree of freedom and a shaded area of = 0.005 in the left tail. The area to the right of the critical value is 005.0

2

1

• In each tail. The areas to the right of the critical values are

005.02

1 995.0

2

11

Page 12: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 3: Finding Critical Values for X2

• Using Table 6, with d.f. = n – 1 = 13 – 1 = 12 and the areas 0.005 and 0.995, the critical values are:

074.32

L

X 299.282

R

X

Page 13: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Chi-Square Test

• To test a variance 2 or a standard deviation of a population, that is normally distributed, you can use the X2-test

Page 14: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009
Page 15: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Reminder:

• The tests for variance and standard deviation can be misleading if the populations are NOT normal. It is the condition for a normal distribution is more important for tests of variance or standard deviation.

Page 16: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 4: Using a Hypothesis Test for the Population Variance

• A dairy processing company claims that the variance of the amount of fat in the whole milk processed by the c ompany is no more than 0.25. You suspect that is wrong and find a random sample of 41 milk containers has a variance of 0.27. At = 0.05, is there enough evidence to reject the company’s claim? Assume the population is normally distributed.

Page 17: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Solution:

• The claim is “the variance is no more than 0.25.” So, the null and alternative hypotheses are:

Ho: 2 0.25 (Claim) and Ha: 2 > 0.25

Page 18: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 4 solution continued . . .

• Because the test is a right-tailed test, the level of significance is = 0.05. There are d.f. = 41 – 1 = 40 degrees or freedom and the critical value is . The

rejection region is X2 > 55.758. Using the X2–test, the standardized test statistic is:

758.550

2X

Page 19: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 4 solution continued . . .

• The graph shows the location of the rejection region and the standardized test statistic, X2. Because X2 is not in the rejection region, you should decide not to reject the null hypothesis.

2.4325.0

)27.0)(141()1(2

22

sn

X

Page 20: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 2: Finding Critical Values for X2

• You do NOT have enough evidence to reject the company’s claim at the 5% significance.

Page 21: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Study Tip

• Although you are testing a standard deviation in Example 5, the X2 statistic requires variances. Don’t forget to square the given standard deviations to calculate these variances.

Page 22: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 5 Using a Hypothesis Test for SD

• A restaurant claims that the standard deviation in the length of serving times is less than 2.9 minutes. A random sample of 23 serving times has a standard deviation of 2.1 minutes. At = 0.10, is there enough evidence to support the restaurant’s claim? Assume the population is normally distributed.

Page 23: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Solution Ex. 5

• The claim is “the standard deviation is less than 2.9 minutes.” So the null and alternative hypotheses are :

Ho: ≥ 2.9 min and Ha: < 2.9 min (Claim)

Page 24: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Solution continued . . .

• Because the test is a left-tailed test, the level of significance is = 0.10. There are d.f. = 23 – 1 = 22 degrees of freedom and the critical value is 14.042. The rejection region is X2 < 14.042. Using the

X2-test, the standardized test statistic is:

Page 25: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Solution continued . . .

54.119.2

)1.2)(123()1(2

2

2

22

sn

X

• The graph shows the location of the rejection region and the standardized test statistic, X2. Because X2 is in the rejection region, you should decide to reject the null hypothesis.

Page 26: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 5:continued . . .

• So, there is enough evidence at the 10% level of significance to support the claim that the standard deviation for the length of serving times is less than 2.9 minutes.

Page 27: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 6: Using a Hypothesis Test for the Population Variance

• A sporting goods manufacturer claims that the variance of the strength of a certain fishing line is 15.9. A random sample of 15 fishing line spools has a variance of 21.8. At = 0.05, is there enough evidence to reject the manufacturer’s claim? Assume the population is normally distributed.

Page 28: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Solution Ex. 6

• The claim is “the variance is 15.9.” So, the null and alternative hypotheses are:

Ho: 2 =15.9 (Claim) and Ha: 2 15.9 min

Page 29: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Solution continued . . .

• Because the test is a two-tailed test, the level of significance is = 0.05. There are d.f. = 15 – 1 = 14 degrees of freedom and the critical values are 5.629 and 26.119. The rejection regions are X2 < 5.629 and X2 >14.042. Using the

X2-test, the standardized test statistic is:

Page 30: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Solution continued . . .

19.199.15

)8.21)(115()1(2

22

sn

X

• The graph shows the location of the rejection regions and the standardized test statistic, X2. Because X2 is not in the rejection regions, you should decide not to reject the null hypothesis.

Page 31: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Ex. 5:continued . . .

• At the 5% level of significance, there is not enough evidence to reject the claim that the variance is 15.9.

Page 32: 7.5 Hypothesis Testing for the Variance and Standard Deviation Statistics Mrs. Spitz Spring 2009

Upcoming

• Tomorrow/Friday—Work on 7.4/7.5• Monday – No School – President’s

Day• Tuesday/Wednesday – Review pp.

361-364 #1-46 all• Thursday – Chapter 7 Test/Binder

Check for notes 7.1 through 7.5 –