October 2017
Beginner to intermediate
572 pages
26h 1m
English
To see the effect of how an outlier can move the regression line away from the mainstream, you may replace the rlm function used in this recipe with lm, and replot the graph:
> plot(Quartet$x, Quartet$y3) > lmfit = lm(Quartet$y3~Quartet$x) > abline(lmfit, col="red")

It is obvious that outlier (x=13) moves the regression line away from the mainstream.
Read now
Unlock full access