Skip to contents

We assume that the hazard rate is a function of time and any other predictors. We also assume that intergate(rate(t), 0, Inf) = infinity and that the support is (0, Inf).

Usage

dfr_dist(rate, par = NULL, eps = 0.01)

Arguments

rate

A function that computes the hazard rate at time t.

par

The parameters of the distribution. Defaults to NULL, which means that the parameters are unknown.

eps

The epsilon update for numerical integration. Defaults to 0.01.

Value

A dfr_dist object.