A R6 class to represent a skew normal distribution.
xiGet or set the value of xi.
omegaGet or set the value of omega.
alphaGet or set the value of alpha.
new()New skew normal distribution.
SkewNormal$new(xi, omega, alpha)xilocation parameter
omegascale parameter, >0
alphashape parameter
A SkewNormal object.
d()Density function of the skew normal distribution.
SkewNormal$d(x)xnumeric vector
The density evaluated at x.
p()Cumulative distribution function of the skew normal distribution.
SkewNormal$p(q, lower = TRUE)qnumeric vector of quantiles
lowerBoolean, whether to deal with the lower tail
The cumulative probabilities corresponding to q.
pnumeric vector of probabilities
lowerBoolean, whether to deal with the lower tail
The quantiles corresponding to p.
r()Sampling from the skew normal distribution.
SkewNormal$r(n)nnumber of simulations
A numeric vector of length n.
The mean of the skew normal distribution.
The mode of the skew normal distribution.
The standard deviation of the skew normal distribution.
variance()Variance of the skew normal distribution.
SkewNormal$variance()The variance of the skew normal distribution.
skewness()Skewness of the skew normal distribution.
SkewNormal$skewness()The skewness of the skew normal distribution.
kurtosis()Kurtosis of the skew normal distribution.
SkewNormal$kurtosis()The kurtosis of the skew normal distribution.
kurtosisExcess()Kurtosis excess of the skew normal distribution.
SkewNormal$kurtosisExcess()The kurtosis excess of the skew normal distribution.
clone()The objects of this class are cloneable with this method.
SkewNormal$clone(deep = FALSE)deepWhether to make a deep clone.
See Wikipedia.