Exponential quantile function

Description

Computes the quantile function of the exponential distribution

Usage

1
qexponential(x, u = 0.5, alpha = 1)

Arguments

x

scale or vector of positive values at which the integrated hazard rate function needs to be computed

u

scale or vector of positive values at which the integrated hazard rate function needs to be computed, must be of the same length as x

alpha

the value of alpha parameter, must be positive

Value

An object of the same length as x, giving the hazard rate function values computed at x and u

Note

If incorrect values or inconsistent lengths are input for x, u or the model parameters then NaNs will be returned as the output.

Author(s)

Saralees Nadarajah

References

S. Nadarajah, S. A. A. Bakar, Tabulations of survival models for actuarial use, submitted

Examples

1
2
x=runif(10,min=0,max=1)
y=qexponential(x)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.