hrdiweibull {DiscreteInverseWeibull} | R Documentation |
Hazard rate function
Description
Hazard rate function for the discrete inverse Weibull distribution
Usage
hrdiweibull(x, q, beta)
Arguments
x |
a vector of values |
q |
the value of the |
beta |
the value of the |
Details
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}})
Value
the hazard rate function computed on the x
values
See Also
Examples
q<-0.5
beta<-2.5
x<-1:10
hrdiweibull(x, q, beta)
[Package DiscreteInverseWeibull version 1.0.2 Index]