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