...error
The residual standard error is approximately the square root of the sum of the residuals (the squares of the differences between approximated and actual values).

edemaine@mit.edu