log_logLogistic {bayesCureRateModel}R Documentation

PDF and CDF of the log-Logistic distribution.

Description

The log-Logistic distribution as evaluated at the flexsurv package.

Usage

log_logLogistic(y, a1, a2, c_under = 1e-09)

Arguments

y

observed data

a1

shape parameter

a2

scale parameter

c_under

A small positive value corresponding to the underflow threshold, e.g. c_under = 1e-9.

Details

The log-logistic distribution is the probability distribution of a random variable whose logarithm has a logistic distribution.

Value

A list containing the following entries

log_f

natural logarithm of the pdf, evaluated at each datapoint.

log_F

natural logarithm of the CDF, evaluated at each datapoint.

Author(s)

Panagiotis Papastamoulis

References

Christopher Jackson (2016). flexsurv: A Platform for Parametric Survival Modeling in R. Journal of Statistical Software, 70(8), 1-33. doi:10.18637/jss.v070.i08

See Also

dllogis

Examples

log_logLogistic(y = 1:10, a1 = 1, a2 = 1, c_under = 1e-9)

[Package bayesCureRateModel version 1.1 Index]