Skip to content
Prev 53902 / 63424 Next

Wrongly converging glm()

On Thu, Jul 20, 2017 at 8:32 PM, Harm-Jan Westra <westra.harmjan at outlook.com
I get that now. But you're on R-devel and you started with the claim that R
"falsely reports...". That looks like a bug report, and that's why I
initially answered that R correctly reports it converged. Maybe to the
wrong value, but it converged.
The unfitness of the data bears no relation to the convergence criterium
and vice versa. These data checks should be done before the convergence
algorithm is even started, and as Mark Leeds also indicated, that's one
hell of a job to do. That said, the glm function has an argument "method"
by which you can provide an alternative version of glm.fit().  Adapting
that one to use another convergence criterium is rather trivial, so
technically R even allows you to do that out of the box. No patches needed.
That's a wrong analogy imho. You can expect Linux to be user friendly, but
not "I will detect every logical fallacy in the article you're writing in
this text editor" friendly. And honestly, that's a bit what you're asking R
to do here. I understand why, but there's always cases that will be missed.
And I wouldn't dare to speak in the name of the R core team, but I can
imagine they have a little more urgent issues than helping my students to
pass their statistics course ;-)

Cheers
Joris
Message-ID: <CAO1zAVagjJ9kJ1dwoENXwkRi7OMFvt2e73vJyrnCBzq06Pkr_A@mail.gmail.com>
In-Reply-To: <DM3PR20MB05728541A9D1DD21D3354C0887A70@DM3PR20MB0572.namprd20.prod.outlook.com>