Correlation
The strength and sign of the linear association between two variables, between and .
When to use
Do not confuse it with the slope: in Assignment 1 hours worked on schooling has slope but correlation only , a weak and non-causal association. In R, use = "complete.obs" stops missing values breaking cor().
Worked in Assignment 1.
Taught in Lecture 2.