The linear model
lm()
Simple regression
continuous predictors
categorical predictors
Multiple regression
main effect models
interaction models
Residual plots
No interactions in the model, e.g.
\[\hat{y}=\beta_0+\beta_1x_1+\beta_2x_2\]
Interpretation
the slope of \(x_1\) does not depend on \(x_2\)
the slope of \(x_2\) does not depend on \(x_1\)
the slopes of \(x_1\) and \(x_2\) are corrected for the correlation \(r_{x_1,x_2}\)