Robust Moments for the GLD
dist-gldRobMoments.Rd
Computes the first four robust moments for the Generalized Lambda Distribution.
Usage
gldMED(lambda1 = 0, lambda2 = -1, lambda3 = -1/8, lambda4 = -1/8)
gldIQR(lambda1 = 0, lambda2 = -1, lambda3 = -1/8, lambda4 = -1/8)
gldSKEW(lambda1 = 0, lambda2 = -1, lambda3 = -1/8, lambda4 = -1/8)
gldKURT(lambda1 = 0, lambda2 = -1, lambda3 = -1/8, lambda4 = -1/8)
Value
a named numerical value. The name is
one of MED
, IQR
, SKEW
, or KURT
, obtained
by dropping the gld
prefix from the name of the corresponding
function.
Examples
## gldMED -
# Median:
gldMED(lambda1 = 0, lambda2 = -1, lambda3 = -1/8, lambda4 = -1/8)
#> MED
#> 0
## gldIQR -
# Inter-quartile Range:
gldIQR(lambda1 = 0, lambda2 = -1, lambda3 = -1/8, lambda4 = -1/8)
#> IQR
#> 0.3051849
## gldSKEW -
# Robust Skewness:
gldSKEW(lambda1 = 0, lambda2 = -1, lambda3 = -1/8, lambda4 = -1/8)
#> SKEW
#> 0
## gldKURT -
# Robust Kurtosis:
gldKURT(lambda1 = 0, lambda2 = -1, lambda3 = -1/8, lambda4 = -1/8)
#> KURT
#> 1.376754