π¦ ae04-multiple-regression-part-1
From simple to multiple regression
Five exercises taking you from a simple-regression recap through multiple regression, linearity diagnostics, a hedonic price model and omitted variable bias. Belongs to Simple regression Β· Multiple regression.
β¬ Download ae04-multiple-regression-part-1.zip
Unzip it, then open the .Rproj file in RStudio. Every path inside the exercises is relative to that project, so the data will load without edits.
Uses datasets that ship with the alr4 and wooldridge packages, so there is no data/ folder β install those packages instead.
What is inside
ExercisesRead online
ae04-00-simple-regression-from-slides-HW.R
Plain R script: reproduce the entire simple-regression analysis from the slides. No rendered page β open it in RStudio.
source
ae04-02-MLR-linearity.Rmd
Residual plots, log transformations, interaction terms and marginal effects.
rendered
source
Project
ae04-multiple-regression-part-1.Rproj
RStudio project file β open this first.