[R] detect outliers and high levarage points
stephen sefick
ssefick at gmail.com
Wed Mar 4 00:59:02 CET 2009
if you
plot(model)
one of the graphs should be leverage. I imagine if you str(model) you
can probably pull out the leverage part of the model and just plot
that.
Stephen Sefick
On Tue, Mar 3, 2009 at 5:36 PM, choonhong ang <angie.bearman at gmail.com> wrote:
> Hi friends,
>
> How to detect outliers and high leverage points for GLM ?
>
> Could I use plot(model)
> (i) "Residuals vs Fitted" graph to detect the outliers ?
> (ii) "Residuals vs Leverage" graph to detect the high leverage points ?
> And then remove those points from the data and re-run the model ?
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis
More information about the R-help
mailing list