ahrdiweibull: Alternative hazard rate function

Description Usage Arguments Details Value See Also Examples

Description

Alternative 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 alternative hazard rate function is defined as h(x)=\log(P(X>x-1)/P(X>x))=\log[(1-q^{(x-1)^{-β}})/(1-q^{x^{-β}})]

Value

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

See Also

hrdiweibull

Examples

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

DiscreteInverseWeibull documentation built on May 2, 2019, 4:20 a.m.