Residual Calculator
Find the signed residual and squared residual from an observed value and its prediction.
Formula
e=y−ŷ; squared residual=e².
Residual ≈ (10)-(8) · Squared residual ≈ (2)^2
How to use
- Enter the observed value y.
- Enter its predicted value ŷ in the same unit.
- Read the signed difference and its square.
Examples
- Observed 10 and predicted 8 give residual 2 and squared residual 4.
Frequently asked questions
What does a positive residual mean?
The observation is above the prediction.
How is a residual different from absolute error?
A residual retains its sign; absolute error removes the sign.
Does this fit a regression model?
No. Supply the predicted value from your model; this evaluates one observation.
Sources
Updated: