s.gld.density.quantile {ldt} | R Documentation |
GLD Density-Quantile Function
Description
This function calculates the densities of a Generalized Lambda Distribution (FKLM) given a vector of probabilities.
Usage
s.gld.density.quantile(probs, p1, p2, p3, p4)
Arguments
probs |
A numeric vector representing the probabilities. |
p1 |
Numeric value representing the first parameter (location) of the distribution. |
p2 |
Numeric value representing the second parameter (scale) of the distribution. |
p3 |
Numeric value representing the third parameter (skewness) of the distribution. |
p4 |
Numeric value representing the fourth parameter (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.
Value
A numeric vector representing the densities for each probability in probs
.
See Also
Examples
# In this example we use this function and plot the density function for
# standard normal distribution:
probs <- seq(0.1,0.9,0.1)
x <- s.gld.quantile(probs, 0,1,0,0)
y <- s.gld.density.quantile(probs, 0,1,0,0)
plot(x,y)
lines(x,y)
[Package ldt version 0.5.3 Index]