tsum {hett} | R Documentation |
Summary function for the scale or location component of a heteroscedastic t model
Description
Summarizes the location or scale components of a heteroscedastic t model
Usage
tsum(object, dispersion = NULL, correlation = FALSE,
symbolic.cor = FALSE, ...)
## S3 method for class 'tsum'
print(x, digits = max(3, getOption("digits") - 3), symbolic.cor =
x$symbolic.cor, signif.stars = getOption("show.signif.stars"),
scale = TRUE, ...)
Arguments
object |
either the location or scale object created by fitting
a heteroscedastic t object with |
x |
an object of class " |
dispersion |
1 if summarizing the location model; 2 if summarizing the scale model (see Details) |
correlation |
logical; if |
digits |
the number of significant digits to be printed. |
symbolic.cor |
logical. If |
signif.stars |
logical. if |
scale |
logical. If |
... |
further arguments passed to or from other methods. |
Details
The argument supplied to dispersion
must be either 1
(location model) or 2 (scale model). The reason for this is because
the fitting of the model has already
scaled the covariance matrix for the location coefficients. Hence the
scaled and unscaled versions of covariance matrix for the location
model are identical.
This function will not be generally called by the user as it
will only summarize the location or scale model but not both. Instead
the user should refer to summary.tlm
to print a summary of both models.
Value
tsum
returns an object of class "tsum
", a list
with components
call |
the component from |
df.residual |
the component from |
coefficients |
the matrix of coefficients, standard errors, z-values and p-values |
dispersion |
the supplied dispersion argument |
df |
a 2-vector of the rank of the model and the number of residual degrees of freedom |
cov.unscaled |
the unscaled ( |
cov.scaled |
ditto, scaled by |
correlation |
(only if |
symbolic.cor |
(only if |
Author(s)
Julian Taylor
See Also
Examples
data(mm, package = "hett")
attach(mm)
tfit <- tlm(m.marietta ~ CRSP, ~ CRSP, data = mm, start = list(dof = 3),
estDof = TRUE)
tsum(tfit$loc.fit, dispersion = 1)