Difference between revisions of "Snormpdf.m"
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
p=snormpdf(x,mu,sigma,alpha) | p=snormpdf(x,mu,sigma,alpha) | ||
| − | == | + | ==Parameters== |
x - an array of real numbers | x - an array of real numbers | ||
Revision as of 17:52, 5 June 2026
Azzalini's skew normal distribution (Equation 2 in http://www.jstor.org/stable/4615982).
Syntax
p=snormpdf(x,mu,sigma,alpha)
Parameters
x - an array of real numbers mu - expectation value of the normal distribution sigma - standard deviation of the normal distribution alpha - skew factor, a real number
Outputs
p - an array of probability densities,
same shape as x
Examples
Below is the plot of the skew normal distribution with a mean of 2, standard deviation of 1, and the skew of 20.
See also
apodisation.m, expdrop.m, gaussfun.m, lorentzfun.m
Version 2.2, authors: Ilya Kuprov
