*by David Lillis, Ph.D.*

Last time we created two variables and used the lm() command to perform a least squares regression on them, and diagnosing our regression using the plot() command.

Just as we did last time, we perform the regression using lm(). This time we store it as an object M. [Read more…] about Linear Models in R: Improving Our Regression Model