Model building in R
Background
Follow the steps in the model building tutorial - simple model described in section 2.3.
Excercise
Complete the first two excercises from section 23.2.1.
- What is the effect of outliers on the final model?
- Does using a different metric help?
Home Assignment
Linear regression is not suitable for all datasets. Explore how fitting a polynomial will affect the result. Complete the first exercise from section 23.3.3.