Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In the HW3 template, we provide the code to make a residual plot for the original regression of writing on math. Do you see any
In the HW3 template, we provide the code to make a residual plot for the original regression of writing on math. Do you see any patterns in this plot that indicate a violation of any of our regression assumptions? Use the residual plot to comment on the assumptions related to linearity, constant variance, and the presence/absence of outliers. ggplot(lm.out1, aes(x = fitted(lm.out1), y = residuals(lm.out1))) + geom_point() + geom_hline(yintercept = 0,color = "darkgray") + xlab("Regression Fitted Values") + ylab("Model Residuals")
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started