Description Usage Arguments Author(s) See Also Examples
These functions provide information about the skew Laplace distribution
with location parameter equal to m
, dispersion equal to
s
, and skew equal to f
: log hazard.
(See 'rmutil' for the d/p/q/r boxcox functions density,
cumulative distribution, quantiles, and random generation).
For f=1
, this is an ordinary (symmetric) Laplace distribution.
The skew Laplace distribution has density
f(y) = f*exp(-f*(y-m)/s)/((1+f^2)*s)
if y>=m and else
f(y) = f*exp((y-m)/(f*s))/((1+f^2)*s)
where m is the location parameter of the distribution, s is the dispersion, and f is the skew.
The mean is given by m + (s * (1 - f^2)) / (sqrt(2) * f) and the variance by (s^2 * (1 + f^4)) / (2 * f^2).
Note that this parametrization of the skew (family) parameter is different than that used for the multivariate skew Laplace distribution in 'growth::elliptic'.
1 | hskewlaplace(y, m=0, s=1, f=1)
|
y |
vector of responses. |
m |
vector of location parameters. |
s |
vector of dispersion parameters. |
f |
vector of skew parameters. |
J.K. Lindsey
dexp
for the exponential distribution,
dcauchy
for the Cauchy distribution, and
dlaplace
for the Laplace distribution.
1 | hskewlaplace(5, 2, 1, 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.