qpwe {PWEALL} | R Documentation |
Piecewise exponential distribution: quantile function
Description
This will provide the quantile function of the specified piecewise exponential distribution
Usage
qpwe(p=seq(0,1,by=0.1),rate=c(0,5,0.8),tchange=c(0,3))
Arguments
p |
a vector of probabilities |
rate |
piecewise constant event rate |
tchange |
time points at which event rate changes. This must be an strictly increasing sequence starting from zero. rate and tchange must have the same length. |
Details
More details
Value
q |
quantiles |
Note
This provides the quantile function related to the piecewise exponetial distribution
Author(s)
Xiaodong Luo
References
Luo, et al. (2017)
See Also
piecewise exponential
Examples
p<-seq(0,1,by=0.1)
rate<-c(0.6,0.3)
tchange<-c(0,1.75)
pweq<-qpwe(p=p,rate=rate,tchange=tchange)
pweq
[Package PWEALL version 1.3.0.1 Index]