Week 5

Author

Huanfa Chen

Published

October 29, 2025

Introduction

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

Learning Objectives

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

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

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