March 2019
Beginner to intermediate
448 pages
13h 14m
English
In this exercise, we will focus on a simple ANOVA example and show the mechanics of the sum of squares and F-tests. We will use a balanced dataset and calculate the sum of squares and the F-tests manually. The dataset will contain weight measurements for animals, and these will depend on which food type they were fed on and which lot the animals were assigned.
In R, we can compute the anova table using the anova function on a linear model that we can estimate via the lm or aov functions:
data = read.csv("./anova__lot_type.csv")
Read now
Unlock full access