Returns a summary list for a fitted regression-scale model.
# S3 method for rsm
summary(object, correlation = FALSE, digits = NULL, …)
a fitted rsm
object. This is assumed to be the result of
some fit that produces an object inheriting from the class
rsm
, in the sense that the components returned by the
rsm
function will be available.
logical argument. If TRUE
, the correlation matrix for the
coefficients is computed; default is TRUE
.
a non-null value specifies the minimum number of significant
digits to be printed in values. If NULL
, the value of
digits
set by options
is used.
absorbs any additional argument.
A list is returned with the following components:
a matrix with four columns, containing the coefficients, their standard errors, the \(z\)-values (or Wald statistics) and the associated \(p\)-values based on the standard normal approximation to the distribution of the \(z\) statistic.
the value of the scale parameter used in the computations.
a logical value. If TRUE
, the scale parameter is known.
the response residuals.
the unscaled covariance matrix, i.e, a matrix such that multiplying it by the squared scale parameter, or an estimate thereof, produces an estimated (asymptotic) covariance matrix for the coefficients.
the computed correlation matrix for the coefficients in the model.
the entire family.rsm
object used.
the computed log likelihood.
an object of mode expression
and class term
summarizing the formula.
the number of degrees of freedom for the model and for the residuals.
the number of IRLS iterations used to compute the estimates.
a logical vector indicating which, if any, coefficients are missing.
an image of the call that produced the rsm
object, but
with the arguments all named and with the actual formula.
the value of the digits
argument.
This function is a method for the generic function
summary()
for class rsm
. It can be invoked by
calling summary
for an object of the appropriate class, or
directly by calling summary.rsm
regardless of the class of
the object.
# NOT RUN {
## House Price Data
data(houses)
houses.rsm <- rsm(price ~ ., family = student(5), data = houses)
summary(houses.rsm)
# }
Run the code above in your browser using DataLab