powered by
Computes deviance and Pearson residuals for blim objects.
blim
# S3 method for blim residuals(object, type = c("deviance", "pearson"), ...)
A named vector of residuals having as many elements as response patterns.
an object of class blim, typically the result of a call to blim.
the type of residuals which should be returned; the alternatives are: "deviance" (default) and "pearson".
"deviance"
"pearson"
further arguments passed to or from other methods. None are used in this method.
See residuals.glm for details.
residuals.glm
blim, residuals.glm, plot.blim.
plot.blim
data(DoignonFalmagne7) blim1 <- blim(DoignonFalmagne7$K, DoignonFalmagne7$N.R) sum( resid(blim1)^2 ) # likelihood ratio G2 sum( resid(blim1, "pearson")^2 ) # Pearson X2
Run the code above in your browser using DataLab