
Last chance! 50% off unlimited learning
Sale ends in
Compute an analysis of deviance table for the fitted elliptical regression model.
# S3 method for elliptical
anova(object, ..., dispersion = NULL, test = c("Chisq"))
an object with the result of the fitted elliptical regression model.
additional objects of the same type.
the dispersion parameter for the fitting family. If is NULL
(by default) is obtained from object.
a character string containing the hypothesis test considered. By default is used the chi-square test.
Return an object of class “anova”. This object contain the analysis of deviance.
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
# 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