Learn R Programming

gwer (version 1.0)

Gstudent: Generalized Student Distribution

Description

Family objects for generalized student distribution provide a convenient way to specify the details of the models used by functions such as elliptical.

Usage

Gstudent(parm = stop("no s or r argument"))

Arguments

parm

parameter vector (s, r) for this distribuition.

Value

An object of class "family" for generalized student 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

family.elliptical, 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.fitGs <- elliptical(y ~ x1+x2+x3, family = Gstudent(c(1,1))
,data=luz)
family(elliptical.fitGs)
# }

Run the code above in your browser using DataLab