| summary.glm {stats} | R Documentation |
Summarizing Generalized Linear Model Fits
Description
These functions are all methods for class glm or
summary.glm objects.
Usage
## S3 method for class 'glm'
summary(object, dispersion = NULL, correlation = FALSE,
symbolic.cor = FALSE, ...)
## S3 method for class 'summary.glm'
print(x, digits = max(3, getOption("digits") - 3),
symbolic.cor = x$symbolic.cor,
signif.stars = getOption("show.signif.stars"), ...)
Arguments
object |
an object of class |
x |
an object of class |
dispersion |
the dispersion parameter for the fitting family.
By default it is obtained from |
correlation |
logical; if |
digits |
the number of significant digits to use when printing. |
symbolic.cor |
logical. If |
signif.stars |
logical. If |
... |
further arguments passed to or from other methods. |
Details
print.summary.glm tries to be smart about formatting the
coefficients, standard errors, etc. and additionally gives
“significance stars” if signif.stars is TRUE.
Aliased coefficients are omitted in the returned object but (as from R
1.8.0) restored by the print method.
Correlations are printed to two decimal places (or symbolically): to
see the actual correlations print summary(object)$correlation
directly.
Value
summary.glm returns an object of class "summary.glm", a
list with components
call |
the component from |
family |
the component from |
deviance |
the component from |
contrasts |
the component from |
df.residual |
the component from |
null.deviance |
the component from |
df.null |
the component from |
deviance.resid |
the deviance residuals:
see |
coefficients |
the matrix of coefficients, standard errors, z-values and p-values. Aliased coefficients are omitted. |
aliased |
named logical vector showing if the original coefficients are aliased. |
dispersion |
either the supplied argument or the estimated
dispersion if the latter in |
df |
a 3-vector of the rank of the model and the number of residual degrees of freedom, plus number of non-aliased coefficients. |
cov.unscaled |
the unscaled ( |
cov.scaled |
ditto, scaled by |
correlation |
(only if |
symbolic.cor |
(only if |
See Also
glm, summary.
Examples
## --- Continuing the Example from '?glm':%\code{\link{glm}}:
summary(glm.D93)