Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.3 Two-Way ANOVA.

Slides:



Advertisements
Similar presentations
Analysis of variance (ANOVA)-the General Linear Model (GLM)
Advertisements

Design of Experiments and Analysis of Variance
Objectives (BPS chapter 24)
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Variance Chapter 16.
Chapter 13 Multiple Regression
The Two Factor ANOVA © 2010 Pearson Prentice Hall. All rights reserved.
© 2010 Pearson Prentice Hall. All rights reserved The Complete Randomized Block Design.
ANOVA notes NR 245 Austin Troy
Copyright ©2011 Brooks/Cole, Cengage Learning Analysis of Variance Chapter 16 1.
Chapter Seventeen HYPOTHESIS TESTING
Part I – MULTIVARIATE ANALYSIS
Chapter 12 Multiple Regression
Chapter 14 Conducting & Reading Research Baumgartner et al Chapter 14 Inferential Data Analysis.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 11 th Edition.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Are the Means of Several Groups Equal? Ho:Ha: Consider the following.
Inferences About Process Quality
Chapter 9 Hypothesis Testing.
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Summary of Quantitative Analysis Neuman and Robson Ch. 11
Simple Linear Regression and Correlation
Review for Exam 2 Some important themes from Chapters 6-9 Chap. 6. Significance Tests Chap. 7: Comparing Two Groups Chap. 8: Contingency Tables (Categorical.
Chapter 12 Section 1 Inference for Linear Regression.
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
Chapter 12: Analysis of Variance
Active Learning Lecture Slides
F-Test ( ANOVA ) & Two-Way ANOVA
QNT 531 Advanced Problems in Statistics and Research Methods
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.2 Estimating Differences.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Comparing Three or More Means 13.
Agresti/Franklin Statistics, 1 of 82 Chapter 13 Comparing Groups: Analysis of Variance Methods Learn …. How to use Statistical inference To Compare Several.
Correlation and Regression
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
MADAM SITI AISYAH ZAKARIA EQT 271 SEM /2015 CHAPTER 3 ANOVA (EXTRA NOTE & EXERCISE)
+ Chapter 12: Inference for Regression Inference for Linear Regression.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
Educational Research: Competencies for Analysis and Application, 9 th edition. Gay, Mills, & Airasian © 2009 Pearson Education, Inc. All rights reserved.
Copyright © 2004 Pearson Education, Inc.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chap 14-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.4 Analyzing Dependent Samples.
Section 9-1: Inference for Slope and Correlation Section 9-3: Confidence and Prediction Intervals Visit the Maths Study Centre.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.3 Using Multiple Regression to Make Inferences.
Multiple Regression BPS chapter 28 © 2006 W.H. Freeman and Company.
Previous Lecture: Phylogenetics. Analysis of Variance This Lecture Judy Zhong Ph.D.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.1 One-Way ANOVA: Comparing.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 12-3 Two-Way ANOVA.
Multiple Regression I 1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 4 Multiple Regression Analysis (Part 1) Terry Dielman.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and Methods and Applications CHAPTER 15 ANOVA : Testing for Differences among Many Samples, and Much.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.1 Categorical Response: Comparing Two Proportions.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 10 th Edition.
Soc 3306a Lecture 7: Inference and Hypothesis Testing T-tests and ANOVA.
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview and One-Way ANOVA.
SUMMARY EQT 271 MADAM SITI AISYAH ZAKARIA SEMESTER /2015.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.1 Using Several Variables to Predict a Response.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.1 One-Way ANOVA: Comparing.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 13 Comparing Groups: Analysis of Variance Methods
Comparing Three or More Means
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.3 Two-Way ANOVA

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 3 Type of ANOVA One-way ANOVA is a bivariate method:  It has a quantitative response variable  It has one categorical explanatory variable Two-way ANOVA is a multivariate method:  It has a quantitative response variable  It has two categorical explanatory variables

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 4 Example: Amounts of Fertilizer and Manure A recent study at Iowa State University:  A field was portioned into 20 equal-size plots.  Each plot was planted with the same amount of corn seed.  The goal was to study how the yield of corn later harvested depended on the levels of use of nitrogen-based fertilizer and manure.  Each factor (fertilizer and manure) was measured in a binary manner.

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 5 There are four treatments you can compare with this experiment found by cross-classifying the two binary factors: fertilizer level and manure level. Table 14.7 Four Groups for Comparing Mean Corn Yield These result from the two-way cross classification of fertilizer level with manure level. Example: Amounts of Fertilizer and Manure

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 6 Inference about Effects in Two-Way ANOVA In two-way ANOVA, a null hypothesis states that the population means are the same in each category of one factor, at each fixed level of the other factor. We could test: : Mean corn yield is equal for plots at the low and high levels of fertilizer, for each fixed level of manure. Example: Amounts of Fertilizer and Manure

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 7 We could also test: : Mean corn yield is equal for plots at the low and high levels of manure, for each fixed level of fertilizer. The effect of individual factors tested with the two null hypotheses (the previous two pages) are called the main effects. Example: Amounts of Fertilizer and Manure

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 8 Assumptions for the Two-way ANOVA F-test  The population distribution for each group is normal.  The population standard deviations are identical.  The data result from a random sample or randomized experiment.

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 9 SUMMARY: F-test Statistics in Two-Way ANOVA For testing the main effect for a factor, the test statistic is the ratio of mean squares:  The MS for the factor is a variance estimate based on between-groups variation for that factor.  The MS error is a within-groups variance estimate that is always unbiased.

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 10  When the null hypothesis of equal population means for the factor is true, the F-test statistic values tend to fluctuate around 1.  When it is false, they tend to be larger.  The P-value is the right-tail probability above the observed F-value. SUMMARY: F-test Statistics in Two-Way ANOVA

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 11 Example: Corn Yield Data and sample statistics for each group: Table 14.9 Corn Yield by Fertilizer Level and Manure Level

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 12 Output from Two-way ANOVA: Table Two-Way ANOVA for Corn Yield Data in Table 14.9 Example: Corn Yield

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 13 First consider the hypothesis: : Mean corn yield is equal for plots at the low and high levels of fertilizer, for each fixed level of manure. From the output, you can obtain the F-test statistic of 6.33 with its corresponding P-value of The small P-value indicates strong evidence that the mean corn yield depends on fertilizer level. Example: Corn Yield

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 14 Next consider the hypothesis: : Mean corn yield is equal for plots at the low and high levels of manure, for each fixed level of fertilizer. From the output, you can obtain the F-test statistic of 6.88 with its corresponding P-value of The small P-value indicates strong evidence that the mean corn yield depends on manure level. Example: Corn Yield

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 15 Exploring Interaction between Factors in Two-Way ANOVA No interaction between two factors means that the effect of either factor on the response variable is the same at each category of the other factor.

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 16 Figure 14.5 Mean Corn Yield, by Fertilizer and Manure Levels, Showing No Interaction. Exploring Interaction between Factors in Two-Way ANOVA

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 17 A graph showing interaction: Figure 14.6 Mean Corn Yield, by Fertilizer and Manure Levels, Displaying Interaction. Exploring Interaction between Factors in Two-Way ANOVA

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 18 Testing for Interaction In conducting a two-way ANOVA, before testing the main effects, it is customary to test a third null hypothesis stating that their is no interaction between the factors in their effects on the response.

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 19 The test statistic providing the sample evidence of interaction is: When is false, the F-statistic tends to be large. Testing for Interaction

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 20 Example: Corn Yield Data ANOVA table for a model that allows interaction: Table Two-Way ANOVA of Mean Corn Yield by Fertilizer Level and Manure Level, Allowing Interaction

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 21 The test statistic for : no interaction is: F = (MS for interaction)/(MS error) = 3.04 / 2.78 = 1.10 ANOVA table reports corresponding P-value of  There is not much evidence of interaction.  We would not reject at the usual significance levels, such as Example: Corn Yield Data

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 22 Check Interaction Before Main Effects In practice, in two-way ANOVA, you should first test the hypothesis of no interaction. It is not meaningful to test the main effects hypotheses when there is interaction.

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 23 If the evidence of interaction is not strong (that is, if the P-value is not small), then test the main effects hypotheses and/or construct confidence intervals for those effects. Check Interaction Before Main Effects

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 24 If important evidence of interaction exists, plot and compare the cell means for a factor separately at each category of the other factor. Check Interaction Before Main Effects

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 25 Why Not Instead Perform Two Separate One-Way ANOVAs? When you have two factors, you could perform two separate One-Way ANOVAs rather than a Two-Way ANOVA but  you learn more with a Two-Way ANOVA -it indicates whether there is interaction.  more cost effective to study the variables together rather than running two separate experiments.  the residual variability tends to decrease so we get better predictions, larger test statistics and hence greater power for rejecting false null hypotheses.

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 26 Factorial ANOVA The methods of two-way ANOVA can be extended to the analysis of several factors. A multifactor ANOVA with observations from all combinations of the factors is called factorial ANOVA, e.g., with three factors - three-way ANOVA considers main effects for all three factors as well as possible interactions.

Copyright © 2013, 2009, and 2007, Pearson Education, Inc. 27 Use Regression With Categorical and Quantitative Predictors In practice, when you have several predictors, both categorical and quantitative, it is sensible to build a multiple regression model containing both types of predictors.