<- c(1,2,3,4,5)
x mean(x) # Computes the mean of a set of numbers
[1] 3
Welcome to the Experimental Design and ANOVA section of STA2020.
This book is not an exhaustive guide to designing experiments or conducting ANOVA. Instead, it has been tailored specifically to align with the learning outcomes and methods covered in STA2020.
This module consists of four main sections:
The first two chapters lay the groundwork for the module. Once you grasp these concepts, the remaining sections should be easier to follow. Before diving into these topics, there are two preliminary sections:
I encourage you to read through these first, as they provide essential context for the rest of the material.
Throughout the book, you will find R code presented in chunks like this:
<- c(1,2,3,4,5)
x mean(x) # Computes the mean of a set of numbers
[1] 3
R is consistently used to visualize, illustrate, and demonstrate key methods and concepts. Running the code yourself will greatly enhance your understanding, so I encourage you to do so.
Some parts of these notes have been adapted from the STA2007 notes, authored by Dr. Res Altwegg and Dr. Birgit Erni, as well as from various textbooks.