Unit 5
Introduction
Welcome to Week 5 of BIO144!
Course book
This week we will be covering Chapter 5: One-way ANOVA of the course book.
Code walkthrough
The R code of this week’s chapter is in a code walkthrough script, with a video walkthrough of it. Both are linked at the top of the course book chapter. Work through them before the practical: the last section of the script (“Practical toolbox”) shows code that this week’s practical uses but the chapter does not.
Learning objectives
These learning objectives, together with the content of the course book chapter, define what you need to know for the exam.
After this unit, students will be able to:
- Explain one-way ANOVA as a linear model with a single categorical explanatory variable.
- Explain how the total variation is partitioned into between-group and within-group components, and how the F statistic is calculated from them.
- Calculate the total, model and residual degrees of freedom of a one-way ANOVA (n − 1, k − 1 and n − k), and explain why they add up.
- Explain why sums of squares are divided by their degrees of freedom to give mean squares, and identify the two degrees of freedom of the F-distribution.
- Calculate missing entries in an ANOVA table (degrees of freedom, sums of squares, mean squares, F).
- Use R to fit a one-way ANOVA with
lm()and obtain the ANOVA table. - Use R to test whether the group means differ, and draw the appropriate conclusion.
- Interpret the coefficients of a model with a categorical explanatory variable: the reference level and the differences from it.
- Use R to obtain group means and the estimated differences between groups, with their uncertainty.
- Use diagnostic plots to judge whether the assumptions of a one-way ANOVA are reasonably met.
- Explain why testing many pairs of groups inflates the probability of a false positive, and use a correction for multiple comparisons (e.g. Bonferroni, Tukey HSD).
- Decide whether one-way ANOVA is appropriate for a described study design and response variable.
- Recognise a correct and complete statement of one-way ANOVA results.
Lecture
Please attend the lecture. If for any reason you can’t, please watch the podcast, which is available on OLAT.
Homework, Practical, and Weekly Quiz
Available here. You will need to be on a UZH network to access this link, so if you are not on campus, you will need to connect to the UZH VPN first.