In a regression analysis, the residual for a data point is defined as:
- Aobserved y − predicted yCorrect
- Bobserved y − mean of y
- Cobserved x − predicted x
- Dpredicted y − observed y
Why A is right
A residual is the difference between the observed response value (actual data point) and the predicted value from the regression line: residual = y − ŷ. Positive residuals indicate the point is above the line; negative residuals indicate it is below.
Why the other 3 choices miss
- B
- Incorrect because observed y − ȳ is a deviation from the mean (used in computing total sum of squares), not a residual from the regression line.
- C
- Incorrect because residuals are measured in the y-direction (vertical distance from the line), not in the x-direction. Simple linear regression minimizes vertical, not horizontal, distances.
- D
- Incorrect because predicted y − observed y gives the negative of the residual. By convention, residuals are computed as observed minus predicted.