Hazard rate function

Share:

Description

Hazard rate function for the discrete inverse Weibull distribution

Usage

1

Arguments

x

a vector of values

q

the value of the q parameter

beta

the value of the β parameter

Details

The hazard rate function is defined as r(x)=P(X=x)/P(X≥ x)=(q^{x^{-β}}-q^{(x-1)^{-β}})/(1-q^{(x-1)^{-β}})

Value

the hazard rate function computed on the x values

See Also

ahrdiweibull

Examples

1
2
3
4
q<-0.5
beta<-2.5
x<-1:10
hrdiweibull(x, q, beta)