---
title: "Practical 2 - Understanding correlation and further exploring relationships"
author: "Team in Room 420 - Megan Ruffle, Naphon Olley, Jennifer James, William Ryan"
date: "2022-08-10T13:32:52Z"
link: "https://bookdown.org/LabTeam/_book-prac2/"
length_weight: "2.7%"
pinned: false
---

Practical 2 - Understanding correlation and further exploring relationships [...] After attending this lab, you should be able to use R to: In the lectures we learned how to assess the strength of a linear relationship between random variables using the correlation coefficient. The population correlation is a measure of the magnitude of the strength of the relationship between two random variables X and Y, and is defined as \[\begin{equation}
\rho(X,Y) = \frac{\text{Cov}(X,Y)}{\sqrt{\text{Var}(X)\text{Var}(Y)}},
\tag{1.1}
\end{equation}\] and can be estimated by replacing each of ...
