moment2GH {param2moment} | R Documentation |
Solve Tukey
-&-
Parameters from Moments
Description
Solve Tukey -,
- and
-&-
distribution parameters
from mean, standard deviation, skewness and kurtosis.
Usage
moment2GH(mean = 0, sd = 1, skewness, kurtosis)
moment2GH_h_demo(sd = 1, kurtosis)
moment2GH_g_demo(mean = 0, sd = 1, skewness)
Arguments
mean |
numeric scalar, mean |
sd |
numeric scalar, standard deviation |
skewness |
numeric scalar |
kurtosis |
numeric scalar |
Details
Function moment2GH solves the
location , scale
, skewness
and elongation
parameters of Tukey
-&-
distribution,
from user-specified mean
(default 0), standard deviation
(default 1),
skewness and kurtosis.
An educational and demonstration function moment2GH_h_demo solves
parameters of Tukey
-distribution,
from user-specified
and kurtosis.
This is a non-skewed distribution, thus
the location parameter
, and the skewness parameter
.
An educational and demonstration function moment2GH_g_demo solves
parameters of Tukey
-distribution,
from user-specified
,
and skewness.
For this distribution, the elongation parameter
.
Value
Function moment2GH returns a length-4
numeric vector .
Function moment2GH_h_demo returns a length-2
numeric vector .
Function moment2GH_g_demo returns a length-3
numeric vector .
Examples
moment2GH(skewness = .2, kurtosis = .3)
moment2GH_h_demo(kurtosis = .3)
moment2GH_g_demo(skewness = .2)