ahrdiweibull {DiscreteInverseWeibull}R Documentation

Alternative hazard rate function

Description

Alternative hazard rate function for the discrete inverse Weibull distribution

Usage

ahrdiweibull(x, q, beta)

Arguments

x

a vector of values

q

the value of the q parameter

beta

the value of the \beta parameter

Details

The alternative hazard rate function is defined as h(x)=\log(P(X>x-1)/P(X>x))=\log[(1-q^{(x-1)^{-\beta}})/(1-q^{x^{-\beta}})]

Value

the value of the alternative hazard rate function in the x values

See Also

hrdiweibull

Examples

q<-0.5
beta<-2
x<-1:10
y<-ahrdiweibull(x, q, beta)
y
plot(x,y,ylab="alt.hazard rate")

[Package DiscreteInverseWeibull version 1.0.2 Index]