A participatory live-coding lesson on simulating data and performing randomization tests on ecological data in R.
The lecture provides an overview of randomization tests as a way of testing hypotheses in ecology. Randomization tests are common in many disciplines and ecology and evolutionary biology is no different. The lecture begins by introducing randomization tests as an alternative to traditional parametric tests. It then briefly describes the process of simulating data in R since data simulation forms the backbone of randomization tests. This is followed by a walkthrough of a randomization tests on simulated data and the lecture ends with its application to real ecological data, using plant presence/absence data from the NEON network.