MATH 456 Quiz 03
Given on 2026-03-02
Suppose we fit a model in R, such as
library(dplyr)
fit <- lm(y ~ x, data = df)
-
Provide
Rcode to make aggplot2histogram of the standardized residuals. -
Describe the shape we expect to see, if assumptions are satisfactorily met, from the histogram of standardized residuals?
-
Provide
Rcode to make aggplot2scatter plot where the standardized residuals are on the y-axis and the predicted valuesyhatare on the x-axis. -
Describe aspects of this plot that might indicate an improper fit of our model.
-
What do these two plots have in common, in the sense that both plots can help us identify the same modeling issue, albeit on different axes?