\Header{glm.summaries}{Accessing Generalized Linear Model Fits}
\alias{anova.glm}{glm.summaries}
\methalias{anova.glm.null}{glm.summaries}
\alias{anova.glmlist}{glm.summaries}
\alias{coefficients.glm}{glm.summaries}
\alias{df.residual.glm}{glm.summaries}
\alias{family.glm}{glm.summaries}
\alias{fitted.values.glm}{glm.summaries}
\alias{print.glm}{glm.summaries}
\methalias{print.glm.null}{glm.summaries}
\alias{print.summary.glm}{glm.summaries}
\methalias{print.summary.glm.null}{glm.summaries}
\alias{residuals.glm}{glm.summaries}
\alias{summary.glm}{glm.summaries}
\methalias{summary.glm.null}{glm.summaries}
\keyword{models}{glm.summaries}
\keyword{regression}{glm.summaries}
\begin{Description}\relax
These functions are all \code{\Link{methods}} for class \code{glm} or
\code{summary.glm} and \code{anova.glm} objects.

\code{anova.glmlist} is called from \code{anova.glm} for comparison of
several \code{glm} models.\end{Description}
\begin{Usage}
\begin{verbatim}
summary(object, dispersion = NULL, correlation = FALSE, ...)
anova(object, dispersion = NULL, ..., test = NULL)
anova.glmlist(object, dispersion = NULL, test = NULL, ...)
coefficients(x) ; coef(x)
df.residual(x)
family(x)
fitted.values(x) ; fitted(x)
residuals(x, type = c("deviance", "pearson", "working",
                      "response", "partial"), ...)
print.summary(summary.glm.obj, digits = max(3, getOption("digits") - 3),
              na.print = "", symbolic.cor = p > 4,
              signif.stars = getOption("show.signif.stars"), ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object, x}] an object of class \code{glm}, typically the result of
a call to \code{\Link{glm}}.
\item[\code{dispersion}] the dispersion parameter for the fitting family.
By default it is obtained from \code{glm.obj}.
\item[\code{correlation}] logical; if \code{TRUE}, the correlation matrix of
the estimated parameters is returned and printed.
\item[\code{test}] a character string, matching one of \code{"Chisq"},
\code{"F"} or \code{"Cp"}. See \code{\Link{stat.anova}}.
\item[\code{type}] the type of residuals which should be returned.
The alternatives are: \code{"deviance"} (default), \code{"pearson"},
\code{"working"}, \code{"response"}, and \code{"partial"}.
\end{ldescription}
\end{Arguments}
\begin{Value}
The function \code{summary} can be used to obtain or print
a summary of the results and the function \code{anova}
and be used to produce and analysis of variance table.\end{Value}
\begin{Section}{Warning}
The comparison between two or more models by \code{anova} or
\code{anova.glmlist} will only be valid if they
are fitted to the same dataset. This may be a problem if there are
missing values and \R's default of \code{na.action = na.omit} is used.\end{Section}
\begin{SeeAlso}\relax
\code{\Link{glm}} for computing \code{glm.obj};
the corresponding \emph{generic} functions, \code{\Link{summary}},
\code{\Link{anova}}, \code{\Link{coefficients}}, \code{\Link{deviance}},
\code{\Link{effects}}, \code{\Link{fitted.values}}, \code{\Link{residuals}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## --- Continuing the Example from  ``?glm'':

summary(glm.D93)
anova(glm.D93)
anova(glm.D93, test = "Cp")
anova(glm.D93, test = "Chisq")
\end{ExampleCode}
\end{Examples}

