fBasics (version 4032.96)

sampleRobMoments: Robust moments for the GLD

Description

Computes the first four robust moments for the Normal Inverse Gaussian Distribution.

Usage

sampleMED(x)
sampleIQR(x)
sampleSKEW(x)
sampleKURT(x)

Value

a named numerical value. The name is one of MED, IQR,

SKEW, or KURT, obtained by dropping the sample prefix from the name of the corresponding function.

Arguments

x

numeric vector, the sample values.

Author

Diethelm Wuertz

Examples

Run this code
## Sample:
   x = rt(100, 4)
   
## sampleMED -
   # Median:
   sampleMED(x)
 
## sampleIQR - 
   # Inter-quartile Range:
   sampleIQR(x)
 
## sampleSKEW -  
   # Robust Skewness:
   sampleSKEW(x)
   
## sampleKURT -
   # Robust Kurtosis:
   sampleKURT(x)

Run the code above in your browser using DataLab