I am writing a robust regression algorith in Python and using the linregress method from SciPy/NumPy. linregress returns the b0, b1, r^2, p_val, and standard error of the estimate.

I need to devise the standard error of the regression without looping through to add up the error terms. Is there a calculation that "translations" one or all of these results into the standard error of the regression?

I am writing a robust regression algorith in Python and using the linregress method from SciPy/NumPy. linregress returns the b0, b1, r^2, p_val, and standard error of the estimate.

I need to devise the standard error of the regression without looping through to add up the error terms. Is there a calculation that "translations" one or all of these results into the standard error of the regression?