Learn R Programming

gwer (version 1.0)

Cnormal: Contaminated Normal Distribution

Description

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

Usage

Cnormal(parmt = stop("no epsi or sigma argument"))

Arguments

parmt

parameters vector (epsi, sigma).

Value

An object of class "family" for contaminated normal 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.fitCn <- elliptical(y ~ x1+x2+x3, family = Cnormal(c(1,.5))
,data=luz)
family(elliptical.fitCn)
# }

Run the code above in your browser using DataLab