Learn R Programming

gwer (version 1.0)

family.elliptical: Family Objects for Elliptical Models

Description

Family objects provide a convenient way to specify the details of the models used by functions such as elliptical. See the documentation for elliptical or egwr for the details on how such model fitting takes place.

Usage

# S3 method for elliptical
family(object, ...)

Arguments

object

fit object for elliptical regression model.

...

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

Value

An object of class "family" (which has a concise print method). This is a list with elements:

family

character: the family name.

g0, g1, g2, g3, g4, g5

derived fuctions associated with the distribution family defined.

df

degree of freedom for t-student distribution.

s, r

shape parameters for generalized t-student distribution.

alpha

shape parameter for contaminated normal and generalized logistic distributions.

mp

shape parameter for generalized logistic distribution.

epsi

dispersion parameter for contaminated normal distribution.

sigmap

dispersion parameter for contaminated normal distribution.

k

shape parameter for power exponential distribution.

References

Fang, K. T., Kotz, S. and NG, K. W. (1990, ISBN:9781315897943). Symmetric Multivariate and Related Distributions. London: Chapman and Hall.

See Also

elliptical, gwer

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 = Normal()
,data=luz)
family(elliptical.fitt)
# }

Run the code above in your browser using DataLab