moment2sn {param2moment} | R Documentation |
Solve Skew-Normal Parameters from Moments
Description
Solve skew-normal parameters from mean, standard deviation and skewness.
Usage
moment2sn(mean = 0, sd = 1, skewness)
Arguments
mean |
numeric scalar, mean |
sd |
numeric scalar, standard deviation |
skewness |
numeric scalar |
Details
Function moment2sn solves the
location \xi
, scale \omega
and slant \alpha
parameters
of skew-normal distribution,
from user-specified mean \mu
(default 0), standard deviation \sigma
(default 1) and
skewness.
Value
Function moment2sn returns a length-3
numeric vector (\xi, \omega, \alpha)
.
Examples
moment2sn(skewness = .3)
[Package param2moment version 0.1.2 Index]