Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ActuDistns (version 2.0)

qgammad: Gamma quantile function

Description

Computes the quantile function of the gamma distribution

Usage

qgammad(x, u = 0.5, alpha = 1, lambda = 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
lambda
the value of lambda parameter, must be positive

Value

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

References

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

Examples

Run this code
x=runif(10,min=2,max=3)
y=qgammad(x)

Run the code above in your browser using DataLab