Learn R Programming

gwer (version 1.0)

anova.elliptical: Analysis of Deviance for Elliptical Model Fits

Description

Compute an analysis of deviance table for one or more elliptical model fits.

Usage

# S3 method for elliptical
anova(object, dispersion = NULL,
  test = c("Chisq"), ...)

Arguments

object

fit object for elliptical regression model.

dispersion

the dispersion parameter for the fitting family, by default obtained from object.

test

a character string representing that hypothesis test should be considered.

...

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

Value

An object of class anova inheriting from class data.frame

References

Cysneiros, F. J. A., Paula, G. A., and Galea, M. (2007). Heteroscedastic symmetrical linear models. Statistics & probability letters, 77(11), 1084-1090. https://doi.org/10.1016/j.spl.2007.01.012

See Also

elliptical

Examples

Run this code
# NOT RUN {
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)
anova(elliptical.fitt)
# }

Run the code above in your browser using DataLab