Learn R Programming

hoa (version 2.1.2)

summary.rsm: Summary Method for Regression-Scale Models

Description

Returns a summary list for a fitted regression-scale model.

Usage

## S3 method for class 'rsm':
summary(object, correlation = FALSE, digits = NULL, \dots)

Arguments

object
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
correlation
logical argument. If TRUE, the correlation matrix for the coefficients is computed; default is TRUE.
digits
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.

Value

  • A list is returned with the following components:
  • coefficientsa 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.
  • dispersionthe value of the scale parameter used in the computations.
  • fixeda logical value. If TRUE, the scale parameter is known.
  • residualsthe response residuals.
  • cov.unscaledthe 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.
  • correlationthe computed correlation matrix for the coefficients in the model.
  • familythe entire family.rsm object used.
  • loglikthe computed log likelihood.
  • termsan object of mode expression and class term summarizing the formula.
  • dfthe number of degrees of freedom for the model and for the residuals.
  • iterthe number of IRLS iterations used to compute the estimates.
  • nasa logical vector indicating which, if any, coefficients are missing.
  • callan image of the call that produced the rsm object, but with the arguments all named and with the actual formula.
  • digitsthe value of the digits argument.

Details

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.

See Also

rsm.object, summary, rsm

Examples

Run this code
## 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