Presentation is loading. Please wait.

Presentation is loading. Please wait.

While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121.

Similar presentations


Presentation on theme: "While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121."— Presentation transcript:

1 While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121

2 Chapter 12 Analysis of Variance McGraw-Hill, Bluman, 7th ed., Chapter 12 2

3 3 21 Per 5-8; Wed Schedule Sec 12.1 23 ACT testing; Classes don’t meet 25 Sec12.2 28 Sec 12.3 30 Sec 12.3 continued. May 2 Various topics Chapter 13 5 Various topics Chapter 13 7 Various topics Chapter 13 9 Various topics Chapter 14 12 Various topics Chapter 14 14 Test 12-14 16 Review for Final Exam 19 Review for Final Exam 2 Review for Final Exam 1 23 Final Exam

4 Chapter 12 Overview Introduction 12-1 One-Way Analysis of Variance 12-2 The Scheffé Test and the Tukey Test 12-3 Two-Way Analysis of Variance Bluman, Chapter 12 4

5 Chapter 12 Objectives 1.Use the one-way ANOVA technique to determine if there is a significant difference among three or more means. 2.Determine which means differ, using the Scheffé or Tukey test if the null hypothesis is rejected in the ANOVA. 3.Use the two-way ANOVA technique to determine if there is a significant difference in the main effects or interaction. Bluman, Chapter 12 5

6 What is the ANOVA Test? Remember the 2-Mean T-Test? For example: A salesman in car sales wants to find the difference between two types of cars in terms of mileage: Mid-Size Vehicles Sports Utility Vehicles

7 Car Salesman’s Sample The salesman took an independent SRS from each population of vehicles: Level n Mean StDev Mid-size2827.101 mpg2.629 mpg SUV2620.423 mpg2.914 mpg If a 2-Mean tTest were done on this data: t = 8.15 P-value = ~0

8 What if the salesman wanted to compare another type of car, Pickup Trucks in addition to the SUV’s and Mid-size vehicles? Level n Mean StDev Midsize2827.101 mpg2.629 mpg SUV2620.423 mpg2.914 mpg Pickup 823.125 mpg2.588 mpg

9 This is an example of when we would use the ANOVA Test. In a 2-Mean TTest, we see if the difference between the 2 sample means is significant. The ANOVA is used to compare multiple means, and see if the difference between multiple sample means is significant.

10 Let’s Compare the Means… Do these sample means look significantly different from each other? Yes, we see that no two of these confidence intervals overlap, therefore the means are significantly different. This is the question that the ANOVA test answers mathematically.

11 More Confidence Intervals What if the confidence intervals were different? Would these confidence intervals be significantly different? Significant Not Significant

12 ANOVA Test Hypotheses H 0 : µ 1 = µ 2 = µ 3 (All of the means are equal) H 1 : Not all of the means are equal For Our Example: H 0 : µ Mid-size = µ SUV = µ Pickup The mean mileages of Mid-size vehicles, Sports Utility Vehicles, and Pickup trucks are all equal. H 1 : At least one of the mean mileages of Mid-size vehicles, Sports Utility Vehicles, and Pickup trucks is different.

13 Introduction The F test, used to compare two variances, can also be used to compare three of more means. analysis of variance ANOVA This technique is called analysis of variance or ANOVA. For three groups, the F test can only show whether or not a difference exists among the three means, not where the difference lies. Scheffé test Tukey test Other statistical tests, Scheffé test and the Tukey test, are used to find where the difference exists. Bluman, Chapter 12 13

14 12-1 One-Way Analysis of Variance analysis of variance ANOVA When an F test is used to test a hypothesis concerning the means of three or more populations, the technique is called analysis of variance (commonly abbreviated as ANOVA). Although the t test is commonly used to compare two means, it should not be used to compare three or more. Bluman, Chapter 12 14

15 Assumptions for the F Test The following assumptions apply when using the F test to compare three or more means. 1.The populations from which the samples were obtained must be normally or approximately normally distributed. 2.The samples must be independent of each other. 3.The variances of the populations must be equal. Bluman, Chapter 12 15

16 The F Test In the F test, two different estimates of the population variance are made. between- group variance The first estimate is called the between- group variance, and it involves finding the variance of the means. within-group variance The second estimate, the within-group variance, is made by computing the variance using all the data and is not affected by differences in the means. Bluman, Chapter 12 16

17 The F Test If there is no difference in the means, the between-group variance will be approximately equal to the within-group variance, and the F test value will be close to 1—do not reject null hypothesis. However, when the means differ significantly, the between-group variance will be much larger than the within-group variance; the F test will be significantly greater than 1—reject null hypothesis. Bluman, Chapter 12 17

18 Chapter 12 Analysis of Variance Section 12-1 Example 12-1 Page #630 Bluman, Chapter 12 18

19 Example 12-1: Lowering Blood Pressure A researcher wishes to try three different techniques to lower the blood pressure of individuals diagnosed with high blood pressure. The subjects are randomly assigned to three groups; the first group takes medication, the second group exercises, and the third group follows a special diet. After four weeks, the reduction in each person’s blood pressure is recorded. At α = 0.05, test the claim that there is no difference among the means. Bluman, Chapter 12 19

20 Example 12-1: Lowering Blood Pressure Bluman, Chapter 12 20 Step 1: State the hypotheses and identify the claim. H 0 : μ 1 = μ 2 = μ 3 (claim) H 1 : At least one mean is different from the others.

21 Example 12-1: Lowering Blood Pressure Bluman, Chapter 12 21 Step 2: Find the critical value. Since k = 3, N = 15, and α = 0.05, d.f.N. = k – 1 = 3 – 1 = 2 d.f.D. = N – k = 15 – 3 = 12 The critical value is 3.89, obtained from Table H.

22 Example 12-1: Lowering Blood Pressure Bluman, Chapter 12 22 Step 3: Compute the test value. a.Find the mean and variance of each sample (these were provided with the data). grand mean b.Find the grand mean, the mean of all values in the samples. between-group variance c. Find the between-group variance,.

23 Example 12-1: Lowering Blood Pressure Bluman, Chapter 12 23 Step 3: Compute the test value. (continued) between-group variance c. Find the between-group variance,. within-group variance d.Find the within-group variance,.

24 Step 3: Compute the test value. (continued) e. Compute the F value. Step 4: Make the decision. Reject the null hypothesis, since 9.17 > 3.89. Step 5: Summarize the results. There is enough evidence to reject the claim and conclude that at least one mean is different from the others. Example 12-1: Lowering Blood Pressure Bluman, Chapter 12 24

25 ANOVA Please see page 634 mean square, MS B The between-group variance is sometimes called the mean square, MS B. sum of squares between groups, SS B The numerator of the formula to compute MS B is called the sum of squares between groups, SS B. mean square, MS W The within-group variance is sometimes called the mean square, MS W. sum of squares within groups, SS W The numerator of the formula to compute MS W is called the sum of squares within groups, SS W. Bluman, Chapter 12 25

26 Bluman, Chapter 1226 Choice H In ( ) enter the lists… follow each list by a comma

27 Bluman, Chapter 1227 Scroll down to see the rest of the values.

28 ANOVA Summary Table: see page 633 Bluman, Chapter 12 28 SourceSum of Squares d.f.Mean Squares F Between Within (error) SS B SS W k – 1 N – k MS B MS W Total

29 ANOVA Summary Table for Example 12-1, page 634 Compare the calculator results with the values on the chart. 29 SourceSum of Squares d.f.Mean Squares F Between Within (error) 160.13 104.80 2 12 80.07 8.73 9.17 Total 264.9314

30 ANOVA Summary Table for Example 12-1, page 634 Bluman, Chapter 12 30 SourceSum of Squares d.f.Mean Squares F Between Within (error) 160.13 104.80 2 12 80.07 8.73 9.17 Total 264.9314

31 ANOVA on your Calculator Bluman, Chapter 1231 Enter the data on the lists on your calculator.

32 Chapter 12 Analysis of Variance Section 12-1 Example 12-2 Page #632 Bluman, Chapter 12 32

33 Bluman, Chapter 1233

34 Full solution for ANOVA For ANOVA testing in addition to performing hypothesis testing, an ANOVA summary table with proper values a and symbols should be included. For examples of ANOVA summary table see page 634 and 635 of your text. Bluman, Chapter 1234

35 ANOVA Summary Table Bluman, Chapter 12 35 SourceSum of Squares d.f.Mean Squares F Between Within (error) SS B SS W k – 1 N – k MS B MS W Total Use the values displayed by your calculator to determine the value of each of the following.

36 Example 12-2: Toll Road Employees A state employee wishes to see if there is a significant difference in the number of employees at the interchanges of three state toll roads. The data are shown. At α = 0.05, can it be concluded that there is a significant difference in the average number of employees at each interchange? Bluman, Chapter 12 36

37 Example 12-2: Toll Road Employees Bluman, Chapter 12 37 Step 1: State the hypotheses and identify the claim. H 0 : μ 1 = μ 2 = μ 3 H 1 : At least one mean is different from the others (claim).

38 Example 12-2: Toll Road Employees Bluman, Chapter 12 38 Step 2: Find the critical value. Since k = 3, N = 18, and α = 0.05, d.f.N. = 2, d.f.D. = 15 The critical value is 3.68, obtained from Table H.

39 Example 12-2: Toll Road Employees Bluman, Chapter 12 39 Step 3: Compute the test value. a.Find the mean and variance of each sample (these were provided with the data). grand mean b.Find the grand mean, the mean of all values in the samples. between-group variance c. Find the between-group variance,.

40 Example 12-2: Toll Road Employees Bluman, Chapter 12 40 Step 3: Compute the test value. (continued) between-group variance c. Find the between-group variance,. within-group variance d.Find the within-group variance,.

41 Step 3: Compute the test value. (continued) e. Compute the F value. Step 4: Make the decision. Reject the null hypothesis, since 5.05 > 3.68. Step 5: Summarize the results. There is enough evidence to support the claim that there is a difference among the means. Example 12-2: Toll Road Employees Bluman, Chapter 12 41

42 ANOVA Summary Table for Example 12-2 Bluman, Chapter 12 42 SourceSum of Squares d.f.Mean Squares F Between Within (error) 459.18 682.5 2 15 229.59 45.5 5.05 Total 1141.6817

43 Homework Read section 12.1 and take notes Sec 12.1 page 637 #1-7 and 9, 11, 13 Bluman, Chapter 1243

44 Thanks For Watching A special thanks to Mr. Coons for all the help and advice.


Download ppt "While you wait: Enter the following in your calculator. Find the mean and sample variation of each group. Bluman, Chapter 121."

Similar presentations


Ads by Google