Re: [R] question about glm behavior

2007-11-13 Thread Emmanuel Charpentier
Yip a écrit : > Hello, > > I was trying a glm fitting (as shown below) and I got a warning and a fitted > residual deviance larger than the null deviance. Is this the expected > behavor of glm? I would expect that even though the warning might be > warranted I should not get worse fitting with an

Re: [R] question about glm behavior

2007-11-13 Thread Prof Brian Ripley
On Tue, 13 Nov 2007, Yip wrote: > I was trying a glm fitting (as shown below) and I got a warning and a > fitted residual deviance larger than the null deviance. Is this the > expected behavor of glm? It can be. One of two things is going on here: A) There is complete separation between the c

[R] question about glm behavior

2007-11-13 Thread Yip
Hello, I was trying a glm fitting (as shown below) and I got a warning and a fitted residual deviance larger than the null deviance. Is this the expected behavor of glm? I would expect that even though the warning might be warranted I should not get worse fitting with an additional covariate in t