Distribution function and quantile function
of the exponential distribution.
Usage
cdfexp(x, para = c(0, 1))
quaexp(f, para = c(0, 1))
Arguments
x
Vector of quantiles.
f
Vector of probabilities.
para
Numeric vector containing the parameters of the distribution,
in the order $\xi, \alpha$ (location, scale).
Value
cdfexp gives the distribution function;
quaexp gives the quantile function.
Details
The exponential distribution with parameters
$\xi$ (lower bound) and $\alpha$ (mean)
has distribution function
$$F(x)=1-\exp(-(x-\xi)/\alpha)$$
for $x\ge0$, and quantile function
$$x(F)=\xi-\alpha\log(1-F).$$
See Also
pexp for the standard Rversion of the exponential distribution.
cdfgam for the gamma distribution,
cdfgpa for the generalized Pareto distribution,
cdfkap for the kappa distribution,
cdfpe3 for the Pearson type III distribution,
and cdfwak for the Wakeby distribution,
all of which generalize the exponential distribution.