Re: [R] Cook's distance for least absolute deviation (lad) regressions

2022-03-21 Thread John Fox
Dear Kelly and Jim, On 2022-03-20 9:40 p.m., Jim Lemon wrote: 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

Re: [R] Cook's distance for least absolute deviation (lad) regressions

2022-03-20 Thread Jim Lemon
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"

[R] Cook's distance

2013-03-12 Thread kolos . agoston
Dear useRs, I have some trouble with the calculation of Cook's distance in R. The formula for Cook's distance can be found for example here: http://en.wikipedia.org/wiki/Cook%27s_distance I tried to apply it in R: y - (1:400)^2 x - 1:100 lm(y~x) - linmod # just for the sake of a simple

Re: [R] Cook's distance

2013-03-12 Thread John Fox
of Sociology McMaster University Hamilton, Ontario, Canada -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of kolos.agos...@gmx.net Sent: Tuesday, March 12, 2013 3:55 PM To: r-help@r-project.org Subject: [R] Cook's distance Dear

[R] Cook's distance for lme?

2012-05-11 Thread Beatriz De Francisco
Hi Is there any function that I can use to calculate Cook's distance for an lme? Beatriz de Francisco Mora PhD Student The Scottish Association for Marine Science Scottish Marine Institute Oban PA37 1QA Tel: 06131 559000 (switchboard) Fax: 01631559001 E.