Reparameterised skew normal distribution
skewnorm2.RdDensity, distribution function, quantile function and random generation for the skew normal distribution reparameterised in terms of mean, standard deviation and skew magnitude
Usage
dskewnorm2(x, mean = 0, sd = 1, alpha = 0, log = FALSE)
pskewnorm2(q, mean = 0, sd = 1, alpha = 0, ...)
qskewnorm2(p, mean = 0, sd = 1, alpha = 0, ...)
rskewnorm2(n, mean = 0, sd = 1, alpha = 0)Arguments
- x, q
vector of quantiles
- mean
mean parameter
- sd
standard deviation, 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 random values to return
Value
dskewnorm2 gives the density, pskewnorm2 gives the distribution function, qskewnorm2 gives the quantile function, and rskewnorm2 generates random deviates.