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 \mu, default value 0

sd

numeric scalar, standard deviation \sigma, default value 1

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]