Week 5

Author

Huanfa Chen

Published

October 1, 2025

Introduction

This week, we’ll explore how to tell if several groups are truly different and how to measure the strength and direction of the relationship between two variables.

Learning Objectives

By the end of this week, you will be able to:

  1. Understand ANOVA.
  2. Understand correlation between two variables.
  3. Understand the difference of Pearson and Spearman correlation.

Lecture

To access the lecture notes: Lecture

Quiz

To access the quiz on Moodle, please check Moodle page.

Practical

Note

To save a copy of notebook to your own GitHub Repo: follow the GitHub link, click on Raw and then Save File As... to save it to your own computer. Make sure to change the extension from .ipynb.txt (which will probably be the default) to .ipynbbefore adding the file to your GitHub repository.

To access the practical:

  1. Preview
  2. Download

Further resources