s.gld.quantile {ldt}R Documentation

GLD Quantile Function

Description

This function calculates the quantiles of a Generalized Lambda Distribution (FKML).

Usage

s.gld.quantile(probs, p1, p2, p3, p4)

Arguments

probs

A numeric vector of probabilities.

p1

Numeric value representing the first parameter of the distribution (location of the distribution).

p2

Numeric value representing the second parameter of the distribution (scale of the distribution).

p3

Numeric value representing the third parameter of the distribution (skewness of the distribution).

p4

Numeric value representing the fourth parameter of the distribution (kurtosis of the distribution).

Details

It is a helper statistics method in this package and is generally used to plot density function of a GLD distribution. See the example of s.gld.density.quantile function for more details.

Value

A numeric vector representing the quantiles for each probability in probs.

See Also

s.gld.density.quantile

Examples

res = s.gld.quantile(c(0.1,0.5,0.95), 0,1,0,0) # standard normal distribution


[Package ldt version 0.5.2 Index]