4 · Simple regression

One predictor, least squares, interpreting coefficients

Author

Eduard (Eddie) Bukin

The first regression topic: fitting a line through a scatterplot, and being precise about what its slope and intercept mean.

Slides

Deck Covers
🖥 Simple regression One predictor, ordinary least squares, interpreting the coefficients

Exercise

Exercise What you practise
📋 ae04-00-simple-regression-from-slides-HW.R Reproduce the whole simple-regression analysis from the slides in a plain R script

This exercise is a plain .R script rather than an R Markdown document, so there is no rendered page — open it from the bundle.

📦 Download the bundle: ae04-multiple-regression-part-1 — contains this script alongside the multiple-regression exercises.

Going deeper

Read

Practise

Where the course goes next

← 3 · Describing data · → 5 · Multiple regression