ilai: Lai integrated hazard rate function

Description Usage Arguments Value Note Author(s) References Examples

View source: R/richards.R

Description

Computes the integrated hazard rate function of the Lai distribution

Usage

1
ilai(x, t = 1, lambda = 1, beta = 1, nu = 1)

Arguments

x

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

t

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

lambda

the value of lambda parameter, must be positive

beta

the value of beta parameter, must be non-negative but both beta and nu cannot be zero

nu

the value of nu parameter, must be non-negative but both beta and nu cannot be zero

Value

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

Note

If incorrect values or inconsistent lengths are input for x, t or the model parameters then NaNs will be returned as the output. This function uses the R contributed package hypergeo.

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=ilai(x)

ActuDistns documentation built on May 30, 2017, 1:28 a.m.

Related to ilai in ActuDistns...