hrdiweibull {DiscreteInverseWeibull} | R Documentation |
Hazard rate function for the discrete inverse Weibull distribution
hrdiweibull(x, q, beta)
x |
a vector of values |
q |
the value of the |
beta |
the value of the |
The hazard rate function is defined as r(x)=P(X=x)/P(X\ge x)=(q^{x^{-\beta}}-q^{(x-1)^{-\beta}})/(1-q^{(x-1)^{-\beta}})
the hazard rate function computed on the x
values
q<-0.5
beta<-2.5
x<-1:10
hrdiweibull(x, q, beta)