Returns a summary list for log-linear models fitted by
iterative proportional scaling using loglm
.
# S3 method for loglm
summary(object, fitted = FALSE, ...)
a list is returned for use by print.summary.loglm
.
This has components
the formula used to produce object
the table of test statistics (likelihood ratio, Pearson) for the fit.
if fitted = TRUE
, an array of the observed and expected frequencies,
otherwise NULL
.
a fitted loglm model object.
if TRUE
return observed and expected frequencies in the result.
Using fitted = TRUE
may necessitate re-fitting the object.
arguments to be passed to or from other methods.
This function is a method for the generic function
summary()
for class "loglm"
.
It can be invoked by calling summary(x)
for an
object x
of the appropriate class, or directly by
calling summary.loglm(x)
regardless of the
class of the object.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
loglm
, summary