Skip to contents

Conditional quantile function for gamma distribution

Usage

qcond_gamma(rnd = 0.5, rate, shape, lower_bound = 0, s_obs)

Arguments

rnd

Vector of quantiles

rate

The rate parameter

shape

The shape parameter

lower_bound

The lower bound to be used (current time)

s_obs

is the survival observed up to lower_bound time, normally defined from time 0 as 1 - pgamma(q = lower_bound, rate, shape) but may be different if parametrization has changed previously

Value

Estimate(s) from the conditional gamma distribution based on given parameters

Examples

qcond_gamma(rnd = 0.5, rate = 1.06178, shape = 0.01108,lower_bound = 1, s_obs=0.8)
#> [1] 87.94889