hrdiweibull: Hazard rate function

Description Usage Arguments Details Value See Also Examples

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)


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.