A R6 class to represent a skew normal distribution.
xi
Get or set the value of xi
.
omega
Get or set the value of omega
.
alpha
Get or set the value of alpha
.
new()
New skew normal distribution.
SkewNormal$new(xi, omega, alpha)
xi
location parameter
omega
scale parameter, >0
alpha
shape parameter
A SkewNormal
object.
d()
Density function of the skew normal distribution.
SkewNormal$d(x)
x
numeric vector
The density evaluated at x
.
p()
Cumulative distribution function of the skew normal distribution.
SkewNormal$p(q, lower = TRUE)
q
numeric vector of quantiles
lower
Boolean, whether to deal with the lower tail
The cumulative probabilities corresponding to q
.
p
numeric vector of probabilities
lower
Boolean, whether to deal with the lower tail
The quantiles corresponding to p
.
r()
Sampling from the skew normal distribution.
SkewNormal$r(n)
n
number 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)
deep
Whether to make a deep clone.
See Wikipedia.