weighted residual regression model weighted regression weighted least squares weight weighted average distribution in r weighted residuals weighted regression formula r calculate average weight for weighted regression weight residuals weighted residual regression weighted regression formula for weighted residuals weighted regression weighting definition weighted residuals weighted weighted weighted least squares weighted range weighted regression weighting weighted weighted regression weighted residuals in graphs weighted regression weight weighted regression weighting definition weighted least squares weighted weighted least squares