drsgld {gb} | R Documentation |
To compute the density, distribution, quantile, and to generate random sample for RS-GLD.
## Default S3 method: drsgld(x,lambda) prsgld(x,lambda) qrsgld(p,lambda) rrsgld(n,lambda)
x |
a numeric value or a vector. |
p |
a probability or a vector of probabilities. |
n |
sample size. |
lambda |
a vector of four parameters for RS-GLD. |
B. Wang bwang@jaguar1.usouthal.edu
Karian, Z.A., Dudewicz, E.J., McDonald, P., 1996. The Extended Generalized Lambda Distribution System for Fitting Distributions to Data: history,completion of theory, tables, applications, the “final word” on moment fits, Comm. in Statist.- Simul. \& Comput. 25(3), 611-642.
Karian, Z.A., Dudewicz, E.J., 2000. Fitting Statistical Distributions: The Generalized Lambda Distribution and Generalized Bootstrap Methods, Chapman and Hall/CRC.
fit.gld
,
qegld
,pegld
,
regld
,degld
.
lambdas = c(0, 0.1975, 0.1349,0.1349) qrsgld(c(0,.1,.5,.7,1),lambdas) prsgld(c(-10,0,1,3,20),lambdas) drsgld(c(-10,0,1,3,20),lambdas) x = sort(rrsgld(100,lambdas)) plot(dnorm(x)~x,type='l') lines(drsgld(x,lambdas)~x,lty=2,col=2) lines(density(x),col=4,lty=3)