Linear regression is one of the most commonly used statistical methods; it allows us to model how an outcome variable depends on one or more predictor (sometimes called independent variables)
. In particular, we model how the mean, or expectation, of the outcome
varies as a function of the predictors: