Learn R Programming

gwer (version 1.0)

Student: t-Student Distribution

Description

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

Usage

Student(df = stop("no df argument"))

Arguments

df

degrees of freedom.

Value

An object of class "family" for 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.fitt <- elliptical(y ~ x1+x2+x3, family = Student(df=5)
,data=luz)
family(elliptical.fitt)
# }

Run the code above in your browser using DataLab