Skew normal distribution
skewnorm.RdDensity, distribution function, quantile function and random generation for the skew normal distribution.
Usage
dskewnorm(x, xi = 0, omega = 1, alpha = 0, log = FALSE)
pskewnorm(q, xi = 0, omega = 1, alpha = 0, ...)
qskewnorm(p, xi = 0, omega = 1, alpha = 0, ...)
rskewnorm(n, xi = 0, omega = 1, alpha = 0)Arguments
- x, q
vector of quantiles
- xi
location parameter
- omega
scale parameter, must be positive.
- alpha
skewness parameter, +/-
Infis allowed.- log
logical; if
TRUE, probabilities/ densities \(p\) are returned as \(\log(p)\).- ...
additional parameters to be passed to the
snpackage functions forpskewnormandqskewnorm.- p
vector of probabilities
- n
number of observations. If
length(n) > 1, the length is taken to be the number required.
Value
dskewnorm gives the density, pskewnorm gives the distribution function, qskewnorm gives the quantile function, and rskewnorm generates random deviates.