1 / 29

ANALYSIS OF VARIANCE (ANOVA)

ANALYSIS OF VARIANCE (ANOVA). BCT 2053 CHAPTER 5. CONTENT. 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA . 5.1 Introduction to ANOVA. OBJECTIVES. After completing this chapter you should be able to: 1. Explain the purpose of ANOVA

thisbe
Download Presentation

ANALYSIS OF VARIANCE (ANOVA)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ANALYSIS OF VARIANCE(ANOVA) BCT 2053 CHAPTER 5

  2. CONTENT 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA

  3. 5.1 Introduction to ANOVA OBJECTIVES • After completing this chapter you should be able to: • 1. Explain the purpose of ANOVA • 2. Identify the assumptions that underlie the ANOVA • technique • 3. Describe the ANOVA hypothesis testing procedure

  4. What is ANALYSIS OF VARIANCE (ANOVA) • the approach that allows us to use sample data to see if the values of three or more unknown population means are likely to be different • Also known as factorial experiments • this name is derived from the fact that in order to test for statistical significance between means, we are actually comparing (i.e., analyzing) variances. (so F-distribution will be used)

  5. Example of problems involving ANOVA • A manager want to evaluate the performance of three (or more) employees to see if any performance different from others. • A marketing executive want to see if there’s a difference in sales productivity in the 5 company region. • A teacher wants to see if there’s a difference in student’s performance if he use 3 or more approach to teach.

  6. The Procedural Steps for an ANOVA Test • State the Null and Alternative hypothesis • Select the level of significance, α • Determine the test distribution to use - Ftest • Compute the test statistic • Define rejection or critical region – Ftest > Fcritical • State the decision rule • Make the statistical decision - conclusion

  7. 5.2 One-Way ANOVA OBJECTIVE • After completing this chapter you should be able to: • 1. Use the one-way ANOVA technique to determine if there is a significance difference among three • or more means

  8. One-Way ANOVA Design • Only one classification factor (variable) is considered Response/ outcome/ dependent variable (samples) (The level of the factor) Replicates (1,… j)The object to a given treatment

  9. The resulting input grid of factorial experiment where, i = 1, 2, … a is the number of levels being tested. j = 1, 2, … niis the number of replicates at each level.

  10. Assumptions To use the one-way ANOVA test, the following assumptions must be true • The population under study have normal distribution. • The samples are drawn randomly, and each sample is independent of the other samples. • All the populations from which the samples values are obtained, have the same unknown population variances, that is for k number of populations,

  11. The Null and Alternative hypothesis (All population means are equal) If Ho is true we have k number of normal populations with (Not all population means are equal) Or H1: At least one mean is different from others If H1 is true we may have k number of normal populations with

  12. The format of a general one-way ANOVA table T = k n • Reject Ho if

  13. Example 1 • The data shows the Math’s test score for 4 groups of student with 3 different methods of study. Test the hypothesis that there is no difference between the Math’s score for 4 groups of student at significance level 0.05.

  14. Example 2 • An experiment was performed to determine whether the annealing temperature of ductile iron affects its tensile strength. Five specimens were annealed at each of four temperatures. The tensile strength (in ksi) was measured for each temperature. The results are presented in the following table. Can you conclude that there are differences among the mean strengths at α = 0.01?

  15. Example 3 • Three random samples of times (in minutes) that commuters are stuck in traffic are shown below. At α = 0.05, is there a difference in the mean times among the three cities?

  16. Solve one-way ANOVA by EXCEL • Excel – key in data (Example 1)

  17. Solve one-way ANOVA by EXCEL • Tools – Add Ins – Analysis Toolpak – Data Analysis – ANOVA single factor – enter the data range – set a value for α - ok • Reject H0 if P-value ≤ αor F > F crit P-value < 0.05 so Reject H0

  18. 4.2 Two-Way ANOVA OBJECTIVE • After completing this chapter you should be able to: • 1. Use the two-way ANOVA technique to determine if there is an effect of interaction between two • factors experiment

  19. Two-Way ANOVA Design • Two classification factor is considered • Example • A researcher whishes to test the effects of two different types of plant food and two different types of soil on the growth of certain plant.

  20. Some types of two way ANOVA design B1 B2 B1 B2 A1 A2 A3 A1 A2 B1 B2 B3 B1 B2 B3 A1 A2 A3 A4 A1 A2 A3

  21. Assumptions • The standard two-way ANOVA tests are valid under the following conditions: • The design must be complete • Observations are taken on every possible treatment • The design must be balanced • The number of replicates is the same for each treatment • The number of replicates per treatment, k must be at least 2 • Within any treatment, the observations are a simple random sample from a normal population • The sample observations are independent of each other (the samples are not matched or paired in any way) • The population variance is the same for all treatments.

  22. Null & Alternative Hypothesis interaction effect H0: there is no interaction effect between factor A and factor B. H1: there is an interaction effect between factor A and factor B. Row effect H0: there is no difference in means of factor A. H1: there is a difference in means of factor A. H0: there is no effect from factor A. H1: there is effect from factor A. or Column effect H0: there is no difference in means of factor B. H1: there is a difference in means of factor B. H0: there is no effect from factor B. H1: there is effect from factor B. or

  23. The format of a general two-way ANOVA table Reject if

  24. Procedure for Two-Way ANOVA Ho: No interaction between two factors Yes (Reject Ho) No (Accept Ho) Ho: No effects from the row factor A (the row means are equal) Ho: No effects from the column factor B (the column means are equal)

  25. Example 1 • A chemical engineer is studying the effects of various reagents and catalyst on the yield of a certain process. Yield is expressed as a percentage of a theoretical maximum. 2 runs of the process were made for each combination of 3 reagents and 4 catalysts. Construct an ANOVA table. Test is there an interaction effect between reagents and catalyst. Use α = 0.05. Do we need to test whether there is an effect that is due to reagents or catalyst? Why? If Yes, test is there an effect from reagents or catalyst.

  26. Example 2 • A study was done to determine the effects of two factors on the lather ability of soap. The two factors were type of water and glycerol. The outcome measured was the amount of foam produced in mL. The experiment was repeated 3 times for each combination of factors. The result are presented in the following table.. Construct an ANOVA table and test is there an interaction effect between factors. Use α = 0.05.

  27. Solve two-way ANOVA by EXCEL • Excel – key in data

  28. Solve two-way ANOVA by EXCEL • tools – Data Analysis – ANOVA two factor with replication – enter the data range – set a value for α - ok • Reject H0 if P-value ≤ αor F > F crit

  29. Summary • The other name for ANOVA is experimental design. • ANOVA help researchers to design an experiment properly and analyzed the data it produces in correctly way. Thank You

More Related