a_t_one {ddtlcm}R Documentation

Compute divergence function

Description

Compute value, cumulative hazard, and inverse for divergence function a(t) = c / (1-t)

Usage

a_t_one(c, t)

a_t_one_cum(c, t)

A_t_inv_one(c, y)

Arguments

c

a positive number for the divergence hyperparameter. A larger value implies earlier divergence on the tree

t

a number in the interval (0, 1) indicating the divergence time

y

a positive number to take inverse

Value

The value and cumulative hazard return a positive number. The inverse function returns a number in the interval (0, 1).

Functions

See Also

Other divergence functions: a_t_two()

Examples

a_t_one(1, 0.5)
a_t_one_cum(1, 0.5)
A_t_inv_one(1, 2)

[Package ddtlcm version 0.2.1 Index]