Learn R Programming

sn (version 2.1.1)

SECdistrUv-class: Class "SECdistrUv"

Description

A class of objects representing univariate skew-elliptically contoured (SEC) distributions.

Arguments

Objects from the class

Objects can be created by a call to function makeSECdistr when its argument dp is a vector. They can also obtained from an object generated by selm using the function extractSEDdistr.

Slots

family:

a character string which selects the parametric family; currently, possible values are: "SN", "ESN", "ST", "SC".

dp:

a numeric vector of parameters; its length depends on the selected family.

name:

a character string with name of the distribution.

Methods

show

signature(object = "SECdistrUv"): ...

plot

signature(x = "SECdistrUv"): ...

summary

signature(object = "SECdistrUv"): ...

mean

signature(x = "SECdistrUv"): ...

sd

signature(object = "SECdistrUv"): ...

Author

Adelchi Azzalini

See Also

SECdistrMv, plot,SECdistrUv-method, summary,SECdistrUv-method, extractSECdistr

Examples

Run this code
f2 <- makeSECdistr(dp=c(3, 5, -pi, 6), family="ST", name="My first ST")
show(f2)
plot(f2)
plot(f2, probs=c(1,5,9)/10)
plot(f2, range=c(-30,10), probs=NULL, col=2, main=NULL)
summary(f2)
mean(f2)  # the mean value of the probability distribution
sd(f2)  # the standard deviation of the distribution  

Run the code above in your browser using DataLab