How to calculate
Square each residual and find their mean. To estimate residual variance in a fitted model, optionally subtract its fitted parameter count from the divisor.
Worked example
Use Observed values (Y) 1, 3, 5 · Predicted values 2, 3, 4. The result is ≈ 0.666666666666666667.
Input and result notes
Enter numbers using the same units. Rounded results are marked with ≈.