cdfglo {lmom} | R Documentation |
Generalized logistic distribution
Description
Distribution function and quantile function of the generalized logistic distribution.
Usage
cdfglo(x, para = c(0, 1, 0))
quaglo(f, para = c(0, 1, 0))
Arguments
x |
Vector of quantiles. |
f |
Vector of probabilities. |
para |
Numeric vector containing the parameters of the distribution,
in the order |
Details
The generalized logistic distribution with
location parameter ,
scale parameter
and
shape parameter
has distribution function
where
with bounded by
from below if
and from above if
,
and quantile function
The logistic distribution is the special case .
Value
cdfglo
gives the distribution function;
quaglo
gives the quantile function.
Note
The functions expect the distribution parameters in a vector,
rather than as separate arguments as in the standard R
distribution functions pnorm
, qnorm
, etc.
See Also
cdfkap
for the kappa distribution,
which generalizes the generalized logistic distribution.
Examples
# Random sample from the generalized logistic distribution
# with parameters xi=0, alpha=1, k=-0.5.
quaglo(runif(100), c(0,1,-0.5))