log_lomax: PDF and CDF of the Lomax distribution

View source: R/bayesian_cure_rate_model.R

log_lomaxR Documentation

PDF and CDF of the Lomax distribution

Description

The Lomax distribution as evaluated at the VGAM package.

Usage

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

Arguments

y

observed data

a1

scale parameter

a2

shape parameter

c_under

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

Details

The Lomax distribution is a special case of the 4-parameter generalized beta II 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

Thomas W. Yee (2015). Vector Generalized Linear and Additive Models: With an Implementation in R. New York, USA: Springer.

See Also

dlomax

Examples

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

bayesCureRateModel documentation built on Oct. 4, 2024, 1:07 a.m.