Correlation and Simple Linear Regression

Measure of the joint variance

  • for both variables

Perason is how we standardise covariance

if the observed t-value is greater than the critical value, we reject the null


Characteristics of Pearson Correlation


Youre making a prediction about x,


minimize the sum of squares of the errors

  • so its the sum of the squared errors


However, the least square or best fit line can be the same for mutliple datasets. So as seen below:

It will fit one line better than it fits the other. So, to figure out which or how well it fits the data itself, without looing at the graphs, we do something called measure of model fit (r²)