82.4k views
4 votes
How do you create a residual plot that shows whether a linear model is an appropriate fit for the data?

1 Answer

4 votes

Answer: To work out a residual, you must take the predicted value and subtract it from the measured value.

Explanation:

A residual plot is a graph that shows the residuals on the vertical axis and the independent variable on the horizontal axis. To find a residual you must take the predicted value and subtract it from the measured value.

Its values should be equally and randomly spaced around the horizontal axis. If the points in a residual plot are randomly dispersed around the horizontal axis, a linear regression model is appropriate for the data; otherwise, a non linear model is more appropriate.

User Marc Bernier
by
7.8k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.