Regression fits an equation relating predictors to a numeric outcome — the workhorse of statistical modelling. Simple linear regression fits a line; multiple regression uses several predictors; logistic regression handles yes/no outcomes.
Linear regression
y = b₀ + b₁x + error│ ││ └ slope: change in y per unit of x└ interceptMultiple: y = b₀ + b₁x₁ + b₂x₂ + … (several predictors)
Interpreting it
Key takeaways
- 01Regression models a numeric outcome from one or more predictors.
- 02A coefficient is the effect of its predictor holding the others constant.
- 03R² is the fraction of variation the model explains.
- 04Regression shows association, not causation (unless from an experiment); beware overfitting.
