Heather.Turner at warwick.ac.uk
2008-May-14 10:50 UTC
[Rd] Cook's Distance in GLM (PR#9316)
Well I suppose a warning's not going to hurt. Even in a case like the occupationalStatus example where you know some points have been fitted exactly, it might be useful to be reminded that the standardised residuals for these points are then NaN and cannot be displayed. Of course when you don't know in advance that this issue will arise, there is even more reason to give a warning. So I say add the warning, Heather Martin B. Maechler wrote:> Thank you, Heather, > I've committed a version of your patch (which also works when h_ii ~= 1). > > BTW, when re-reading the code and previous postings about it, > I've been convinced _ again _ that the function *should* warn when points with > h_ii ~= 1 are suppressed. > That latter change is not yet committed. > > Martin Maechler, ETH Zurich-- Dr H Turner Research Fellow Dept. of Statistics The University of Warwick Coventry CV4 7AL Tel: 024 76575870 Fax: 024 76524532 Url: www.warwick.ac.uk/go/heatherturner