View source: R/Distributions.R
desn | R Documentation |
Density function, distribution function for the univariate extended skew-normal (ESN) distribution.
desn(x, location = 0, scale = 1, shape = 0, extended = 0)
pesn(x, location = 0, scale = 1, shape = 0, extended = 0)
x |
quantile. |
location |
location parameter. |
scale |
scale parameter; must be positive. |
shape |
skewness parameter. |
extended |
extension parameter. |
density (desn
), probability (pesn
) from the extended skew-normal distribution with given
location
, scale
, shape
and extended
parameters or from the skew-normal if extended = 0
.
If shape = 0
and extended = 0
then the normal distribution is recovered.
Simone Padoan, simone.padoan@unibocconi.it, https://faculty.unibocconi.it/simonepadoan/; Boris Beranger, borisberanger@gmail.com https://www.borisberanger.com;
Azzalini, A. (1985). A class of distributions which includes the normal ones. Scand. J. Statist. 12, 171-178.
Azzalini, A. with the collaboration of Capitanio, A. (2014). The Skew-Normal and Related Families. Cambridge University Press, IMS Monographs series.
dens1 <- desn(x = 1, shape = 3, extended = 2)
dens2 <- desn(x = 1, shape = 3)
dens3 <- desn(x = 1)
dens4 <- dnorm(x = 1)
prob1 <- pesn(x = 1, shape = 3, extended = 2)
prob2 <- pesn(x = 1, shape = 3)
prob3 <- pesn(x = 1)
prob4 <- pnorm(q = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.