residuals.elliptical: Extract Residuals for Elliptical Regression Model Fits

Description Usage Arguments Value References See Also Examples

Description

This function compute different types of residuals to the fitted elliptical regression model.

Usage

1
2
3
4
5
6
## S3 method for class 'elliptical'
residuals(
  object,
  type = c("stand", "ordinal", "response", "pearson", "desvio"),
  ...
)

Arguments

object

an object with the result of the fitted elliptical regression model.

type

a character string that indicates the type of residuals. If is stand will be computed the standard residuals. If is ordinal will be computed the ordinal residuals. If is response will be computed the response residuals. If is pearson will be computed the Pearson residuals. If is desvio will be computed the desviance residuals.

...

arguments to be used to form the default control argument if it is not supplied directly.

Value

Residuals of the specific type extracted from the object.

References

Galea, M., Paula, G. A., and Cysneiros, F. J. A. (2005). On diagnostics in symmetrical nonlinear models. Statistics & Probability Letters, 73(4), 459-467. doi: 10.1016/j.spl.2005.04.033

See Also

residuals, elliptical, family.elliptical

Examples

1
2
3
4
5
6
7
8
9
data(luzdat)
y <- luzdat$y
x1 <- luzdat$x1 ; x1 <- factor(x1) ; x1 <- C(x1,treatment)
x2 <- luzdat$x2
x3 <- (luzdat$x2)^2
luz <- data.frame(y,x1,x2,x3)
elliptical.fitt <- elliptical(y ~ x1+x2+x3, family = Student(df=5)
,data=luz)
residuals(elliptical.fitt, type = "stand")

gwer documentation built on April 28, 2021, 9:07 a.m.