Hi all,
I have some problems to compute the residuals from a glm model with
binomial distribution.
Suppose I have the following result :
resfit-glm(y~x1+x2,weights=we,family=binomial(link=logit))
Now I would like to obtain the residuals .
the command residuals(resfit) and the vector
You really need to look at ?glm and ?residuals.glm.
resfit$residuals are the *working* residuals, which are not typically
very useful in themselves. Far better to use the extractor function.
This enables you to obtain a number of different types of residuals,
but the default (and therefore the
On Thu, 22 Feb 2007, Martin Olivier wrote:
I have some problems to compute the residuals from a glm model with
binomial distribution.
Suppose I have the following result :
resfit-glm(y~x1+x2,weights=we,family=binomial(link=logit))
Now I would like to obtain the residuals . the command
David Barron wrote:
You really need to look at ?glm and ?residuals.glm.
resfit$residuals are the *working* residuals, which are not typically
very useful in themselves. Far better to use the extractor function.
This enables you to obtain a number of different types of residuals,
but the