weib_hazards {success} | R Documentation |
Weibull hazard, cumulative hazard and inverse cumulative hazard
Description
Functions which return the hazard, cumulative
hazard and inverse cumulative hazard at time t for a Weibull distribution
with shape parameter , scale parameter
and true hazard ratio
.
Usage
haz_weib(t, lambda, theta, mu = log(1))
chaz_weib(t, lambda, theta, mu = log(1))
inv_chaz_weib(t, lambda, theta, mu = log(1))
Arguments
t |
time of evaluation. |
lambda |
shape parameter |
theta |
scale parameter |
mu |
(optional) true excess hazard rate |
Details
The hazard function of a Weibull distribution is given by:
The cumulative hazard (with true hazard ratio ) is given by:
The inverse cumulative hazard (with true hazard ratio ) by:
Value
Value of specified function at time .
[Package success version 1.1.0 Index]