Machine Learning, Data Science, Regression, Week07.
abline(pop.fit, col=”red”) The output generated is shown below: output of simple linear regression The R-squared value of 0.139 suggests that there is a weak correlation between the two. This examples illustrates the linear regression for a single variable. But, in reality we have multiple