在R中如何识别出一个简单线性回归模型的中具有最大Y值和最小Y值的那个点?如何识别出误差最大的点?
或者,谁会做weinsberg线性回归第三版的2.6那个问题吗?
2.6.7. Identify (1) the locality with the highest value of Fertility; (2) the
locality with the lowest value of Fertility; and (3) the two localities with the
largest positive residuals from the regression when both variables are in log
scale, and the two countries with the largest negative residuals in log scales.