glm.summaries             package:stats             R Documentation

Accessing Generalized Linear Model Fits

Description:

     These functions are all 'methods' for class 'glm' or 'summary.glm'
     objects.

Usage:

     ## S3 method for class 'glm':
     family(object, ...)

     ## S3 method for class 'glm':
     residuals(object, type = c("deviance", "pearson", "working",
                           "response", "partial"), ...)

Arguments:

  object: an object of class 'glm', typically the result of a call to
          'glm'.

    type: the type of residuals which should be returned. The
          alternatives are: '"deviance"' (default), '"pearson"',
          '"working"', '"response"', and '"partial"'.

     ...: further arguments passed to or from other methods.

Details:

     The references define the types of residuals: Davison & Snell is a
     good reference for the usages of each.

     The partial residuals are a matrix of working residuals, with each
     column formed by omitting a term from the model.

References:

     Davison, A. C. and Snell, E. J. (1991) _Residuals and
     diagnostics._  In: Statistical Theory and Modelling. In Honour of
     Sir David Cox, FRS, eds. Hinkley, D. V., Reid, N. and Snell, E.
     J., Chapman & Hall.

     Hastie, T. J. and Pregibon, D. (1992) _Generalized linear models._
     Chapter 6 of _Statistical Models in S_ eds J. M. Chambers and T.
     J. Hastie, Wadsworth & Brooks/Cole.

     McCullagh P. and Nelder, J. A. (1989) _Generalized Linear Models._
     London: Chapman and Hall.

See Also:

     'glm' for computing 'glm.obj', 'anova.glm'; the corresponding
     _generic_ functions, 'summary.glm', 'coef', 'deviance',
     'df.residual', 'effects', 'fitted', 'residuals'.

