Skip to main content Accessibility help
Internet Explorer 11 is being discontinued by Microsoft in August 2021. If you have difficulties viewing the site on Internet Explorer 11 we recommend using a different browser such as Microsoft Edge, Google Chrome, Apple Safari or Mozilla Firefox.

Chapter 8: One-Way Analysis of Variance (ANOVA) and Kruskal–Wallis Test

Chapter 8: One-Way Analysis of Variance (ANOVA) and Kruskal–Wallis Test

pp. 104-128

Authors

, University of South Bohemia, Czech Republic, , University of South Bohemia, Czech Republic
Resources available Unlock the full potential of this textbook with additional resources. There are free resources available for this textbook. Explore resources
  • Add bookmark
  • Cite
  • Share

Summary

The analysis of variance is introduced as a method of testing differences among means of more than two groups of observations. We outline the basic assumptions of ANOVA models, focusing on the expected homogeneity of variances across the compared groups, which is assessed by the Bartlett test. The decomposition of variability in the response variable (its total sum of squares) into among-group and within-group (residual) variation leads to the definition of the F-ratio, which is the central test statistic in ANOVA models. We also introduce the distinction between fixed and random effects and discuss the F test power as well as the robustness of the test to violations of ANOVA model assumptions. The first part of the chapter, dealing with one-way ANOVA, concludes with a description of the multiple comparisons procedure. We focus on two types - Tukey's test and Dunnett's test. This chapter concludes by presenting a nonparametric counterpart of one-way ANOVA, the Kruskal-Wallis test. The methods described in this chapter are accompanied by a carefully-explained guide to the R code needed for their use, including the multcomp package.

Keywords

  • F test
  • ANOVA
  • sum of squares
  • Bartlett test
  • fixed effect
  • random effect
  • Kruskal-Wallis test
  • multiple comparisons
  • Tukey's test
  • Dunnett's test

About the book

Access options

Review the options below to login to check your access.

Purchase options

eTextbook
US$42.00
Hardback
US$110.00
Paperback
US$42.00

Have an access code?

To redeem an access code, please log in with your personal login.

If you believe you should have access to this content, please contact your institutional librarian or consult our FAQ page for further information about accessing our content.

Also available to purchase from these educational ebook suppliers