Given the beta coefficients from a linear regression, and X and Y values, returns a range that lazily computes the residuals.
See Implementation
Given the beta coefficients from a linear regression, and X and Y values, returns a range that lazily computes the residuals.