hew: Exponentiated Weibull hazard rate function

Description Usage Arguments Value Note Author(s) References Examples

View source: R/richards.R

Description

Computes the hazard rate function of the exponentiated Weibull distribution

Usage

1
hew(x, alpha = 1, c = 1, lambda = 1)

Arguments

x

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

alpha

the value of alpha parameter, must be positive

c

the value of c 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

Note

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

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

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

Search within the ActuDistns package
Search all R packages, documentation and source code