Learn R Programming

ldt (version 0.5.3)

s.gld.quantile: GLD Quantile Function

Description

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

Usage

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

Value

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

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.

See Also

s.gld.density.quantile

Examples

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

Run the code above in your browser using DataLab