Learn R Programming

gwer (version 2.1)

anova.elliptical: Analysis of Deviance for Elliptical Model Fits

Description

Compute an analysis of deviance table for the fitted elliptical regression model.

Usage

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

Arguments

object

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

...

additional objects of the same type.

dispersion

the dispersion parameter for the fitting family. If is NULL (by default) is obtained from object.

test

a character string containing the hypothesis test considered. By default is used the chi-square test.

Value

Return an object of class “anova”. This object contain the analysis of deviance.

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, summary.elliptical, family.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, test = "Chisq")
# }

Run the code above in your browser using DataLab