This bijector maps inputs from [-inf, inf] to [0, inf]. The inverse of the bijector applied to a uniform random variable X ~ U(0, 1) gives back a random variable with the Gompertz distribution:

Y ~ GompertzCDF(concentration, rate)
pdf(y; c, r) = r * c * exp(r * y + c - c * exp(-c * exp(r * y)))

Note: Because the Gompertz distribution concentrates its mass close to zero, for larger rates or larger concentrations, bijector.forward will quickly saturate to 1.

tfb_gompertz_cdf(
  concentration,
  rate,
  validate_args = FALSE,
  name = "gompertz_cdf"
)

Arguments

concentration

Positive Float-like Tensor that is the same dtype and is broadcastable with concentration. This is c in Y = g(X) = 1 - exp(-c * (exp(rate * X) - 1).

rate

Positive Float-like Tensor that is the same dtype and is broadcastable with concentration. This is rate in Y = g(X) = 1 - exp(-c * (exp(rate * X) - 1).

validate_args

Logical, default FALSE. Whether to validate input with asserts. If validate_args is FALSE, and the inputs are invalid, correct behavior is not guaranteed.

name

name prefixed to Ops created by this class.

Value

a bijector instance.

See also