MCQs > Finance & Management > R > Which is NOT a valid R function for obtaining the residuals from a simple linear regression model of X predicting Y?

R MCQs

Which is NOT a valid R function for obtaining the residuals from a simple linear regression model of X predicting Y?

Answer

Correct Answer: lm(Y ~ X)$residuals - lm(Y ~ X)$fitted.values

Explanation:

Note: This Question is unanswered, help us to find answer for this one

R Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

R Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it