Kelly Thompson
2022-Mar-21 00:56 UTC
[R] Cook's distance for least absolute deviation (lad) regressions
I'm wanting to calculate Cook's distance for least absolute deviation (lad) regressions. Which R packages and functions offer this? Thanks!
Jim Lemon
2022-Mar-21 01:40 UTC
[R] Cook's distance for least absolute deviation (lad) regressions
Hi Kelly, Perhaps the best place to look is the "car" package. There is a somewhat confusing reference in the "cookd" function help page to the "cooks.distance" function in the "base" package that doesn't seem to be there. Whether this is the case or not, I think you can still use the "cookd" alias. Jim On Mon, Mar 21, 2022 at 11:57 AM Kelly Thompson <kt1572757 at gmail.com> wrote:> > I'm wanting to calculate Cook's distance for least absolute deviation > (lad) regressions. > > Which R packages and functions offer this? > > Thanks! > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.