Description Usage Arguments Details Value References See Also Examples
View source: R/Package_BasicSetting.r
Calculate the derivatives of Skewed Normal density with location
= 0 and
scale
= 1 when parameterized by shape
parameter. The probability density function (pdf) is a bivariate function, wrt. y
and a
.
The first and second derivatives are calculated.
1 | D.SN(y,a)
|
y |
vector or matrix of quantiles, taking values in the real line;
Missing values ( |
a |
vector or matrix of shape parameters, taking values in the real line;
should have the same dimension as |
In general, a skewed normal is parameterized
by three parameters (location, scale, shape
). It is referred as normalized
skewed normal
distribution in some cases when location
= 0 and
scale
= 1. A normalized skewed normal distribution with location
= 0 and
scale
= 1 has the density
f(x, a) = 2 φ(x) Φ(x * a),
where a
is the shape
parameter; here φ is the pdf of the standard normal distribution, and Φ
is the corresponding cdf. The function D.SN(x,a)
calculates the function value of f(x,a), along
with the first and second order derivatives.
A list with the following components
|
function value of f(x, a) |
|
the first derivative f'(x,a) wrt. |
|
the second derivative f''(x,a) wrt. |
|
the cross-partial f''(x,a) wrt. |
|
the first derivative f'(x,a) wrt. a |
|
the second derivative f''(x,a) wrt. a |
[1]. Azzalini, A. (1985). A class of distributions which includes the normal ones. Scandinavian Journal of Statistics, 171-178.
[2]. A very brief introduction to the skew-normal distribution
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.