Appex 8
STA 112 - Spring 2024
- Create a new project from this template in RStudio Pro:
https://github.com/sta-112-s24/appex-08.git
- Load the packages and data by running the top chunk of R code
- Learn about the
USstamps
data by running?USstamps
in your Console - Use the
filter
function to remove observations with Year less than 1958 - Fit a linear model predicting the stamp price from year
- Calculate the studentized residuals and plot them – are there any outliers?
- If you found an outlier, refit the model without it – is this point “influential”?