Correlation

The strength and sign of the linear association between two variables, between −1-1 and 11.

When to use

Do not confuse it with the slope: in Assignment 1 hours worked on schooling has slope −0.859-0.859 but correlation only −0.046-0.046, a weak and non-causal association. In R, use = "complete.obs" stops missing values breaking cor().

Worked in Assignment 1.

Taught in Lecture 2.

Appears in

No references yet.