Exercise 4: Diagnostics
Diagnostics
This problem involves the
Boston
data set. We now try to predict per capita crime rate using the median value of owner-occupied homes.Fit a simple linear regression model. Check if there are any potential leverage points and outliers.
Check the normality, constant variance and linearity.
Transform \(y\) and/or \(x\), and fit a new linear regression. Make sure it satisfies linear regression assumptions.